IMFFinalizableMediaSink interface (mfidl.h)

Optionally supported by media sinks to perform required tasks before shutdown. This interface is typically exposed by archive sinks—that is, media sinks that write to a file. It is used to perform tasks such as flushing data to disk or updating a file header.

To get a pointer to this interface, call QueryInterface on the media sink.


The IMFFinalizableMediaSink interface inherits from IMFMediaSink. IMFFinalizableMediaSink also has these types of members:


The IMFFinalizableMediaSink interface has these methods.


Notifies the media sink to asynchronously take any steps it needs to finish its tasks.

Completes an asynchronous finalize operation.


If a media sink exposes this interface, the Media Session will call BeginFinalize on the sink before the session closes.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h

See also


Media Foundation Interfaces