Share via


CBaseStreamControl::Flushing

 
Microsoft DirectShow 9.0

CBaseStreamControl::Flushing

The Flushing method notifies the base class that the pin has started or stopped flushing.

Syntax

  void Flushing(
    BOOL bInProgress
);

Parameters

bInProgress

Specifies a Boolean value that indicates whether the pin is flushing. Use the value TRUE when the pin begins a flush operation, and FALSE when the pin ends a flush operation.

Return Values

This method does not return a value.

Remarks

The pin must call this method from within its IPin::BeginFlush and IPin::EndFlush methods. Specify TRUE in BeginFlush and FALSE in EndFlush.

This method causes the CBaseStreamControl::CheckStreamState method to stop waiting. While the pin is flushing, CheckStreamState always returns STREAM_DISCARDING.

Requirements

**  Header:** Declared in Strmctl.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also