Expand Minimize

IMFSinkWriterCallback interface

Callback interface for the Microsoft Media Foundation sink writer.

When to implement

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

Members

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

Methods

The IMFSinkWriterCallback interface has these methods.

MethodDescription
OnFinalize

Called when the IMFSinkWriter::Finalize method completes.

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Mfreadwrite.h

See also

Sink Writer
Media Foundation Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft