UCM_CONNECTOR_PD_CONFIG structure (ucmmanager.h)

Describes the Power Delivery 2.0 capabilities of the connector.

Syntax

typedef struct _UCM_CONNECTOR_PD_CONFIG {
  ULONG                            Size;
  BOOLEAN                          IsSupported;
  ULONG                            SupportedPowerRoles;
  PFN_UCM_CONNECTOR_SET_POWER_ROLE EvtSetPowerRole;
} UCM_CONNECTOR_PD_CONFIG, *PUCM_CONNECTOR_PD_CONFIG;

Members

Size

Size of the UCM_CONNECTOR_PD_CONFIG structure.

IsSupported

If TRUE, a PD role is supported. (Default).

If FALSE, a PD role is not supported.

SupportedPowerRoles

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

EvtSetPowerRole

A pointer to the Policy Manager's implementation of the EVT_UCM_CONNECTOR_SET_POWER_ROLE event callback.

Remarks

Initialize this structure by calling UCM_CONNECTOR_PD_CONFIG_INIT. An initialized UCM_CONNECTOR_TYPEC_CONFIG structure is set to the PdConfig member of the UCM_CONNECTOR_CONFIG structure, which is an input parameter value to UcmConnectorCreate that is called 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