Function Reference


Destroys the specified timer

#include <WinAPISysWin.au3>
_WinAPI_KillTimer ( $hWnd, $iTimerID )


$hWnd Handle to the window associated with the specified timer. This value must be the same as the
$hWnd value passed to the _WinAPI_SetTimer() function that created the timer.
$iTimerID The timer identifier which specifies the timer to be destroyed.

Return Value

Success: True.
Failure: False, call _WinAPI_GetLastError() to get extended error information


This function does not remove WM_TIMER messages already posted to the message queue.



See Also

Search KillTimer in MSDN Library.