|Microsoft DirectX 9.0|
The WaitForRenderTime method waits for the current sample's presentation time.
virtual HRESULT WaitForRenderTime(void);
Returns one of the following HRESULT values.
|VFW_E_STATE_CHANGED||The filter state changed before the presentation time arrived.|
This method waits until one of the following occurs:
If the presentation time arrives, the CBaseRenderer::m_RenderEvent event is signaled. If the state changes, the CBaseRenderer::m_ThreadSignal event is signaled. This method waits on both events. The derived class can override this method to wait on additional events, if necessary.
This method calls the CBaseRenderer::OnWaitStart method when the wait begins, and the CBaseRenderer::OnWaitEnd method when the wait is done. Neither method does anything in the base class, but the derived class can override them.