USBPM_EVENT_TYPE enumeration (usbpmapi.h)
Defines values for types of events. This enumeration is used in the EVT_USBPM_EVENT_CALLBACK callback function.
Syntax
typedef enum _USBPM_EVENT_TYPE {
UsbPmEventPolicyManagerArrival,
UsbPmEventPolicyManagerRemoval,
UsbPmEventHubArrival,
UsbPmEventHubRemoval,
UsbPmEventConnectorStateChange
} USBPM_EVENT_TYPE;
Constants
UsbPmEventPolicyManagerArrival The Policy Manager has arrived. This is the first callback event after client registration. |
UsbPmEventPolicyManagerRemoval The Policy Manager has left. |
UsbPmEventHubArrival A new connector hub has arrived. |
UsbPmEventHubRemoval A connector hub has been removed. |
UsbPmEventConnectorStateChange The connector state has changed. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 |
Minimum KMDF version | 1.27 |
Minimum UMDF version | 2.27 |
Header | usbpmapi.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for