mirror of
https://github.com/reactos/reactos.git
synced 2024-08-23 19:58:25 +00:00
38 lines
764 B
C
38 lines
764 B
C
#ifndef _W32KNAPI_H
|
|
#define _W32KNAPI_H
|
|
|
|
#include "../apitest.h"
|
|
|
|
#include <ddk/winddi.h>
|
|
#include <ddk/ntddk.h>
|
|
|
|
/* Public Win32K Headers */
|
|
#include <win32k/callback.h>
|
|
#include <win32k/ntusrtyp.h>
|
|
#include <win32k/ntgdityp.h>
|
|
#include <win32k/ntgdihdl.h>
|
|
|
|
#define OS_UNSUPPORTED 0
|
|
#define OS_REACTOS 1
|
|
#define OS_WINDOWS 2
|
|
|
|
#define W32KAPI
|
|
|
|
typedef struct
|
|
{
|
|
LPWSTR lpszFunction;
|
|
INT nSyscallNum;
|
|
INT nParams;
|
|
} SYCALL_ENTRY, *PSYSCALL_ENTRY;
|
|
|
|
extern HINSTANCE g_hInstance;
|
|
extern SYCALL_ENTRY SyscallTable_XP_2600[];
|
|
extern SYCALL_ENTRY SyscallTable_2K_2195[];
|
|
extern HMODULE g_hModule;
|
|
extern INT g_nOsVer;
|
|
|
|
DWORD Syscall(LPWSTR lpszFunction, int cParams, void* pParams);
|
|
BOOL InitOsVersion();
|
|
|
|
#endif /* _W32KNAPI_H */
|