Bewerken

Delen via


UCM_CONNECTOR_PD_CONFIG_INIT function (ucmmanager.h)

Initializes a UCM_CONNECTOR_PD_CONFIG structure.

Syntax

void UCM_CONNECTOR_PD_CONFIG_INIT(
  [out] PUCM_CONNECTOR_PD_CONFIG Config,
  [in]  ULONG                    SupportedPowerRoles
);

Parameters

[out] Config

Pointer to a caller-allocated UCM_CONNECTOR_PD_CONFIG structure to initialize.

[in] SupportedPowerRoles

A bitwise OR of UCM_POWER_ROLE-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)

See also

UcmConnectorCreate