Microsoft Windows CE 3.0  

CBaseStreamControl::Flushing

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Notifies the pin that the filter is flushing.

void Flushing(
BOOL
bInProgress
);

Parameters

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

Return Values

No return value.

Remarks

If you are implementing your own filter, your pin must call this member function on BeginFlushand EndFlush( DeliverBeginFlushand DeliverEndFlushfor output pins) to say when it is flushing, as shown in the following example.

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(); }

Note that capture filters that do not support seeking do not call this method.