UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS_INIT function (ucmmanager.h)

Initializes a UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS structure.

Syntax

void UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS_INIT(
  [out] PUCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS Params,
  [in]  UCM_PD_CONN_STATE                           PdConnState
);

Parameters

[out] Params

Pointer to a caller-allocated UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS structure to initialize.

[in] PdConnState

A UCM_PD_CONN_STATE-typed flag that indicates the connection state of the partner port.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Minimum KMDF version 1.15
Minimum UMDF version 2.15
Header ucmmanager.h (include Ucmcx.h)

See also

UcmConnectorPdConnectionStateChanged