IMFSinkWriterCallback::OnMarker method

Called when the IMFSinkWriter::PlaceMarker method completes.

Syntax


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

Parameters

dwStreamIndex [in]

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

pvContext [in]

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

Minimum supported client

Windows 7, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Mfreadwrite.h

See also

Sink Writer
IMFSinkWriterCallback

 

 

Show: