IMFSinkWriter interface
Implemented by the Microsoft Media Foundation sink writer object.
Members
The IMFSinkWriter interface inherits from the IUnknown interface. IMFSinkWriter also has these types of members:
Methods
The IMFSinkWriter interface has these methods.
| Method | Description |
|---|---|
| AddStream |
Adds a stream to the sink writer. |
| BeginWriting |
Initializes the sink writer for writing. |
| Finalize |
Completes all writing operations on the sink writer. |
| Flush |
Flushes one or more streams. |
| GetServiceForStream |
Queries the underlying media sink or encoder for an interface. |
| GetStatistics |
Gets statistics about the performance of the sink writer. |
| NotifyEndOfSegment |
Notifies the media sink that a stream has reached the end of a segment. |
| PlaceMarker |
Places a marker in the specified stream. |
| SendStreamTick |
Indicates a gap in an input stream. |
| SetInputMediaType |
Sets the input format for a stream on the sink writer. |
| WriteSample |
Delivers a sample to the sink writer. |
Remarks
To create the sink writer, 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 IMFSinkWriterEx.
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