CBaseRenderer::TimerCallback

 
Microsoft DirectShow 9.0

CBaseRenderer::TimerCallback

The TimerCallback method is a callback method for the end-of-stream timer event.

Syntax

  void TimerCallback(void);

Remarks

The CBaseRenderer::SendEndOfStream method uses a timer event to schedule EC_COMPLETE notifications. The CBaseRenderer::TimerCallback method is the callback function for the timer event. The TimerCallback method calls SendEndOfStream again, and SendEndOfStream determines whether to send the EC_COMPLETE notification or set another timer.

The CBaseRenderer::ResetEndOfStreamTimer method cancels the timer event.

Requirements

**  Header:** Declared in Renbase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also