Share via


IMediaTransform::get_InputCount method

The get_InputCount method enables your transform to report the number of source input streams that it can handle.

Syntax

HRESULT get_InputCount(
  [out] DWORD *pdwCount
);

Parameters

pdwCount [out]

DWORD pointer that indicates the number of input streams that the transform can process. For effects, this is 1; for transitions, this is 2.

Return value

The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.

Remarks

All input streams must be of the same type.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
GPUPipelineTime.h
Library
GPUPipelineVC8.lib (Visual Studio 2005);
GPUPipelineVC7.lib (Visual Studio .NET)

See also

IMediaTransform Interface