KsFilterAddTopologyConnections - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

KSDDKAPI NTSTATUS KsFilterAddTopologyConnections(
  [in] PKSFILTER                           Filter,
  [in] ULONG                               NewConnectionsCount,
  [in] const KSTOPOLOGY_CONNECTION * const NewTopologyConnections
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksfilteraddtopologyconnections)

KsFilterAddTopologyConnections function

Description

The KsFilterAddTopologyConnections function adds new topology connections to a filter.

Parameters

Filter [in]

A pointer to the KSFILTER to which to add the new connections.

NewConnectionsCount [in]

The number of connections in NewTopologyConnections.

NewTopologyConnections [in]

A pointer to an array of KSTOPOLOGY_CONNECTION structures containing the new topology connections.

Return value

KsFilterAddTopologyConnections returns STATUS_SUCCESS or an error code indicating failure of the attempt to add topology connections.

Remarks

Note that the filter control mutex must be held before calling this function.

For more information about mutexes, see Mutexes in AVStream.

See also

KSFILTER

KSTOPOLOGY_CONNECTION