f0ec66778c74bdb6be87692837d1f2298ef36e84
[reactos.git] / rostests / apitests / apphelp / apphelp_apitest.h
1 #ifndef APPHELP_APITEST_H
2 #define APPHELP_APITEST_H
3
4
5 /* data.c */
6 void test_create_db_imp(const char* name);
7 DWORD test_get_db_size();
8 void test_create_exe_imp(const char* name, int skip_rsrc_exports);
9 void test_create_file_imp(const char* name, const char* contents, size_t len);
10 void test_create_ne_imp(const char* name, int skip_names);
11 DWORD get_host_winver(void);
12 void silence_debug_output(void); // Silence output if the environment variable is not set.
13
14 #define test_create_db (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_db_imp
15 #define test_create_exe (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_exe_imp
16 #define test_create_file (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_file_imp
17 #define test_create_ne (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_ne_imp
18
19
20 static DWORD g_WinVersion;
21
22 #define WINVER_ANY 0
23 #define WINVER_WINXP 0x0501
24 #define WINVER_2003 0x0502
25 #define WINVER_VISTA 0x0600
26 #define WINVER_WIN7 0x0601
27 #define WINVER_WIN8 0x0602
28 #define WINVER_WIN10 0x0a00
29
30
31 #endif // APPHELP_APITEST_H