9ae543bc76a528a0538b52f4f2f101086ed34504
[reactos.git] / subsystems / win32 / win32k / include / napi.h
1 /*
2 * FILE: subsystems/win32/win32k/include/napi.h
3 * COPYRIGHT: GNU GPL, see COPYING in the top level directory
4 * PURPOSE: System Call Table for Native API
5 * PROGRAMMER: Timo Kreuzer
6 */
7
8 #define SVC_(name, argcount) (ULONG_PTR)Nt##name,
9 ULONG_PTR Win32kSSDT[] = {
10 #include "w32ksvc.h"
11 };
12 #undef SVC_
13
14 #define SVC_(name, argcount) argcount * sizeof(void *),
15 UCHAR Win32kSSPT[] = {
16 #include "w32ksvc.h"
17 };
18
19 #define MIN_SYSCALL_NUMBER 0
20 #define NUMBER_OF_SYSCALLS (sizeof(Win32kSSPT) / sizeof(Win32kSSPT[0]))
21 #define MAX_SYSCALL_NUMBER (NUMBER_OF_SYSCALLS - 1)
22 ULONG Win32kNumberOfSysCalls = NUMBER_OF_SYSCALLS;