IMFTopology::RemoveNode method (mfidl.h)

Removes a node from the topology.

Syntax

HRESULT RemoveNode(
  [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
The specified node is not a member of this topology.

Remarks

This method does not destroy the node, so the IMFTopologyNode pointer is still valid after the method returns.

The method breaks any connections between the specified node and other nodes.

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