Author: tkreuzer
Date: Tue Jul 12 15:39:24 2011
New Revision: 52656
URL:
http://svn.reactos.org/svn/reactos?rev=52656&view=rev
Log:
[WIN32K]
Fix MIN_SYSCALL_NUMBER and MAX_SYSCALL_NUMBER
Modified:
trunk/reactos/subsystems/win32/win32k/include/napi.h
Modified: trunk/reactos/subsystems/win32/win32k/include/napi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/napi.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/include/napi.h [iso-8859-1] Tue Jul 12 15:39:24
2011
@@ -16,7 +16,7 @@
#include "w32ksvc.h"
};
-#define MIN_SYSCALL_NUMBER 0
+#define MIN_SYSCALL_NUMBER 0x1000
#define NUMBER_OF_SYSCALLS (sizeof(Win32kSSPT) / sizeof(Win32kSSPT[0]))
-#define MAX_SYSCALL_NUMBER (NUMBER_OF_SYSCALLS - 1)
+#define MAX_SYSCALL_NUMBER 0x1000 + (NUMBER_OF_SYSCALLS - 1)
ULONG Win32kNumberOfSysCalls = NUMBER_OF_SYSCALLS;