COutputQueue::BeginFlush
Microsoft DirectShow 9.0 |
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.
Requirements
** Header:** Declared in Outputq.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also