UcmConnectorTypeCDetach function (ucmmanager.h)

Notifies the USB connector manager framework extension (UcmCx) when the partner connector detaches from the specified Type-C connector.

Syntax

NTSTATUS UcmConnectorTypeCDetach(
  [in] UCMCONNECTOR Connector
);

Parameters

[in] Connector

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

Return value

UcmConnectorTypeCDetach 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

UcmConnectorTypeCAttach