UCM_CONNECTOR_TYPEC_ATTACH_PARAMS - NtDoc

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

typedef struct _UCM_CONNECTOR_TYPEC_ATTACH_PARAMS {
  ULONG              Size;
  UCM_TYPEC_PARTNER  Partner;
  UCM_TYPEC_CURRENT  CurrentAdvertisement;
  UCM_CHARGING_STATE ChargingState;
} UCM_CONNECTOR_TYPEC_ATTACH_PARAMS, *PUCM_CONNECTOR_TYPEC_ATTACH_PARAMS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

_UCM_CONNECTOR_TYPEC_ATTACH_PARAMS structure

Description

Describes the partner that is currently attached to the connector.

Members

Size

Size of the UCM_CONNECTOR_TYPEC_ATTACH_PARAMS structure.

Partner

The type of partner attached to the connector, indicated by a UCM_TYPEC_PARTNER value.

CurrentAdvertisement

Power sourcing capabilities of: the partner port when PortPartnerType is UcmTypeCPortStateDfp; the local port when PortPartnerType is not UcmTypeCPortStateDfp.

ChargingState

Optional. Charging state of the port indicated by one of the UCM_CHARGING_STATE-typed flags.

Remarks

Initialize this structure by calling UCM_CONNECTOR_TYPEC_ATTACH_PARAMS_INIT. An initialized UCM_CONNECTOR_TYPEC_ATTACH_PARAMS structure is an input parameter value to UcmConnectorTypeCAttach that is used by the client driver to notify UcmCx about the Attached state of the port.

See also