reactos/rostests/apitests/w32knapi/w32knapi.h
Timo Kreuzer b91657fe81 - rename ASSERT1 to ASSERT
- 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
2007-08-28 15:06:36 +00:00

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 */