[SHELL32_APITEST] -Add some tests for SHParseDisplayName for CORE-12882.
[reactos.git] / rostests / apitests / win32nt / w32knapi.h
1 #ifndef _W32KNAPI_H
2 #define _W32KNAPI_H
3
4 /* SDK/NDK Headers */
5 #define NTOS_MODE_USER
6 #define WIN32_NO_STATUS
7 #define _INC_WINDOWS
8 #define COM_NO_WINDOWS_H
9 #include <stdarg.h>
10 #include <windef.h>
11 #include <winbase.h>
12 #include <wingdi.h>
13 #include <objbase.h>
14 #include <windowsx.h>
15 #include <ndk/ntndk.h>
16 #include <winddi.h>
17 #include <ddrawi.h>
18 #include <prntfont.h>
19 #include <imm.h>
20
21 /* Public Win32K Headers */
22 #include <ntusrtyp.h>
23 #include <ntuser.h>
24 #include <callback.h>
25 #include <ntgdityp.h>
26 #include <ntgdi.h>
27 #include <ntgdihdl.h>
28
29 #include "../apitest.h"
30 #include "resource.h"
31
32 typedef struct
33 {
34 LPWSTR lpszFunction;
35 INT nSyscallNum;
36 INT nParams;
37 } SYCALL_ENTRY, *PSYSCALL_ENTRY;
38
39 extern HINSTANCE g_hInstance;
40 extern HMODULE g_hModule;
41 extern PGDI_TABLE_ENTRY GdiHandleTable;
42
43 BOOL IsHandleValid(HGDIOBJ hobj);
44 PVOID GetHandleUserData(HGDIOBJ hobj);
45 DWORD Syscall(LPWSTR lpszFunction, int cParams, void* pParams);
46 BOOL InitOsVersion(VOID);
47 extern UINT g_OsIdx;
48
49 typedef UINT ASPI[5];
50 extern ASPI gNOPARAM_ROUTINE_CREATEMENU;
51 extern ASPI gNOPARAM_ROUTINE_CREATEMENUPOPUP;
52 extern ASPI gNOPARAM_ROUTINE_LOADUSERAPIHOOK;
53 extern ASPI gONEPARAM_ROUTINE_CREATEEMPTYCUROBJECT;
54 extern ASPI gONEPARAM_ROUTINE_MAPDEKTOPOBJECT;
55 extern ASPI gONEPARAM_ROUTINE_SWAPMOUSEBUTTON;
56 extern ASPI gHWND_ROUTINE_DEREGISTERSHELLHOOKWINDOW;
57 extern ASPI gHWND_ROUTINE_GETWNDCONTEXTHLPID;
58 extern ASPI gHWNDPARAM_ROUTINE_SETWNDCONTEXTHLPID;
59
60 #define _NOPARAM_ROUTINE_CREATEMENU gNOPARAM_ROUTINE_CREATEMENU[g_OsIdx]
61 #define _NOPARAM_ROUTINE_CREATEMENUPOPUP gNOPARAM_ROUTINE_CREATEMENUPOPUP[g_OsIdx]
62 #define _NOPARAM_ROUTINE_LOADUSERAPIHOOK gNOPARAM_ROUTINE_LOADUSERAPIHOOK[g_OsIdx]
63 #define _ONEPARAM_ROUTINE_CREATEEMPTYCUROBJECT gONEPARAM_ROUTINE_CREATEEMPTYCUROBJECT[g_OsIdx]
64 #define _ONEPARAM_ROUTINE_MAPDEKTOPOBJECT gONEPARAM_ROUTINE_MAPDEKTOPOBJECT[g_OsIdx]
65 #define _ONEPARAM_ROUTINE_SWAPMOUSEBUTTON gONEPARAM_ROUTINE_SWAPMOUSEBUTTON[g_OsIdx]
66 #define _HWND_ROUTINE_DEREGISTERSHELLHOOKWINDOW gHWND_ROUTINE_DEREGISTERSHELLHOOKWINDOW[g_OsIdx]
67 #define _HWND_ROUTINE_GETWNDCONTEXTHLPID gHWND_ROUTINE_GETWNDCONTEXTHLPID[g_OsIdx]
68 #define _HWNDPARAM_ROUTINE_SETWNDCONTEXTHLPID gHWNDPARAM_ROUTINE_SETWNDCONTEXTHLPID[g_OsIdx]
69
70
71
72 #endif /* _W32KNAPI_H */