IMFSinkWriterCallback::OnFinalize Method

Called when the IMFSinkWriter::Finalize method completes.

Syntax

public:
HRESULT OnFinalize(
         HRESULT hrStatus
)  

Parameters

hrStatus
Type: HRESULT 

[in] The status code for the Finalize operation. If the value is an error code, the output file might be invalid.

Return value

Type: HRESULT 

Returns an HRESULT value. Currently, the sink writer ignores the return value.

Refer to Media Foundation return codes.

Remarks

This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.

Requirements

Header: Declared in mfreadwrite.h.