// ucmmanager.h
typedef struct _UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS {
ULONG Size;
UCM_PD_CONN_STATE PdConnState;
UCM_PD_REQUEST_DATA_OBJECT Rdo;
UCM_CHARGING_STATE ChargingState;
} UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS, *PUCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS;
View the official Windows Driver Kit DDI referenceNo description available.
Describes the parameters for PD connection changed event.
SizeSize of the UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS structure.
PdConnStateThe state of the connector indicated by one of the UCM_PD_CONN_STATE-typed flags.
RdoAn initialized UCM_PD_REQUEST_DATA_OBJECT structure that describes the characteristics of the new connection state.
ChargingStateCharging state of the port indicated by one of the UCM_CHARGING_STATE-typed flags.
Initialize this structure by calling UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS_INIT. An initialized UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS structure is an input parameter value to UcmConnectorPdConnectionStateChanged that is used by the client driver to notify UcmCx about the Attached state of the port.
UcmConnectorPdConnectionStateChanged