// usbpmapi.h
VOID USBPM_CLIENT_CONFIG_INIT(
[Out] PUSBPM_CLIENT_CONFIG ClientConfig,
[In] ULONG AccessDesired,
[In] PFN_USBPM_EVENT_CALLBACK EventCallback,
[In] PUSBPM_CLIENT_CONFIG_EXTRA_INFO ExtraInfo
);
View the official Windows Driver Kit DDI referenceNo description available.
Initializes a USBPM_CLIENT_CONFIG structure. The client driver must call this function before calling UsbPm_Register.
ClientConfig [Out]A pointer to a USBPM_CLIENT_CONFIG to initialize.
AccessDesired [In]A bitwise-OR of the flags defined by the USBPM_ACCESS_TYPE enumeration that indicates the type of access the client driver requires.
EventCallback [In]A pointer to the EVT_USBPM_EVENT_CALLBACK callback function implemented by the client driver.
ExtraInfo [In]A pointer to a USBPM_CLIENT_CONFIG_EXTRA_INFO structure that contains optional information such as the WDM device object.