IMFTopologyNode::DisconnectOutput method (mfidl.h)

Disconnects an output stream on this node.

Syntax

HRESULT DisconnectOutput(
  [in] DWORD dwOutputIndex
);

Parameters

[in] 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

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

IMFTopologyNode

Topologies