Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 | UWP apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | UWP apps]

Header

Mfreadwrite.h

See also

Sink Writer
Media Foundation Interfaces

 

 

Show:
© 2017 Microsoft