Bewerken

Delen via


UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS structure (ucmmanager.h)

Describes the parameters for PD connection changed event.

Syntax

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;

Members

Size

Size of the UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS structure.

PdConnState

The state of the connector indicated by one of the UCM_PD_CONN_STATE-typed flags.

Rdo

An initialized UCM_PD_REQUEST_DATA_OBJECT structure that describes the characteristics of the new connection state.

ChargingState

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

Remarks

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.

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

UcmConnectorPdConnectionStateChanged

UcmConnectorTypeCAttach