ReactOS 0.4.15-dev-6057-gd708c79
apphelp_apitest.h
Go to the documentation of this file.
1#ifndef APPHELP_APITEST_H
2#define APPHELP_APITEST_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8
9/* data.c */
10void test_create_db_imp(const WCHAR* name, int win10);
12void test_create_exe_imp(const WCHAR* name, int skip_rsrc_exports);
13void test_create_file_imp(const WCHAR* name, const char* contents, size_t len);
14void test_create_ne_imp(const WCHAR* name, int skip_names);
17void silence_debug_output(void); // Silence output if the environment variable is not set.
18
19#define test_create_db (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_db_imp
20#define test_create_exe (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_exe_imp
21#define test_create_file (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_file_imp
22#define test_create_ne (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_ne_imp
23
24
26
27#define WINVER_ANY 0
28#define WINVER_WINXP 0x0501
29#define WINVER_2003 0x0502
30#define WINVER_VISTA 0x0600
31#define WINVER_WIN7 0x0601
32#define WINVER_WIN8 0x0602
33#define WINVER_WIN10 0x0a00
34
35
36typedef WORD TAG;
37typedef DWORD TAGID;
38typedef DWORD TAGREF;
39typedef UINT64 QWORD;
40typedef VOID* PDB;
41typedef VOID* HSDB;
42typedef INT PATH_TYPE;
43
44
45
46#define SDB_MAX_SDBS 16
47#define SDB_MAX_EXES_VISTA 16
48#define SDB_MAX_LAYERS 8
49#define SHIMREG_DISABLE_LAYER (0x00000020)
50
51#define SDBQUERYRESULT_EXPECTED_SIZE_VISTA 456
52
53
54
56{
69
70
71#define SDBQUERYRESULT_EXPECTED_SIZE_2k3 344
72
73#define SDB_MAX_EXES_2k3 4
74
76{
80 TAGREF trApphelp; // probably?
83 GUID guidID; // probably?
84 DWORD dwFlags; // probably?
88
89
90
91
92
95
96
97
98
99#ifdef __cplusplus
100} // extern "C"
101#endif
102
103#endif // APPHELP_APITEST_H
unsigned long long UINT64
#define SDB_MAX_EXES_VISTA
#define SDB_MAX_LAYERS
DWORD get_host_winver(void)
Definition: data.c:796
void test_create_ne_imp(const WCHAR *name, int skip_names)
Definition: data.c:523
DWORD get_module_version(HMODULE mod)
Definition: data.c:811
void test_create_exe_imp(const WCHAR *name, int skip_rsrc_exports)
Definition: data.c:467
struct tagSDBQUERYRESULT_VISTA SDBQUERYRESULT_VISTA
VOID * PDB
#define SDB_MAX_EXES_2k3
struct tagSDBQUERYRESULT_VISTA * PSDBQUERYRESULT_VISTA
void silence_debug_output(void)
Definition: data.c:841
DWORD TAGREF
#define SDBQUERYRESULT_EXPECTED_SIZE_2k3
UINT64 QWORD
#define SDBQUERYRESULT_EXPECTED_SIZE_VISTA
DWORD TAGID
#define SDB_MAX_SDBS
INT PATH_TYPE
static DWORD g_WinVersion
void test_create_db_imp(const WCHAR *name, int win10)
Definition: data.c:778
WORD TAG
VOID * HSDB
void test_create_file_imp(const WCHAR *name, const char *contents, size_t len)
Definition: data.c:555
struct tagSDBQUERYRESULT_2k3 * PSDBQUERYRESULT_2k3
struct tagSDBQUERYRESULT_2k3 SDBQUERYRESULT_2k3
DWORD test_get_db_size()
Definition: data.c:773
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
GLenum GLsizei len
Definition: glext.h:6722
static int mod
Definition: i386-dis.c:1288
#define C_ASSERT(e)
Definition: intsafe.h:73
static BOOL win10
Definition: render.c:66
static const char * contents
Definition: parser.c:511
Definition: name.c:39
GUID rgGuidDB[SDB_MAX_SDBS]
TAGREF atrLayers[SDB_MAX_LAYERS]
TAGREF atrExes[SDB_MAX_EXES_2k3]
TAGREF atrLayers[SDB_MAX_LAYERS]
TAGREF atrExes[SDB_MAX_EXES_VISTA]
DWORD adwExeFlags[SDB_MAX_EXES_VISTA]
GUID rgGuidDB[SDB_MAX_SDBS]
int32_t INT
Definition: typedefs.h:58
__wchar_t WCHAR
Definition: xmlstorage.h:180