Pauses a timer.
TimerPause (hTimer)
Variable | Description |
---|---|
hTimer | A handle to the timer to pause. HTIMER. |
TimerPause pauses the specified timer. When you resume it with TimerResume, the timer will record the time that elapsed since you started it with TimerStart, minus the time it was paused.
An exception is raised if hTimer has not been started.
HTIMER TotalTimer TotalTimer = TimerCreate () // make a timer handle TimerStart (TotalTimer) // initialize & start a timer // ... TimerPause (TotalTimer) // pause the timer