mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 17:21:14 +00:00
b91657fe81
- link to w32kdll instead of implementing all syscalls as stubs. I will remove the rest of the syscall code as soon as our syscall db is more complete - more TEST -> RTEST - update w32kdll_ros.def - add tests for NtGdiEngCreatePalette, NtGdiEnumFontOpen - Add some gdi handle table code to w32knapi - header cleanup svn path=/trunk/; revision=28619
46 lines
912 B
C
46 lines
912 B
C
#ifndef _W32KNAPI_H
|
|
#define _W32KNAPI_H
|
|
|
|
#define WIN32_NO_STATUS
|
|
#define NTOS_MODE_USER
|
|
#define WINVER 0x501
|
|
|
|
#include <windows.h>
|
|
#include <wingdi.h>
|
|
#include <winddi.h>
|
|
#include <ntddk.h>
|
|
#include <d3dnthal.h>
|
|
#include <prntfont.h>
|
|
|
|
/* Public Win32K Headers */
|
|
#include <win32k/callback.h>
|
|
#include <win32k/ntusrtyp.h>
|
|
#include <win32k/ntgdityp.h>
|
|
#include <win32k/ntgdihdl.h>
|
|
|
|
#include <ntgdi.h>
|
|
|
|
#include "../apitest.h"
|
|
|
|
#define OS_UNSUPPORTED 0
|
|
#define OS_REACTOS 1
|
|
#define OS_WINDOWS 2
|
|
|
|
typedef struct
|
|
{
|
|
LPWSTR lpszFunction;
|
|
INT nSyscallNum;
|
|
INT nParams;
|
|
} SYCALL_ENTRY, *PSYSCALL_ENTRY;
|
|
|
|
typedef PGDI_TABLE_ENTRY (CALLBACK * GDIQUERYPROC) (void);
|
|
|
|
extern HINSTANCE g_hInstance;
|
|
extern HMODULE g_hModule;
|
|
extern PGDI_TABLE_ENTRY GdiHandleTable;
|
|
|
|
DWORD Syscall(LPWSTR lpszFunction, int cParams, void* pParams);
|
|
BOOL InitOsVersion();
|
|
|
|
#endif /* _W32KNAPI_H */
|