IMFTransform::GetStreamCount method (mftransform.h)
Gets the current number of input and output streams on this Media Foundation transform (MFT).
HRESULT GetStreamCount( [out] DWORD *pcInputStreams, [out] DWORD *pcOutputStreams );
Receives the number of input streams.
Receives the number of output streams.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The number of streams includes unselected streams—that is, streams with no media type or a NULL media type.
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 MFTGetStreamCount. See Creating Hybrid DMO/MFT Objects.
|Minimum supported client||Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 [desktop apps | UWP apps]|