Skip to main content
IMFTopology interface

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.

Members

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

Methods

The IMFTopology interface has these methods.

MethodDescription
AddNode

Adds a node to the topology.

Clear

Removes all nodes from the topology.

CloneFrom

Converts this topology into a copy of another topology.

GetNode

Gets a node in the topology, specified by index.

GetNodeByID

Gets a node in the topology, specified by node identifier.

GetNodeCount

Gets the number of nodes in the topology.

GetOutputNodeCollection

Gets the output nodes in the topology.

GetSourceNodeCollection

Gets the source nodes in the topology.

GetTopologyID

Gets the identifier of the topology.

RemoveNode

Removes a node from the topology.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

Media Foundation Interfaces
Topologies
Topology Attributes