UCM_CONNECTOR_TYPEC_ATTACH_PARAMS structure (ucmmanager.h)
Describes the partner that is currently attached to the connector.
Syntax
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;
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for