USBPM_CLIENT_CONFIG - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-usbpmapi-_usbpm_client_config)

_USBPM_CLIENT_CONFIG structure

Description

The configuration structure used in the registering the client driver with the Policy Manager. This structure is used in the UsbPm_Register call.

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.

Remarks

See also

UsbPm_Register