UCM_CONNECTOR_TYPEC_CONFIG structure (ucmmanager.h)

Describes the configuration options for a Type-C connector.

Syntax

typedef struct _UCM_CONNECTOR_TYPEC_CONFIG {
  ULONG                           Size;
  BOOLEAN                         IsSupported;
  ULONG                           SupportedOperatingModes;
  ULONG                           SupportedPowerSourcingCapabilities;
  BOOLEAN                         AudioAccessoryCapable;
  PFN_UCM_CONNECTOR_SET_DATA_ROLE EvtSetDataRole;
} UCM_CONNECTOR_TYPEC_CONFIG, *PUCM_CONNECTOR_TYPEC_CONFIG;

Members

Size

Size of the UCM_CONNECTOR_TYPEC_CONFIG structure.

IsSupported

TRUE indicates a Type-C connector. FALSE, otherwise. is supported.

SupportedOperatingModes

Indicates the supported operating mode of the connector. This value is a bitwise OR of UCM_TYPEC_OPERATING_MODE-typed flags.

SupportedPowerSourcingCapabilities

Indicates the supported power source capabilities of the connector. This value is a bitwise OR of UCM_TYPEC_CURRENT-typed flags.

AudioAccessoryCapable

Indicates whether the connector is capable of detecting a USB Type-C analog input as 3.5 mm audio jack.

EvtSetDataRole

A pointer to the client driver's implementation of the EVT_UCM_CONNECTOR_SET_DATA_ROLE callback function.

Remarks

Initialize this structure by calling UCM_CONNECTOR_TYPEC_CONFIG_INIT. An initialized UCM_CONNECTOR_TYPEC_CONFIG structure is an input parameter value to UcmConnectorCreate that is used by Policy Manager to create a connector object.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Minimum KMDF version 1.15
Minimum UMDF version 2.15
Header ucmmanager.h (include Ucmcx.h)

See also

UcmConnectorCreate