added a case where CreateTimer() can return INVALID_HANDLE

fixed two initialization bugs in TimerSys

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401415
This commit is contained in:
David Anderson
2007-09-11 18:16:25 +00:00
parent 641041b906
commit dd824d2056
3 changed files with 14 additions and 3 deletions
+1
View File
@@ -84,6 +84,7 @@ funcenum Timer
* @param value Handle or value to give to the timer function.
* @param flags Flags to set (such as repeatability or auto-Handle closing).
* @return Handle to the timer object. You do not need to call CloseHandle().
* If the timer could not be created, INVALID_HANDLE will be returned.
*/
native Handle:CreateTimer(Float:interval, Timer:func, any:value=INVALID_HANDLE, flags=0);