// ks.h
KSDDKAPI NTSTATUS KsFilterAddTopologyConnections(
[in] PKSFILTER Filter,
[in] ULONG NewConnectionsCount,
[in] const KSTOPOLOGY_CONNECTION * const NewTopologyConnections
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsFilterAddTopologyConnections function adds new topology connections to a filter.
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.
KsFilterAddTopologyConnections returns STATUS_SUCCESS or an error code indicating failure of the attempt to add topology connections.
Note that the filter control mutex must be held before calling this function.
For more information about mutexes, see Mutexes in AVStream.