IMFDeviceTransform::GetStreamCount method (mftransform.h)
The GetStreamCount method gets the current number of input and output streams on this Media Foundation transform (MFT).
Syntax
HRESULT GetStreamCount(
[out] DWORD *pcInputStreams,
[out] DWORD *pcOutputStreams
);
Parameters
[out] pcInputStreams
Receives the number of input streams.
[out] pcOutputStreams
Receives the number of output streams.
Return value
The method returns an HRESULT. Possible values include, but are not limited to the values given in the following table.
Return code | Description |
---|---|
|
Transitioning the stream state succeeded. |
|
Invalid pointer passed. |
Remarks
This function is used by DTM to get the number of streams supported by the Device MFT. The number of streams include unselected streams., fore example, streams with no media type or a NULL media type.
This method would not be called with NULL parameters.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 |
Target Platform | Windows |
Header | mftransform.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for