IMFSourceReaderCallback::OnFlush method (mfreadwrite.h)

Called when the IMFSourceReader::Flush method completes.

Syntax

HRESULT OnFlush(
  DWORD dwStreamIndex
);

Parameters

dwStreamIndex

The index of the stream that was flushed, or MF_SOURCE_READER_ALL_STREAMS if all streams were flushed.

Return value

Returns an HRESULT value. Currently, the source reader 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

IMFSourceReaderCallback

Source Reader