VirtualBox Main API

Public Attributes | List of all members
IStorageDeviceChangedEvent Interface Reference

Notification when a storage device is attached or removed. More...

Inheritance diagram for IStorageDeviceChangedEvent:

## Public Attributes
readonly attribute IMediumAttachment | storageDevice
| Storage device that is subject to change.
readonly attribute boolean | removed
| Flag whether the device was removed or added to the VM.
readonly attribute boolean | silent
| Flag whether the guest should be notified about the 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 storage device is attached or removed.

Interface ID:
  `{232E9151-AE84-4B8E-B0F3-5C20C35CAAC9}`

## Member Data Documentation

## ◆ storageDevice

readonly attribute IMediumAttachment IStorageDeviceChangedEvent::storageDevice

Storage device that is subject to change.

## ◆ removed

readonly attribute boolean IStorageDeviceChangedEvent::removed

Flag whether the device was removed or added to the VM.

## ◆ silent

readonly attribute boolean IStorageDeviceChangedEvent::silent

Flag whether the guest should be notified about the change.