IMFSinkWriterCallback::OnMarker Method

Called when the IMFSinkWriter::PlaceMarker method completes.

Syntax

public:
HRESULT OnMarker(
         DWORD dwStreamIndex,
         LPVOID pvContext
)  

Parameters

dwStreamIndex
Type: DWORD 

[in] The zero-based index of the stream. This parameter equals the value of the dwStreamIndex parameter in the PlaceMarker method.

pvContext
Type: LPVOID 

[in] The application-defined value that was given in the pvContext parameter in the PlaceMarker method.

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.