ReactOS  0.4.14-dev-998-g623dd26
napi.h File Reference
#include "w32ksvc.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   0x1000
 
#define NUMBER_OF_SYSCALLS   (sizeof(Win32kSSPT) / sizeof(Win32kSSPT[0]))
 
#define MAX_SYSCALL_NUMBER   0x1000 + (NUMBER_OF_SYSCALLS - 1)
 

Variables

ULONG_PTR Win32kSSDT []
 
UCHAR Win32kSSPT []
 
ULONG Win32kNumberOfSysCalls = NUMBER_OF_SYSCALLS
 

Macro Definition Documentation

◆ MAX_SYSCALL_NUMBER

#define MAX_SYSCALL_NUMBER   0x1000 + (NUMBER_OF_SYSCALLS - 1)

Definition at line 21 of file napi.h.

◆ MIN_SYSCALL_NUMBER

#define MIN_SYSCALL_NUMBER   0x1000

Definition at line 19 of file napi.h.

◆ NUMBER_OF_SYSCALLS

#define NUMBER_OF_SYSCALLS   (sizeof(Win32kSSPT) / sizeof(Win32kSSPT[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

◆ Win32kNumberOfSysCalls

ULONG Win32kNumberOfSysCalls = NUMBER_OF_SYSCALLS

Definition at line 22 of file napi.h.

Referenced by DriverEntry().

◆ Win32kSSDT

ULONG_PTR Win32kSSDT[]

Definition at line 9 of file napi.h.

Referenced by DriverEntry().

◆ Win32kSSPT

UCHAR Win32kSSPT[]

Definition at line 15 of file napi.h.

Referenced by DriverEntry().