// ucmmanager.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
Describes the configuration options for a Type-C connector.
SizeSize of the UCM_CONNECTOR_TYPEC_CONFIG structure.
IsSupportedTRUE indicates a Type-C connector. FALSE, otherwise. is supported.
SupportedOperatingModesIndicates the supported operating mode of the connector. This value is a bitwise OR of UCM_TYPEC_OPERATING_MODE-typed flags.
SupportedPowerSourcingCapabilitiesIndicates the supported power source capabilities of the connector. This value is a bitwise OR of UCM_TYPEC_CURRENT-typed flags.
AudioAccessoryCapableIndicates whether the connector is capable of detecting a USB Type-C analog input as 3.5 mm audio jack.
EvtSetDataRoleA pointer to the client driver's implementation of the EVT_UCM_CONNECTOR_SET_DATA_ROLE callback function.
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.