mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00

- change test function return type to INT - add ASSERT macro - include some more headers svn path=/trunk/; revision=28160
35 lines
689 B
C
35 lines
689 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>
|
|
|
|
#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 HMODULE g_hModule;
|
|
extern INT g_nOsVer;
|
|
|
|
DWORD Syscall(LPWSTR lpszFunction, int cParams, void* pParams);
|
|
BOOL InitOsVersion();
|
|
|
|
#endif /* _W32KNAPI_H */
|