return timer id for windowed timers also
authorGunnar Dalsnes <hardon@online.no>
Tue, 9 Aug 2005 16:15:52 +0000 (16:15 +0000)
committerGunnar Dalsnes <hardon@online.no>
Tue, 9 Aug 2005 16:15:52 +0000 (16:15 +0000)
svn path=/trunk/; revision=17245

reactos/subsys/win32k/ntuser/timer.c

index 131366a..ebc8473 100644 (file)
@@ -101,7 +101,7 @@ IntSetTimer(HWND Wnd, UINT_PTR IDEvent, UINT Elapse, TIMERPROC TimerFunc, BOOL S
           return 0;
         }
       IntReleaseWindowObject(WindowObject);
-      Ret = 1;
+      Ret = IDEvent;
     }
 
   #if 1