ReactOS 0.4.16-dev-117-g38f21f9
napi.h File Reference
#include "w32ksvc32.h"
Include dependency graph for napi.h:

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 29 of file napi.h.

◆ MIN_SYSCALL_NUMBER

#define MIN_SYSCALL_NUMBER   0x1000

Definition at line 27 of file napi.h.

◆ NUMBER_OF_SYSCALLS

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

Definition at line 28 of file napi.h.

◆ SVC_ [1/2]

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

Definition at line 18 of file napi.h.

◆ SVC_ [2/2]

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

Definition at line 18 of file napi.h.

Variable Documentation

◆ Win32kNumberOfSysCalls

ULONG Win32kNumberOfSysCalls = NUMBER_OF_SYSCALLS

Definition at line 30 of file napi.h.

Referenced by DriverEntry().

◆ Win32kSSDT

ULONG_PTR Win32kSSDT[]
Initial value:
= {
}

Definition at line 9 of file napi.h.

Referenced by DriverEntry().

◆ Win32kSSPT

UCHAR Win32kSSPT[]
Initial value:
= {
}

Definition at line 19 of file napi.h.

Referenced by DriverEntry().