Microsoft DirectX 8.1 (C++)

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.

See Also