IMFSinkWriterCallback::OnMarker method (mfreadwrite.h)

Called when the IMFSinkWriter::PlaceMarker method completes.

Syntax

HRESULT OnMarker(
  [in] DWORD  dwStreamIndex,
  [in] LPVOID pvContext
);

Parameters

[in] dwStreamIndex

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

[in] pvContext

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

Return value

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

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header mfreadwrite.h

See also

IMFSinkWriterCallback

Sink Writer