IMFTopology::AddNode method

Adds a node to the topology.

Syntax


HRESULT AddNode(
  [in] IMFTopologyNode *pNode
);

Parameters

pNode [in]

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 codeDescription
S_OK

The method succeeded.

E_INVALIDARG

pNode is invalid, possibly because the node already exists in the topology.

 

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

IMFTopology
Topologies

 

 

Show: