IMFSinkWriterCallback2::OnStreamError method (mfreadwrite.h)

Called when an asynchronous error occurs with the IMFSinkWriter.

Syntax

HRESULT OnStreamError(
  DWORD   dwStreamIndex,
  HRESULT hrStatus
);

Parameters

dwStreamIndex

The index of the stream of the transform that raised the asynchronous error.

hrStatus

The error that occurred.

Return value

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

Requirements

Requirement Value
Target Platform Windows
Header mfreadwrite.h

See also

IMFSinkWriterCallback2