[SHELL32_APITEST] -Add some tests for SHParseDisplayName for CORE-12882.
[reactos.git] / rostests / apitests / apphelp / apphelp_apitest.h
1 #ifndef APPHELP_APITEST_H
2 #define APPHELP_APITEST_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8
9 /* data.c */
10 void test_create_db_imp(const char* name, int win10);
11 DWORD test_get_db_size();
12 void test_create_exe_imp(const char* name, int skip_rsrc_exports);
13 void test_create_file_imp(const char* name, const char* contents, size_t len);
14 void test_create_ne_imp(const char* name, int skip_names);
15 DWORD get_host_winver(void);
16 DWORD get_module_version(HMODULE mod);
17 void 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
25 static DWORD g_WinVersion;
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 #ifdef __cplusplus
36 } // extern "C"
37 #endif
38
39 #endif // APPHELP_APITEST_H