Jegyzet
Az oldalhoz való hozzáférés engedélyezést igényel. Próbálhatod be jelentkezni vagy könyvtárat váltani.
Az oldalhoz való hozzáférés engedélyezést igényel. Megpróbálhatod a könyvtár váltását.
Creates an instance of either the sink writer or the source reader.
Inheritance
The IMFReadWriteClassFactory interface inherits from the IUnknown interface. IMFReadWriteClassFactory also has these types of members:
Methods
The IMFReadWriteClassFactory interface has these methods.
| IMFReadWriteClassFactory::CreateInstanceFromObject Creates an instance of the sink writer or source reader, given an IUnknown pointer. |
| IMFReadWriteClassFactory::CreateInstanceFromURL Creates an instance of the sink writer or source reader, given a URL. |
Remarks
To get a pointer to this interface, call the CoCreateInstance function. The CLSID is CLSID_MFReadWriteClassFactory. Call the MFStartup function before using the interface.
As an alternative to using this interface, you can call any of the following functions:
- MFCreateSinkWriterFromMediaSink
- MFCreateSinkWriterFromURL
- MFCreateSourceReaderFromByteStream
- MFCreateSourceReaderFromMediaSource
- MFCreateSourceReaderFromURL
This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.
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 |