mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
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 svn path=/trunk/; revision=28953
This commit is contained in:
parent
58f3f36a48
commit
98a0a729e4
|
@ -104,9 +104,9 @@ IntSetTimer(HWND Wnd, UINT_PTR IDEvent, UINT Elapse, TIMERPROC TimerFunc, BOOL S
|
|||
MessageQueue = Window->MessageQueue;
|
||||
}
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
|
||||
/* Win NT/2k/XP */
|
||||
/* Windows NT/2k/XP behaviour */
|
||||
if (Elapse > 0x7fffffff)
|
||||
{
|
||||
DPRINT("Adjusting uElapse\n");
|
||||
|
@ -115,7 +115,7 @@ IntSetTimer(HWND Wnd, UINT_PTR IDEvent, UINT Elapse, TIMERPROC TimerFunc, BOOL S
|
|||
|
||||
#else
|
||||
|
||||
/* Win Server 2003 */
|
||||
/* Windows XP SP2 and Windows Server 2003 behaviour */
|
||||
if (Elapse > 0x7fffffff)
|
||||
{
|
||||
DPRINT("Adjusting uElapse\n");
|
||||
|
@ -124,7 +124,7 @@ IntSetTimer(HWND Wnd, UINT_PTR IDEvent, UINT Elapse, TIMERPROC TimerFunc, BOOL S
|
|||
|
||||
#endif
|
||||
|
||||
/* Win 2k/XP */
|
||||
/* Windows 2k/XP and Windows Server 2003 SP1 behaviour */
|
||||
if (Elapse < 10)
|
||||
{
|
||||
DPRINT("Adjusting uElapse\n");
|
||||
|
|
Loading…
Reference in a new issue