UCM_POWER_ROLE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ucmtypes.h

typedef enum _UCM_POWER_ROLE {
  UcmPowerRoleInvalid,
  UcmPowerRoleSink,
  UcmPowerRoleSource
} UCM_POWER_ROLE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-ucmtypes-_ucm_power_role)

_UCM_POWER_ROLE enumeration

Description

Defines power roles of USB Type-C connected devices.

Constants

UcmPowerRoleInvalid

Indicates the power role state is invalid.

UcmPowerRoleSink

Indicates the power role is set to sink power.

UcmPowerRoleSource

Indicates the power role is set to source power.

See also

EVT_UCM_CONNECTOR_SET_POWER_ROLE

UCM_CONNECTOR_PD_CONFIG

UcmConnectorPowerDirectionChanged