USBPM_CLIENT_CONFIG structure (usbpmapi.h)
The configuration structure used in the registering the client driver with the Policy Manager. This structure is used in the UsbPm_Register call.
Syntax
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;
Members
Version
Version of this structure.
AccessDesired
A bitwise-OR of the USBPM_ACCESS_TYPE values.
EventCallback
A pointer to the client driver's implementation of the USBPM_EVENT_CALLBACK callback function.
Context
A driver-defined context structure.
ExtraInfo
A pointer to a USBPM_CLIENT_CONFIG_EXTRA_INFO structure that contains additional information, such as the WDM device object associated with the client driver.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 |
Minimum KMDF version | 1.27 |
Minimum UMDF version | 2.27 |
Header | usbpmapi.h |