MFCreateTopologyNode function

Creates a topology node.

Syntax

HRESULT MFCreateTopologyNode(
  MF_TOPOLOGY_TYPE NodeType,
  IMFTopologyNode  **ppNode
);

Parameters

NodeType

The type of node to create, specified as a member of the MF_TOPOLOGY_TYPE enumeration.

ppNode

Receives a pointer to the node's IMFTopologyNode interface. The caller must release the interface.

Return Value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h
Library Mf.lib
DLL Mf.dll

See Also

Creating Output Nodes

Creating Source Nodes

Creating Transform Nodes

IMFTopologyNode

Media Foundation Functions

Topologies