IMFTopologyNode::GetOutputCount method (mfidl.h)

Retrieves the number of output streams that currently exist on this node.

Syntax

HRESULT GetOutputCount(
  [out] DWORD *pcOutputs
);

Parameters

[out] pcOutputs

Receives the number of output streams.

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.

Remarks

The output streams may or may not be connected to input streams on other nodes. To get the node that is connected to a specific output stream on this node, call IMFTopologyNode::GetOutput.

The IMFTopologyNode::ConnectOutput and IMFTopologyNode::SetOutputPrefType methods add new input streams as needed.

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