IMFSourceReaderCallback::OnFlush Method

Called when the IMFSourceReader::Flush method completes.

Syntax

public:
HRESULT OnFlush(
         DWORD dwStreamIndex
)  

Parameters

dwStreamIndex
Type: DWORD 

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

Return value

Type: HRESULT 

Returns an HRESULT value. Currently, the source reader ignores the return value.

Refer to Media Foundation return codes.

Remarks

This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.

Requirements

Header: Declared in mfreadwrite.h.