다음을 통해 공유


CBaseRenderer::WaitForRenderTime (Windows CE 5.0)

Send Feedback

Waits for either the due time for the current sample to arrive or for rendering to be stopped.

virtual HRESULT WaitForRenderTime(void);

Parameters

None.

Return Values

Returns an HRESULT value.

Remarks

The member function is virtual because derived classes might have more events that they also want to wait on, which might interrupt the waiting process.

The base class has two events: m_RenderEvent and m_ThreadSignal.

  • m_RenderEvent is signaled by the clock when the sample is due for rendering.
  • m_ThreadSignal is signaled by the filter when it should give up waiting and abort (making the assumption that the filter was stopped).

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.