UCM_POWER_ROLE enumeration (ucmtypes.h)

Defines power roles of USB Type-C connected devices.

Syntax

typedef enum _UCM_POWER_ROLE {
  UcmPowerRoleInvalid,
  UcmPowerRoleSink,
  UcmPowerRoleSource
} UCM_POWER_ROLE;

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.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Minimum KMDF version 1.15
Minimum UMDF version 2.15
Header ucmtypes.h (include Ucmcx.h)

See also

EVT_UCM_CONNECTOR_SET_POWER_ROLE

UCM_CONNECTOR_PD_CONFIG

UcmConnectorPowerDirectionChanged