IMediaTransform::get_InputCount

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

Syntax

HRESULT get_InputCount(
  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 Values

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

Client: Windows Vista

Header: Include gputransformplugin.h and GPUPipelineTime.h.

Library: Use GPUPipelineVC7.lib (for Visual Studio .NET) or GPUPipelineVC8.lib (for Visual Studio 2005).

See Also