IMFSinkWriterCallback interface (mfreadwrite.h)

Callback interface for the Microsoft Media Foundation sink writer.


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


The IMFSinkWriterCallback interface has these methods.


Called when the IMFSinkWriter::Finalize method completes.

Called when the IMFSinkWriter::PlaceMarker method completes.


Set the callback pointer by setting the MF_SINK_WRITER_ASYNC_CALLBACK attribute when you first create the sink writer.

The callback methods can be called from any thread, so an object that implements this interface must be thread-safe.

This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.


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