IMFSinkWriter interface

Implemented by the Microsoft Media Foundation sink writer object.

Inheritance

The IMFSinkWriter interface inherits from the IUnknown interface. IMFSinkWriter also has these types of members:

Methods

The IMFSinkWriter interface has these methods.

Method Description
IMFSinkWriter::AddStream Adds a stream to the sink writer.
IMFSinkWriter::BeginWriting Initializes the sink writer for writing.
IMFSinkWriter::Finalize Completes all writing operations on the sink writer.
IMFSinkWriter::Flush Flushes one or more streams.
IMFSinkWriter::GetServiceForStream Queries the underlying media sink or encoder for an interface.
IMFSinkWriter::GetStatistics Gets statistics about the performance of the sink writer.
IMFSinkWriter::NotifyEndOfSegment Notifies the media sink that a stream has reached the end of a segment.
IMFSinkWriter::PlaceMarker Places a marker in the specified stream.
IMFSinkWriter::SendStreamTick Indicates a gap in an input stream.
IMFSinkWriter::SetInputMediaType Sets the input format for a stream on the sink writer.
IMFSinkWriter::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 | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header mfreadwrite.h

See also

Media Foundation Interfaces

Sink Writer