// usbpmapi.h
typedef enum _USBPM_EVENT_TYPE {
UsbPmEventPolicyManagerArrival,
UsbPmEventPolicyManagerRemoval,
UsbPmEventHubArrival,
UsbPmEventHubRemoval,
UsbPmEventConnectorStateChange
} USBPM_EVENT_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
Defines values for types of events. This enumeration is used in the EVT_USBPM_EVENT_CALLBACK callback function.
UsbPmEventPolicyManagerArrivalThe Policy Manager has arrived. This is the first callback event after client registration.
UsbPmEventPolicyManagerRemovalThe Policy Manager has left.
UsbPmEventHubArrivalA new connector hub has arrived.
UsbPmEventHubRemovalA connector hub has been removed.
UsbPmEventConnectorStateChangeThe connector state has changed.