共用方式為


IAsyncReader::EndFlush

 
Microsoft DirectShow 9.0

IAsyncReader::EndFlush

The EndFlush method ends a flush operation.

Syntax

  HRESULT EndFlush(void);

Parameters

This method takes no parameters.

Return Values

Returns S_OK if successful, or S_FALSE otherwise.

Remarks

While the pin is flushing, the IAsyncReader::Request method fails and the IAsyncReader::WaitForNext method returns immediately. Call the EndFlush method at the end of a flush operation, to reenable the Request method.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also