IMFTopology::AddNode method (mfidl.h)

Adds a node to the topology.

Syntax

HRESULT AddNode(
  [in] IMFTopologyNode *pNode
);

Parameters

[in] pNode

Pointer to the node's IMFTopologyNode interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_INVALIDARG
pNode is invalid, possibly because the node already exists in the topology.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

IMFTopology

Topologies