Microsoft DirectX 9.0


The BeginFlush method begins a flush operation.


void BeginFlush(void);


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