ReactOS  0.4.13-dev-551-gf37fb1f
napi.h
Go to the documentation of this file.
1 /*
2  * FILE: win32ss/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,
10 #include "w32ksvc.h"
11 };
12 #undef SVC_
13 
14 #define SVC_(name, argcount) argcount * sizeof(void *),
16 #include "w32ksvc.h"
17 };
18 
19 #define MIN_SYSCALL_NUMBER 0x1000
20 #define NUMBER_OF_SYSCALLS (sizeof(Win32kSSPT) / sizeof(Win32kSSPT[0]))
21 #define MAX_SYSCALL_NUMBER 0x1000 + (NUMBER_OF_SYSCALLS - 1)
uint32_t ULONG_PTR
Definition: typedefs.h:63
#define NUMBER_OF_SYSCALLS
Definition: napi.h:20
UCHAR Win32kSSPT[]
Definition: napi.h:15
ULONG_PTR Win32kSSDT[]
Definition: napi.h:9
ULONG Win32kNumberOfSysCalls
Definition: napi.h:22
unsigned char UCHAR
Definition: xmlstorage.h:181
unsigned int ULONG
Definition: retypes.h:1