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:
  `{9CEBFC27-C579-4965-8EB7-D31794CD7DCF}`

## 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.