// usbpmapi.h
typedef enum _USBPM_ACCESS_TYPE {
UsbPmAccessQuery,
UsbPmAccessAssignConnectorPowerLevel,
UsbPmAccessAll
} USBPM_ACCESS_TYPE, *PUSBPM_ACCESS_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
Defines the access types that the client driver can specify in USBPM_CLIENT_CONFIG when calling UsbPm_Register.
UsbPmAccessQueryAccess for calling UsbPm_Retrieve* functions.
UsbPmAccessAssignConnectorPowerLevelAccess for calling UsbPm_AssignConnectorPowerLevelAsync.
UsbPmAccessAllAccess to all functions.