IMFSourceReaderCallback Interface

Callback interface for the Microsoft Media Foundation source reader.

Syntax

interface IMFSourceReaderCallback : public IUnknown  

Remarks

When to implement

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

Use the MF_SOURCE_READER_ASYNC_CALLBACK attribute to set the callback pointer when you first create the source reader object.

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

If you do not specify a callback pointer, the source reader operates synchronously.

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

Requirements

Header: Declared in mfreadwrite.h.