TimerResume Function

Action

Resumes a paused timer.

Syntax

TimerResume (hTimer)
Variable Description
hTimer A handle to the timer to resume. HTIMER.

Notes

TimerResume resumes the specified timer, which must have been paused by a previous call to TimerPause.

When you resume a timer with TimerResume, it will record the time that elapsed since you started it with TimerStart, minus the time it was paused.

Example

HTIMER TotalTimer
TotalTimer = TimerCreate () // make a timer handle
TimerStart (TotalTimer) // initialize & start a timer
TimerPause (TotalTimer) // pause the timer
// ...
TimerResume (TotalTimer) // continue timing