IMFSourceReader interface (mfreadwrite.h)
Implemented by the Microsoft Media Foundation source reader object.
Inheritance
The IMFSourceReader interface inherits from the IUnknown interface. IMFSourceReader also has these types of members:
Methods
The IMFSourceReader interface has these methods.
IMFSourceReader::Flush Flushes one or more streams. (IMFSourceReader.Flush) |
IMFSourceReader::GetCurrentMediaType Gets the current media type for a stream. |
IMFSourceReader::GetNativeMediaType Gets a format that is supported natively by the media source. |
IMFSourceReader::GetPresentationAttribute Gets an attribute from the underlying media source. |
IMFSourceReader::GetServiceForStream Queries the underlying media source or decoder for an interface. |
IMFSourceReader::GetStreamSelection Queries whether a stream is selected. |
IMFSourceReader::ReadSample Reads the next sample from the media source. |
IMFSourceReader::SetCurrentMediaType Sets the media type for a stream. |
IMFSourceReader::SetCurrentPosition Seeks to a new position in the media source. |
IMFSourceReader::SetStreamSelection Selects or deselects one or more streams. |
Remarks
To create the source reader, call one of the following functions:
Alternatively, use the IMFReadWriteClassFactory interface.This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.
In Windows 8, this interface is extended with IMFSourceReaderEx.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfreadwrite.h |