Share via


CBaseStreamControl::Flushing (Compact 2013)

3/26/2014

Notifies the pin that the filter is flushing.

Syntax

void Flushing(
  BOOL bInProgress
);

Parameters

  • bInProgress
    TRUE indicates flushing in progress; FALSE indicates not flushing.

Return Value

None.

Remarks

If you implement your own filter, your pin must call this member function on BeginFlush and EndFlush(DeliverBeginFlush and DeliverEndFlush for output pins) to say when it is flushing, as shown in the following example (however, Capture filters that do not support seeking do not call this method).

HRESULT CMyPin::BeginFlush()
{   
   Flushing(TRUE);
   //Or CBaseInputPin for input pins
   return CBaseOutputPin::BeginFlush();
}
HRESULT CMyPin::EndFlush()
{   
   Flushing(FALSE);
   //Or CBaseInputPin for input pins
   return CBaseOutputPin::EndFlush();
}

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseStreamControl Class