// ucmtypes.h
typedef enum _UCM_POWER_ROLE {
UcmPowerRoleInvalid,
UcmPowerRoleSink,
UcmPowerRoleSource
} UCM_POWER_ROLE;
View the official Windows Driver Kit DDI referenceNo description available.
Defines power roles of USB Type-C connected devices.
UcmPowerRoleInvalidIndicates the power role state is invalid.
UcmPowerRoleSinkIndicates the power role is set to sink power.
UcmPowerRoleSourceIndicates the power role is set to source power.
EVT_UCM_CONNECTOR_SET_POWER_ROLE
UcmConnectorPowerDirectionChanged