Called when the IMFSinkWriter::PlaceMarker method completes.
public:
HRESULT OnMarker(
DWORD dwStreamIndex,
LPVOID pvContext
)
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.
Type: HRESULT
Returns an HRESULT value. Currently, the sink writer ignores the return value.
Refer to Media Foundation return codes.
This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.
Header: Declared in mfreadwrite.h.