UCM_CONNECTOR_TYPEC_CONFIG_INIT function (ucmmanager.h)

Initializes the UCM_CONNECTOR_TYPEC_CONFIG structure.

Syntax

void UCM_CONNECTOR_TYPEC_CONFIG_INIT(
  [out] PUCM_CONNECTOR_TYPEC_CONFIG Config,
  [in]  ULONG                       SupportedOperatingModes,
  [in]  ULONG                       SupportedPowerSourcingCapabilities
);

Parameters

[out] Config

Pointer to a caller-allocated UCM_CONNECTOR_TYPEC_CONFIG structure to initialize.

[in] SupportedOperatingModes

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

[in] SupportedPowerSourcingCapabilities

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

Return value

None

Requirements

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