USBPM_ACCESS_TYPE enumeration (usbpmapi.h)

Defines the access types that the client driver can specify in USBPM_CLIENT_CONFIG when calling UsbPm_Register.

Syntax

typedef enum _USBPM_ACCESS_TYPE {
  UsbPmAccessQuery,
  UsbPmAccessAssignConnectorPowerLevel,
  UsbPmAccessAll
} USBPM_ACCESS_TYPE, *PUSBPM_ACCESS_TYPE;

Constants

 
UsbPmAccessQuery
Access for calling UsbPm_Retrieve* functions.
UsbPmAccessAssignConnectorPowerLevel
Access for calling UsbPm_AssignConnectorPowerLevelAsync.
UsbPmAccessAll
Access to all functions.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Minimum KMDF version 1.27
Minimum UMDF version 2.27
Header usbpmapi.h