IMFSinkWriterCallback interface

Callback interface for the Microsoft Media Foundation sink writer.

Inheritance

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

Methods

The IMFSinkWriterCallback interface has these methods.

Method Description
IMFSinkWriterCallback::OnFinalize Called when the IMFSinkWriter::Finalize method completes.
IMFSinkWriterCallback::OnMarker Called when the IMFSinkWriter::PlaceMarker method completes.

Remarks

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.

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