2007-08-02 21:42:37 +00:00
|
|
|
#ifndef _W32KNAPI_H
|
|
|
|
#define _W32KNAPI_H
|
|
|
|
|
2007-09-28 17:26:29 +00:00
|
|
|
/* SDK/NDK Headers */
|
2007-08-28 15:06:36 +00:00
|
|
|
#define NTOS_MODE_USER
|
2007-09-28 17:26:29 +00:00
|
|
|
#define WIN32_NO_STATUS
|
2007-08-28 15:06:36 +00:00
|
|
|
#include <windows.h>
|
2007-09-28 17:26:29 +00:00
|
|
|
#include <winuser.h>
|
|
|
|
#include <windowsx.h>
|
|
|
|
#include <winnls32.h>
|
|
|
|
#include <ndk/ntndk.h>
|
2007-08-28 15:06:36 +00:00
|
|
|
#include <wingdi.h>
|
|
|
|
#include <winddi.h>
|
|
|
|
#include <d3dnthal.h>
|
|
|
|
#include <prntfont.h>
|
2007-08-04 16:45:12 +00:00
|
|
|
|
|
|
|
/* Public Win32K Headers */
|
|
|
|
#include <win32k/ntusrtyp.h>
|
2007-09-28 17:26:29 +00:00
|
|
|
#include <win32k/ntuser.h>
|
|
|
|
#include <win32k/callback.h>
|
2007-08-04 16:45:12 +00:00
|
|
|
#include <win32k/ntgdityp.h>
|
2007-08-28 15:06:36 +00:00
|
|
|
#include <ntgdi.h>
|
2007-09-28 17:26:29 +00:00
|
|
|
#include <win32k/ntgdihdl.h>
|
2007-08-28 15:06:36 +00:00
|
|
|
|
|
|
|
#include "../apitest.h"
|
2007-09-28 17:26:29 +00:00
|
|
|
#include "resource.h"
|
2007-08-28 15:06:36 +00:00
|
|
|
|
2007-08-02 21:42:37 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
LPWSTR lpszFunction;
|
|
|
|
INT nSyscallNum;
|
|
|
|
INT nParams;
|
|
|
|
} SYCALL_ENTRY, *PSYSCALL_ENTRY;
|
|
|
|
|
|
|
|
extern HINSTANCE g_hInstance;
|
|
|
|
extern HMODULE g_hModule;
|
2007-08-28 15:06:36 +00:00
|
|
|
extern PGDI_TABLE_ENTRY GdiHandleTable;
|
2007-08-02 21:42:37 +00:00
|
|
|
|
|
|
|
DWORD Syscall(LPWSTR lpszFunction, int cParams, void* pParams);
|
|
|
|
BOOL InitOsVersion();
|
|
|
|
|
|
|
|
#endif /* _W32KNAPI_H */
|