Called when the IMFSourceReader::Flush method completes.
public:
HRESULT OnFlush(
DWORD dwStreamIndex
)
dwStreamIndex
Type: DWORD
[in] The index of the stream that was flushed, or MF_SOURCE_READER_ALL_STREAMS if all streams were flushed.
Type: HRESULT
Returns an HRESULT value. Currently, the source reader 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.