KillTimer Function

Kills a timer. Use this instead of CloseHandle() if you need more options.

void KillTimer(Handle timer, bool autoClose)


Handle timer

Timer Handle to kill.

bool autoClose

If autoClose is true, the data that was passed to CreateTimer() will be closed as a handle if TIMER_DATA_HNDL_CLOSE was not specified.


Invalid timer handle.