Author: cfinck
Date: Sat Sep 8 22:43:36 2007
New Revision: 28953
URL:
http://svn.reactos.org/svn/reactos?rev=28953&view=rev
Log:
Enable the Windows Server 2003 behaviour for SetTimer.
Finally, Matrix Screensaver does not work anymore under ReactOS, so we are compatible with
Windows XP SP2 and Windows Server 2003 in this case :-D
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 (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/timer.c Sat Sep 8 22:43:36 2007
@@ -104,9 +104,9 @@
MessageQueue = Window->MessageQueue;
}
-#if 1
-
- /* Win NT/2k/XP */
+#if 0
+
+ /* Windows NT/2k/XP behaviour */
if (Elapse > 0x7fffffff)
{
DPRINT("Adjusting uElapse\n");
@@ -115,7 +115,7 @@
#else
- /* Win Server 2003 */
+ /* Windows XP SP2 and Windows Server 2003 behaviour */
if (Elapse > 0x7fffffff)
{
DPRINT("Adjusting uElapse\n");
@@ -124,7 +124,7 @@
#endif
- /* Win 2k/XP */
+ /* Windows 2k/XP and Windows Server 2003 SP1 behaviour */
if (Elapse < 10)
{
DPRINT("Adjusting uElapse\n");