Microsoft DirectX 8.1 (C++)

IMediaObject::Flush

The Flush method flushes all internally buffered data.

Syntax

HRESULT Flush(void);

Return Value

Returns S_OK if successful. Otherwise, returns an HRESULT value indicating the cause of the error.

Remarks

The DMO performs the following actions when this method is called:

Media types, maximum latency, and locked state do not change.

When the method returns, every input stream accepts data. Output streams cannot produce any data until the application calls the IMediaObject::ProcessInput method on at least one input stream.

See Also