Microsoft DirectX 8.1 (C++)

COutputQueue::BeginFlush

The BeginFlush method begins a flush operation.

Syntax

void BeginFlush(void);

Remarks

This method sets the COutputQueue::m_bFlushing member variable to TRUE. If the object is using a thread, the thread calls the COutputQueue::FreeSamples method to free any pending samples. Otherwise, the object calls FreeSamples during the COutputQueue::EndFlush method. This method also sets the COutputQueue::m_hr member variable to S_FALSE, which causes the object to discard all new samples.

The object passes the flush notification downstream by calling the IPin::BeginFlush method on the input pin.

See Also