// usbctypes.h
typedef enum _USBC_POWER_ROLE {
UsbCPowerRoleInvalid,
UsbCPowerRoleSink,
UsbCPowerRoleSource
} USBC_POWER_ROLE;
View the official Windows Driver Kit DDI referenceNo description available.
Defines power roles of USB Type-C connected devices.
UsbCPowerRoleInvalidIndicates the power role state is invalid.
UsbCPowerRoleSinkIndicates the power role is set to sink power.
UsbCPowerRoleSourceIndicates the power role is set to source power.