MFCreateTopologyNode function (mfidl.h)

Creates a topology node.

Syntax

HRESULT MFCreateTopologyNode(
  [in]  MF_TOPOLOGY_TYPE NodeType,
  [out] IMFTopologyNode  **ppNode
);

Parameters

[in] NodeType

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

[out] 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

Requirement Value
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