IMFSinkWriterCallback Interface

Callback interface for the Microsoft Media Foundation sink writer.

Syntax

interface IMFSinkWriterCallback : public IUnknown  

Remarks

When to implement

Implement this interface if you use the IMFSinkWriter interface and want to receive asynchronous notifications.

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

Header: Declared in mfreadwrite.h.