UcmUcsiConnectorCollectionAddConnector function (Ucmucsippm.h)

Adds a connector to the connector collection object.

Syntax

NTSTATUS UcmUcsiConnectorCollectionAddConnector(
  [in] UCMUCSI_CONNECTOR_COLLECTION ConnectorCollectionObject,
  [in] PUCMUCSI_CONNECTOR_INFO      ConnectorInfo
);

Parameters

[in] ConnectorCollectionObject

The handle to the connector collection object that the client driver retrieved in a previous call to UcmUcsiConnectorCollectionCreate.

[in] ConnectorInfo

A pointer to a UCMUCSI_CONNECTOR_INFO structure that contains information about the connector to add.

Return value

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

Remarks

The client driver must not call UcmUcsiConnectorCollectionAddConnector after UcmUcsiPpmCreate because it would have no effect on the already existing PPM object.

Requirements

Requirement Value
Minimum KMDF version 1.27
Minimum UMDF version N/A
Header Ucmucsippm.h (include UcmUcsiCx.h)
Library UcmUcsiCxStub.lib
IRQL PASSIVE_LEVEL

See also

UCMUCSI_CONNECTOR_INFO

UcmUcsiConnectorCollectionCreate

UcmUcsiPpmCreate