Microsoft Windows CE 3.0  

CBaseRenderer::SourceThreadCanWait

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.

Sets or resets the thread event.

virtual HRESULT SourceThreadCanWait(
BOOL
bCanWait
);

Parameters

bCanWait
TRUE or FALSE, depending on intent.

Return Values

Returns an HRESULTvalue.

Remarks

In some states, such as paused or running, it is expected that the upstream filter's thread will be blocked in the call to the renderer's input pin Receivemethod. In other cases, such as when the renderer is stopped, the upstream filter should not be required to wait. This member function represents a manual reset event that sets this TRUE to wait, or FALSE to keep the thread from waiting.