UCSI_GET_CONNECTOR_CAPABILITY_IN - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ucmucsispec-_ucsi_get_connector_capability_in)

_UCSI_GET_CONNECTOR_CAPABILITY_IN structure

Description

Used in the GET_CONNECTOR_CAPABILITY command.

Members

OperationMode

This field indicates the mode that the connector can support.

OperationMode.AsUInt8

For internal use.

OperationMode.DfpOnly

Indicates that the connector supports only DFP mode.

OperationMode.UfpOnly

Indicates that the connector supports only UFP mode.

OperationMode.Drp

Indicates that the connector supports DRP mode.

OperationMode.AudioAccessoryMode

Indicates that the connector supports audio accessory mode.

OperationMode.DebugAccessoryMode

Indicates that the connector supports debug accessory mode.

OperationMode.Usb2

Indicates that the connector supports USB2 mode.

OperationMode.Usb3

Indicates that the connector supports USB3 mode.

OperationMode.AlternateMode

Indicates that the connector supports an alternate mode.

Provider

Indicates that the connector is capable of providing power.

Consumer

Indicates that the connector is capable of consuming power.

SwapToDfp

Indicates that the connector is capable of accepting swap to DFP.

SwapToUfp

Indicates that the connector is capable of accepting swap to UFP.

SwapToSrc

Indicates that the connector is capable of accepting swap to SRC.

SwapToSnk

Indicates that the connector is capable of accepting swap to SNK.

Remarks

See Table 4-17 in UCSI spec version 1.2.

See also