IMFReadWriteClassFactory interface
Creates an instance of either the sink writer or the source reader.
Members
The IMFReadWriteClassFactory interface inherits from the IUnknown interface. IMFReadWriteClassFactory also has these types of members:
Methods
The IMFReadWriteClassFactory interface has these methods.
| Method | Description |
|---|---|
| CreateInstanceFromObject |
Creates an instance of the sink writer or source reader, given an IUnknown pointer. |
| 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
Internally, these functions use the IMFReadWriteClassFactory interface.
This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.
Requirements
|
Minimum supported client |
Windows 7, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
See also