IMFTopologyNode::DisconnectOutput method

Disconnects an output stream on this node.

Syntax

HRESULT DisconnectOutput(
  DWORD dwOutputIndex
);

Parameters

dwOutputIndex

Zero-based index of the output stream to disconnect.

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 dwOutputIndex parameter is out of range.
MF_E_NOT_FOUND
The specified output stream is not connected to another node.

Remarks

If the specified output stream is connected to another node, this method breaks the connection.

Requirements

   
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

IMFTopologyNode

Topologies