IMFFinalizableMediaSink interface

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.

Methods

The IMFFinalizableMediaSink interface has these methods.

Method Description
IMFFinalizableMediaSink::BeginFinalize Notifies the media sink to asynchronously take any steps it needs to finish its tasks.
IMFFinalizableMediaSink::EndFinalize Completes an asynchronous finalize operation.

Remarks

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

Requirements

   
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

IMFMediaSink

Media Foundation Interfaces