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[] = {
|
2023-05-28 13:19:50 +00:00
|
|
|
#ifdef _WIN64
|
|
|
|
#include "w32ksvc64.h"
|
|
|
|
#else
|
|
|
|
#include "w32ksvc32.h"
|
|
|
|
#endif
|
2011-02-09 09:31:37 +00:00
|
|
|
};
|
|
|
|
#undef SVC_
|
|
|
|
|
|
|
|
#define SVC_(name, argcount) argcount * sizeof(void *),
|
|
|
|
UCHAR Win32kSSPT[] = {
|
2023-05-28 13:19:50 +00:00
|
|
|
#ifdef _WIN64
|
|
|
|
#include "w32ksvc64.h"
|
|
|
|
#else
|
|
|
|
#include "w32ksvc32.h"
|
|
|
|
#endif
|
2011-02-09 09:31:37 +00:00
|
|
|
};
|
|
|
|
|
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;
|