Expand Minimize

KsFilterAddTopologyConnections function

The KsFilterAddTopologyConnections function adds new topology connections to a filter.

Syntax


NTSTATUS KsFilterAddTopologyConnections(
  _In_  PKSFILTER Filter,
  _In_  ULONG NewConnectionsCount,
  _In_  const KSTOPOLOGY_CONNECTION *NewTopologyConnections
);

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.

Requirements

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

Library

Ks.lib

IRQL

PASSIVE_LEVEL

See also

KSFILTER
KSTOPOLOGY_CONNECTION

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.