IMFTopologyNode interface

Represents a node in a topology. The following node types are supported:

  • Output node. Represents a media sink.
  • Source node. Represents a media stream.
  • Transform node. Represents a Media Foundation Transform (MFT).
  • Tee node. Delivers a media stream to two or more nodes.
To create a new node, call the MFCreateTopologyNode function.

Methods

The IMFTopologyNode interface has these methods.

Method Description
IMFTopologyNode::CloneFrom Copies the data from another topology node into this node.
IMFTopologyNode::ConnectOutput Connects an output stream from this node to the input stream of another node.
IMFTopologyNode::DisconnectOutput Disconnects an output stream on this node.
IMFTopologyNode::GetInput Retrieves the node that is connected to a specified input stream on this node.
IMFTopologyNode::GetInputCount Retrieves the number of input streams that currently exist on this node.
IMFTopologyNode::GetInputPrefType Retrieves the preferred media type for an input stream on this node.
IMFTopologyNode::GetNodeType Retrieves the node type.
IMFTopologyNode::GetObject Gets the object associated with this node.
IMFTopologyNode::GetOutput Retrieves the node that is connected to a specified output stream on this node.
IMFTopologyNode::GetOutputCount Retrieves the number of output streams that currently exist on this node.
IMFTopologyNode::GetOutputPrefType Retrieves the preferred media type for an output stream on this node.
IMFTopologyNode::GetTopoNodeID Retrieves the identifier of the node.
IMFTopologyNode::SetInputPrefType Sets the preferred media type for an input stream on this node.
IMFTopologyNode::SetObject Sets the object associated with this node.
IMFTopologyNode::SetOutputPrefType Sets the preferred media type for an output stream on this node.
IMFTopologyNode::SetTopoNodeID Sets the identifier for the node.

Requirements

   
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 Node Attributes