// usbpmapi.h
VOID USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS_INIT(
[Out] PUSBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS Params,
[In] USBC_POWER_ROLE PowerRole,
[In] USBPM_ASSIGN_POWER_LEVEL_PARAMS_FORMAT Format
);
View the official Windows Driver Kit DDI referenceNo description available.
Initializes a USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS structure. The client driver must call this function before calling UsbPm_AssignConnectorPowerLevel.
Params [Out]A pointer to a USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS structure to initialize.
PowerRole [In]The USB Type-C power role of the connector to set. The values are defined in the USBC_POWER_ROLE enumeration.
Format [In]The USB Type-C format, defined in USBPM_ASSIGN_POWER_LEVEL_PARAMS_FORMAT