Author: jimtabor
Date: Sat Oct 15 21:35:40 2011
New Revision: 54153
URL:
http://svn.reactos.org/svn/reactos?rev=54153&view=rev
Log:
[Win32k]
- Fix timer resolution to match what windows uses. Now pass wine test_timers_no_wnd.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/timer.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/timer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/timer.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/timer.c [iso-8859-1] Sat Oct 15 21:35:40
2011
@@ -187,7 +187,7 @@
PTIMER pTmr;
UINT Ret = IDEvent;
LARGE_INTEGER DueTime;
- DueTime.QuadPart = (LONGLONG)(-9000); // 1024hz .9765625 ms
+ DueTime.QuadPart = (LONGLONG)(-10000); // 1024hz .9765625 ms set to 1.1 ms
#if 0
/* Windows NT/2k/XP behaviour */
@@ -448,7 +448,7 @@
KeQueryTickCount(&TickCount);
Time = MsqCalculateMessageTime(&TickCount);
- DueTime.QuadPart = (LONGLONG)(-9000); // 1024hz .9765625 ms
+ DueTime.QuadPart = (LONGLONG)(-10000); // 1024hz .9765625 ms set to 1.1 ms
while(pLE != &TimersListHead)
{