Compartilhar via


CBaseRenderer::WaitForRenderTime (Compact 2013)

3/26/2014

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

Syntax

virtual HRESULT WaitForRenderTime(void);

Parameters

None.

Return Value

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseRenderer Class