IMFTopologyNode::GetInputCount method (mfidl.h)

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

Syntax

HRESULT GetInputCount(
  [out] DWORD *pcInputs
);

Parameters

[out] pcInputs

Receives the number of input 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 input streams may or may not be connected to output streams on other nodes. To get the node that is connected to a specified input stream, call IMFTopologyNode::GetInput.

The IMFTopologyNode::ConnectOutput and IMFTopologyNode::SetInputPrefType 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