From 1d1913a81e5cac62033965da966c2a25fe6a0485 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Sat, 15 Oct 2011 21:01:24 +0000 Subject: [PATCH] [Win32k] - Fix timer resolution for once a millisecond. Now pass wine test_timers_no_wnd. svn path=/trunk/; revision=54150 --- reactos/subsystems/win32/win32k/ntuser/timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/timer.c b/reactos/subsystems/win32/win32k/ntuser/timer.c index d2074f76df9..3c43cd5dd8f 100644 --- a/reactos/subsystems/win32/win32k/ntuser/timer.c +++ b/reactos/subsystems/win32/win32k/ntuser/timer.c @@ -187,7 +187,7 @@ IntSetTimer( PWND Window, PTIMER pTmr; UINT Ret = IDEvent; LARGE_INTEGER DueTime; - DueTime.QuadPart = (LONGLONG)(-5000000); + DueTime.QuadPart = (LONGLONG)(-9000); // 1024hz .9765625 ms #if 0 /* Windows NT/2k/XP behaviour */ @@ -448,7 +448,7 @@ ProcessTimers(VOID) KeQueryTickCount(&TickCount); Time = MsqCalculateMessageTime(&TickCount); - DueTime.QuadPart = (LONGLONG)(-500000); + DueTime.QuadPart = (LONGLONG)(-9000); // 1024hz .9765625 ms while(pLE != &TimersListHead) {