ReactOS
0.4.16-dev-122-g325d74c
napi.h
Go to the documentation of this file.
1
/*
2
* FILE: ntoskrnl/include/internal/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
MainSSDT
[] = {
10
#include "
sysfuncs.h
"
11
};
12
#undef SVC_
13
14
#define SVC_(name, argcount) argcount * sizeof(void *),
15
UCHAR
MainSSPT
[] = {
16
#include "
sysfuncs.h
"
17
};
18
19
#define MIN_SYSCALL_NUMBER 0
20
#define NUMBER_OF_SYSCALLS (sizeof(MainSSPT) / sizeof(MainSSPT[0]))
21
#define MAX_SYSCALL_NUMBER (NUMBER_OF_SYSCALLS - 1)
22
ULONG
MainNumberOfSysCalls
=
NUMBER_OF_SYSCALLS
;
MainNumberOfSysCalls
ULONG MainNumberOfSysCalls
Definition:
napi.h:22
MainSSDT
ULONG_PTR MainSSDT[]
Definition:
napi.h:9
NUMBER_OF_SYSCALLS
#define NUMBER_OF_SYSCALLS
Definition:
napi.h:20
MainSSPT
UCHAR MainSSPT[]
Definition:
napi.h:15
sysfuncs.h
ULONG_PTR
uint32_t ULONG_PTR
Definition:
typedefs.h:65
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
UCHAR
unsigned char UCHAR
Definition:
xmlstorage.h:181
ntoskrnl
include
internal
napi.h
Generated on Sun Oct 13 2024 06:14:54 for ReactOS by
1.9.6