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:mfreadwrite.IMFSourceReader.GetCurrentMediaType |
IMFSourceReader::GetCurrentMediaType (mfreadwrite.h) |
Gets the current media type for a stream. |
|
mf\imfsourcereader_getcurrentmediatype.htm |
mf |
c0fe3b34-42ad-45e4-812d-679bbe01a200 |
12/05/2018 |
GetCurrentMediaType, GetCurrentMediaType method [Media Foundation], GetCurrentMediaType method [Media Foundation],IMFSourceReader interface, IMFSourceReader interface [Media Foundation],GetCurrentMediaType method, IMFSourceReader.GetCurrentMediaType, IMFSourceReader::GetCurrentMediaType, MF_SOURCE_READER_FIRST_AUDIO_STREAM, MF_SOURCE_READER_FIRST_VIDEO_STREAM, mf.imfsourcereader_getcurrentmediatype, mfreadwrite/IMFSourceReader::GetCurrentMediaType |
mfreadwrite.h |
Windows |
Windows 7, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps \| UWP apps] |
Windows Server 2008 R2 [desktop apps \| UWP apps] |
Windows |
19H1 |
|
|
|
|
|
|
Gets the current media type for a stream.
The stream to query. The value can be any of the following.
Receives a pointer to the IMFMediaType interface. The caller must release the interface.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The dwStreamIndex parameter is invalid. |
This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.