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.

Members

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

Methods

The IMFFinalizableMediaSink interface has these methods.

MethodDescription
BeginFinalize

Notifies the media sink to complete its final tasks.

EndFinalize

Called when the asynchronous callback given to BeginFinalize is invoked.

 

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]

Header

Mfidl.h

Library

Mfuuid.lib

See also

Media Foundation Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft