Skip to content

Latest commit

 

History

History
100 lines (70 loc) · 3.75 KB

nf-mftransform-imftransform-getstreamlimits.md

File metadata and controls

100 lines (70 loc) · 3.75 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mftransform.IMFTransform.GetStreamLimits
IMFTransform::GetStreamLimits (mftransform.h)
Gets the minimum and maximum number of input and output streams for this Media Foundation transform (MFT).
4d9585f0-5818-4e7f-925c-4c50ae6a6edc
GetStreamLimits
GetStreamLimits method [Media Foundation]
GetStreamLimits method [Media Foundation]
IMFTransform interface
IMFTransform interface [Media Foundation]
GetStreamLimits method
IMFTransform.GetStreamLimits
IMFTransform::GetStreamLimits
mf.imftransform_getstreamlimits
mftransform/IMFTransform::GetStreamLimits
mf\imftransform_getstreamlimits.htm
mf
4d9585f0-5818-4e7f-925c-4c50ae6a6edc
12/05/2018
4d9585f0-5818-4e7f-925c-4c50ae6a6edc, GetStreamLimits, GetStreamLimits method [Media Foundation], GetStreamLimits method [Media Foundation],IMFTransform interface, IMFTransform interface [Media Foundation],GetStreamLimits method, IMFTransform.GetStreamLimits, IMFTransform::GetStreamLimits, mf.imftransform_getstreamlimits, mftransform/IMFTransform::GetStreamLimits
mftransform.h
Windows
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Mfuuid.lib
Windows
19H1
IMFTransform::GetStreamLimits
mftransform/IMFTransform::GetStreamLimits
c++
APIRef
kbSyntax
COM
mfuuid.lib
mfuuid.dll
IMFTransform.GetStreamLimits

IMFTransform::GetStreamLimits

-description

Gets the minimum and maximum number of input and output streams for this Media Foundation transform (MFT).

-parameters

-param pdwInputMinimum [out]

Receives the minimum number of input streams.

-param pdwInputMaximum [out]

Receives the maximum number of input streams. If there is no maximum, receives the value MFT_STREAMS_UNLIMITED.

-param pdwOutputMinimum [out]

Receives the minimum number of output streams.

-param pdwOutputMaximum [out]

Receives the maximum number of output streams. If there is no maximum, receives the value MFT_STREAMS_UNLIMITED.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

If the MFT has a fixed number of streams, the minimum and maximum values are the same.

It is not recommended to create an MFT that supports zero inputs or zero outputs. An MFT with no inputs or no outputs may not be compatible with the rest of the Media Foundation pipeline. You should create a Media Foundation sink or source for this purpose instead.

When an MFT is first created, it is not guaranteed to have the minimum number of streams. To find the actual number of streams, call IMFTransform::GetStreamCount.

This method should not be called with NULL parameters, although in practice some implementations may allow NULL parameters.

If MFT_UNIQUE_METHOD_NAMES is defined before including mftransform.h, this method is renamed MFTGetStreamLimits. See Creating Hybrid DMO/MFT Objects.

-see-also

IMFTransform

Media Foundation Transforms