Gets the current number of input and output streams on this Media Foundation transform (MFT).
public:
HRESULT GetStreamCount(
DWORD *pcInputStreams,
DWORD *pcOutputStreams
)
pcInputStreams
Type: DWORD *
[out] Receives the number of input streams.
pcOutputStreams
Type: DWORD *
[out] Receives the number of output streams.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Refer to Media Foundation return codes.
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.
Header: Declared in mftransform.h.
Library: Use Mfuuid.lib.