USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS_INIT - NtDoc

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

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-usbpmapi-usbpm_assign_connector_power_level_params_init)

USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS_INIT function

Description

Initializes a USBPM_ASSIGN_CONNECTOR_POWER_LEVEL_PARAMS structure. The client driver must call this function before calling UsbPm_AssignConnectorPowerLevel.

Parameters

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

Remarks

See also