Bewerken

Delen via


UcmConnectorPdConnectionStateChanged function (ucmmanager.h)

Notifies the USB connector manager framework extension (UcmCx) with the connection capabilities of the currently negotiated PD contract (if any).

Syntax

NTSTATUS UcmConnectorPdConnectionStateChanged(
  [in] UCMCONNECTOR                                Connector,
  [in] PUCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS Params
);

Parameters

[in] Connector

Handle to the connector object that the client driver received in the previous call to UcmConnectorCreate.

[in] Params

Pointer to a UCM_CONNECTOR_PD_CONN_STATE_CHANGED_PARAMS structure contains driver-supplied state of the connector.

Return value

UcmConnectorPdConnectionStateChanged returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method can return an appropriate NTSTATUS value.

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)
Library UcmCxstub.lib
IRQL PASSIVE_LEVEL

See also

UcmConnectorCreate