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.

Members

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

Methods

The IMFTopologyNode interface has these methods.

MethodDescription
CloneFrom

Copies the data from another topology node into this node.

ConnectOutput

Connects an output stream from this node to the input stream of another node.

DisconnectOutput

Disconnects an output stream on this node.

GetInput

Retrieves the node that is connected to a specified input stream on this node.

GetInputCount

Retrieves the number of input streams that currently exist on this node.

GetInputPrefType

Retrieves the preferred media type for an input stream on this node.

GetNodeType

Returns the node type.

GetObject

Retrieves the object associated with this node.

GetOutput

Retrieves the node that is connected to a specified output stream on this node.

GetOutputCount

Retrieves the number of output streams that currently exist on this node.

GetOutputPrefType

Retrieves the preferred media type for an output stream on this node.

GetTopoNodeID

Retrieves the identifier of the node.

RemoteGetInputPrefType

Remotable version of GetInputPrefType. (Not used by applications.)

RemoteGetOutputPrefType

Remotable version of GetOutputPrefType. (Not used by applications.)

SetInputPrefType

Sets the preferred media type for an input stream on this node.

SetObject

Sets the object associated with this node.

SetOutputPrefType

Sets the preferred media type for an output stream on this node.

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]

Header

Mfidl.h

Library

Mfuuid.lib

See also

Media Foundation Interfaces
Topologies
Topology Node Attributes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft