IMFTopology::RemoveNode method

Removes a node from the topology.

Syntax


HRESULT RemoveNode(
  [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

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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft