Commit in reactos/subsys/win32k/ntuser on MAIN
timer.c+2-71.25 -> 1.26
- Initialized the win32k timer as SynchronizationTimer. 
  A notification timer is always signaled after the first hit.
- Possible this does fix more timer related problems.

reactos/subsys/win32k/ntuser
timer.c 1.25 -> 1.26
diff -u -r1.25 -r1.26
--- timer.c	4 Mar 2004 01:30:00 -0000	1.25
+++ timer.c	6 Mar 2004 23:09:23 -0000	1.26
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: timer.c,v 1.25 2004/03/04 01:30:00 gdalsnes Exp $
+/* $Id: timer.c,v 1.26 2004/03/06 23:09:23 hbirr Exp $
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -413,11 +413,6 @@
       MsgTimer = CONTAINING_RECORD( TimerListHead.Flink, MSG_TIMER_ENTRY, ListEntry);
       KeSetTimer(&Timer, MsgTimer->Timeout, NULL);
     }
-    else
-    {
-      /* cancel timer, this reset the state of the timer event on which we wait */
-      KeCancelTimer(&Timer);
-    }
     
     IntUnLockTimerList;
 
@@ -437,7 +432,7 @@
   BitmapBytes = ROUND_UP(NUM_WINDOW_LESS_TIMERS, sizeof(ULONG) * 8) / 8;
   
   InitializeListHead(&TimerListHead);
-  KeInitializeTimer(&Timer);
+  KeInitializeTimerEx(&Timer, SynchronizationTimer);
   ExInitializeFastMutex(&Mutex);
   
   WindowLessTimersBitMapBuffer = ExAllocatePoolWithTag(PagedPool, BitmapBytes, TAG_TIMERBMP);
CVSspam 0.2.8