IMFSourceReaderCallback2::OnStreamError method (mfreadwrite.h)

Called when an asynchronous error occurs with the IMFSourceReader.

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 source reader ignores the return value.

Requirements

Requirement Value
Target Platform Windows
Header mfreadwrite.h

See also

IMFSourceReaderCallback2