Bewerken

Delen via


USBC_PARTNER enumeration (usbctypes.h)

Defines values for the type of connector partner detected on the USB Type-C connector.

Syntax

typedef enum _USBC_PARTNER {
  UsbCPartnerInvalid,
  UsbCPartnerUfp,
  UsbCPartnerDfp,
  UsbCPartnerPoweredCableNoUfp,
  UsbCPartnerPoweredCableWithUfp,
  UsbCPartnerAudioAccessory,
  UsbCPartnerDebugAccessory
} USBC_PARTNER;

Constants

 
UsbCPartnerInvalid
Invalid partner.
UsbCPartnerUfp
The partner is a UFP.
UsbCPartnerDfp
The partner is a DFP.
UsbCPartnerPoweredCableNoUfp
The partner is not a UFP when attached to powered cable.
UsbCPartnerPoweredCableWithUfp
The partner is a UFP when attached to powered cable.
UsbCPartnerAudioAccessory
The partner is an audio adapter accessory.
UsbCPartnerDebugAccessory
The partner is a debug adapter accessory.

Requirements

Requirement Value
Minimum KMDF version 1.27
Minimum UMDF version N/A
Header usbctypes.h (include usbctypes.h)