ReactOS 0.4.16-dev-336-gb667d82
napi.h File Reference
#include "sysfuncs.h"
Include dependency graph for napi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SVC_(name, argcount)   (ULONG_PTR)Nt##name,
 
#define SVC_(name, argcount)   argcount * sizeof(void *),
 
#define MIN_SYSCALL_NUMBER   0
 
#define NUMBER_OF_SYSCALLS   (sizeof(MainSSPT) / sizeof(MainSSPT[0]))
 
#define MAX_SYSCALL_NUMBER   (NUMBER_OF_SYSCALLS - 1)
 

Variables

ULONG_PTR MainSSDT []
 
UCHAR MainSSPT []
 
ULONG MainNumberOfSysCalls = NUMBER_OF_SYSCALLS
 

Macro Definition Documentation

◆ MAX_SYSCALL_NUMBER

#define MAX_SYSCALL_NUMBER   (NUMBER_OF_SYSCALLS - 1)

Definition at line 21 of file napi.h.

◆ MIN_SYSCALL_NUMBER

#define MIN_SYSCALL_NUMBER   0

Definition at line 19 of file napi.h.

◆ NUMBER_OF_SYSCALLS

#define NUMBER_OF_SYSCALLS   (sizeof(MainSSPT) / sizeof(MainSSPT[0]))

Definition at line 20 of file napi.h.

◆ SVC_ [1/2]

#define SVC_ (   name,
  argcount 
)    (ULONG_PTR)Nt##name,

Definition at line 14 of file napi.h.

◆ SVC_ [2/2]

#define SVC_ (   name,
  argcount 
)    argcount * sizeof(void *),

Definition at line 14 of file napi.h.

Variable Documentation

◆ MainNumberOfSysCalls

ULONG MainNumberOfSysCalls = NUMBER_OF_SYSCALLS

Definition at line 22 of file napi.h.

◆ MainSSDT

ULONG_PTR MainSSDT[]
Initial value:
= {
}

Definition at line 9 of file napi.h.

Referenced by KiInitializeKernel(), and KiInitSystem().

◆ MainSSPT

UCHAR MainSSPT[]
Initial value:
= {
}

Definition at line 15 of file napi.h.

Referenced by KiInitializeKernel(), and KiInitSystem().