// usbpmapi.h
typedef struct _USBPM_CLIENT_CONFIG {
ULONG Version;
ULONG AccessDesired;
PFN_USBPM_EVENT_CALLBACK EventCallback;
PVOID Context;
PUSBPM_CLIENT_CONFIG_EXTRA_INFO ExtraInfo;
} USBPM_CLIENT_CONFIG, *PUSBPM_CLIENT_CONFIG;
View the official Windows Driver Kit DDI referenceNo description available.
The configuration structure used in the registering the client driver with the Policy Manager. This structure is used in the UsbPm_Register call.
VersionVersion of this structure.
AccessDesiredA bitwise-OR of the USBPM_ACCESS_TYPE values.
EventCallbackA pointer to the client driver's implementation of the USBPM_EVENT_CALLBACK callback function.
ContextA driver-defined context structure.
ExtraInfoA pointer to a USBPM_CLIENT_CONFIG_EXTRA_INFO structure that contains additional information, such as the WDM device object associated with the client driver.