IMFTransform::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
);
Parameter
pcInputStreams [out]
Receives the number of input streams.pcOutputStreams [out]
Receives the number of output streams.
Rückgabewert
Ist Methode erfolgreich, wird "S_OK" zurückgegeben. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.
Hinweise
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.
Anforderungen
Mindestens unterstützter Client |
Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 |
Header |
Mftransform.h |
Bibliothek |
Mfuuid.lib |