Public Attributes

# IHostPCIDevicePlugEvent Interface Reference

Notification when host PCI device is plugged/unplugged. More...

Inheritance diagram for IHostPCIDevicePlugEvent:

List of all members.

## Public Attributes
readonly attribute boolean | plugged
| If device successfully plugged or unplugged.
readonly attribute boolean | success
| If operation was successful, if false - 'message' attribute may be of interest.
readonly attribute IPCIDeviceAttachment | attachment
| Attachment info for this device.
readonly attribute wstring | message
| Optional error message.

## Detailed Description

Notification when host PCI device is plugged/unplugged.

Plugging usually takes place on VM startup, unplug - when IMachine::detachHostPCIDevice is called.

See also:
  IMachine::detachHostPCIDevice

Interface ID:
  `{A0BAD6DF-D612-47D3-89D4-DB3992533948}`

## Member Data Documentation

readonly attribute boolean IHostPCIDevicePlugEvent::plugged

If device successfully plugged or unplugged.

readonly attribute boolean IHostPCIDevicePlugEvent::success

If operation was successful, if false - 'message' attribute may be of interest.

readonly attribute IPCIDeviceAttachment IHostPCIDevicePlugEvent::attachment

Attachment info for this device.

readonly attribute wstring IHostPCIDevicePlugEvent::message

Optional error message.