VirtualBox Main API

Public Attributes | List of all members
IGuestFileStateChangedEvent Interface Reference

Notification when a guest file changed its state. More...

Inheritance diagram for IGuestFileStateChangedEvent:

## Public Attributes
readonly attribute FileStatus | status
| New guest file status.
readonly attribute IVirtualBoxErrorInfo | error
| Error information in case of new session status is indicating an error.
Public Attributes inherited from IGuestFileEvent
readonly attribute IGuestFile | file
| Guest file object which is related to this event.
Public Attributes inherited from IGuestSessionEvent
readonly attribute IGuestSession | session
| Guest session that is subject to change.
Public Attributes inherited from IEvent
readonly attribute VBoxEventType | type
| Event type.
readonly attribute IEventSource | source
| Source of this event.
readonly attribute boolean | waitable
| If we can wait for this event being processed.

## Additional Inherited Members
Public Member Functions inherited from IEvent
void | setProcessed ()
| Internal method called by the system when all listeners of a particular event have called IEventSource::eventProcessed.
void | waitProcessed (in long timeout, [retval] out boolean result)
| Wait until time outs, or this event is processed.

## Detailed Description

Notification when a guest file changed its state.

Interface ID:
  `{D37FE88F-0979-486C-BAA1-3ABB144DC82D}`

## Member Data Documentation

## ◆ status

readonly attribute FileStatus IGuestFileStateChangedEvent::status

New guest file status.

## ◆ error

readonly attribute IVirtualBoxErrorInfo IGuestFileStateChangedEvent::error

Error information in case of new session status is indicating an error.

The attribute IVirtualBoxErrorInfo::resultDetail will contain the runtime (IPRT) error code from the guest. See include/iprt/err.h and include/VBox/err.h for details.