// ucmucsispec.h
typedef struct _UCSI_GET_CONNECTOR_CAPABILITY_IN {
union {
UINT8 AsUInt8;
struct {
UINT8 DfpOnly : 1;
UINT8 UfpOnly : 1;
UINT8 Drp : 1;
UINT8 AudioAccessoryMode : 1;
UINT8 DebugAccessoryMode : 1;
UINT8 Usb2 : 1;
UINT8 Usb3 : 1;
UINT8 AlternateMode : 1;
};
} OperationMode;
UINT8 Provider : 1;
UINT8 Consumer : 1;
UINT8 SwapToDfp : 1;
UINT8 SwapToUfp : 1;
UINT8 SwapToSrc : 1;
UINT8 SwapToSnk : 1;
} UCSI_GET_CONNECTOR_CAPABILITY_IN, *PUCSI_GET_CONNECTOR_CAPABILITY_IN;
View the official Windows Driver Kit DDI referenceNo description available.
Used in the GET_CONNECTOR_CAPABILITY command.
OperationModeThis field indicates the mode that the connector can support.
OperationMode.AsUInt8For internal use.
OperationMode.DfpOnlyIndicates that the connector supports only DFP mode.
OperationMode.UfpOnlyIndicates that the connector supports only UFP mode.
OperationMode.DrpIndicates that the connector supports DRP mode.
OperationMode.AudioAccessoryModeIndicates that the connector supports audio accessory mode.
OperationMode.DebugAccessoryModeIndicates that the connector supports debug accessory mode.
OperationMode.Usb2Indicates that the connector supports USB2 mode.
OperationMode.Usb3Indicates that the connector supports USB3 mode.
OperationMode.AlternateModeIndicates that the connector supports an alternate mode.
ProviderIndicates that the connector is capable of providing power.
ConsumerIndicates that the connector is capable of consuming power.
SwapToDfpIndicates that the connector is capable of accepting swap to DFP.
SwapToUfpIndicates that the connector is capable of accepting swap to UFP.
SwapToSrcIndicates that the connector is capable of accepting swap to SRC.
SwapToSnkIndicates that the connector is capable of accepting swap to SNK.
See Table 4-17 in UCSI spec version 1.2.