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 has these methods.
|IMFFinalizableMediaSink::BeginFinalize||Notifies the media sink to asynchronously take any steps it needs to finish its tasks.|
|IMFFinalizableMediaSink::EndFinalize||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]|