IMFTopology interface (mfidl.h)

Represents a topology. A topology describes a collection of media sources, sinks, and transforms that are connected in a certain order. These objects are represented within the topology by topology nodes, which expose the IMFTopologyNode interface. A topology describes the path of multimedia data through these nodes.

To create a topology, call MFCreateTopology.

Inheritance

The IMFTopology interface inherits from IMFAttributes. IMFTopology also has these types of members:

Methods

The IMFTopology interface has these methods.

 
IMFTopology::AddNode

Adds a node to the topology.
IMFTopology::Clear

Removes all nodes from the topology.
IMFTopology::CloneFrom

Converts this topology into a copy of another topology.
IMFTopology::GetNode

Gets a node in the topology, specified by index.
IMFTopology::GetNodeByID

Gets a node in the topology, specified by node identifier.
IMFTopology::GetNodeCount

Gets the number of nodes in the topology.
IMFTopology::GetOutputNodeCollection

Gets the output nodes in the topology.
IMFTopology::GetSourceNodeCollection

Gets the source nodes in the topology.
IMFTopology::GetTopologyID

Gets the identifier of the topology.
IMFTopology::RemoveNode

Removes a node from the topology.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h

See also

IMFAttributes

Media Foundation Interfaces

Topologies

Topology Attributes