2011-02-09 09:31:37 +00:00
|
|
|
/*
|
2015-11-10 17:41:55 +00:00
|
|
|
* FILE: win32ss/napi.h
|
2011-02-09 09:31:37 +00:00
|
|
|
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
|
|
|
|
* PURPOSE: System Call Table for Native API
|
|
|
|
* PROGRAMMER: Timo Kreuzer
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define SVC_(name, argcount) (ULONG_PTR)Nt##name,
|
|
|
|
ULONG_PTR Win32kSSDT[] = {
|
|
|
|
#include "w32ksvc.h"
|
|
|
|
};
|
|
|
|
#undef SVC_
|
|
|
|
|
|
|
|
#define SVC_(name, argcount) argcount * sizeof(void *),
|
|
|
|
UCHAR Win32kSSPT[] = {
|
|
|
|
#include "w32ksvc.h"
|
|
|
|
};
|
|
|
|
|
2011-07-12 15:39:24 +00:00
|
|
|
#define MIN_SYSCALL_NUMBER 0x1000
|
2011-02-09 09:31:37 +00:00
|
|
|
#define NUMBER_OF_SYSCALLS (sizeof(Win32kSSPT) / sizeof(Win32kSSPT[0]))
|
2011-07-12 15:39:24 +00:00
|
|
|
#define MAX_SYSCALL_NUMBER 0x1000 + (NUMBER_OF_SYSCALLS - 1)
|
2011-02-09 09:31:37 +00:00
|
|
|
ULONG Win32kNumberOfSysCalls = NUMBER_OF_SYSCALLS;
|