UCM_CONNECTOR_PD_CONFIG - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ucmmanager.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ucmmanager-_ucm_connector_pd_config)

_UCM_CONNECTOR_PD_CONFIG structure

Description

Describes the Power Delivery 2.0 capabilities of the connector.

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.

See also

UcmConnectorCreate