mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
![Mark Jansen](/assets/img/avatar_default.png)
- Support 2k3 and Vista+ versions of the SDBQUERYRESULT structure. - Add tests for SdbFindFirstNamedTag, SdbTagIDToTagRef, SdbGetLayerTagRef - Implement SdbFindFirstNamedTag, SdbTagIDToTagRef, SdbGetLayerTagRef - Add a version resource to apphelp, so that we can use it to identify which tests to use. svn path=/trunk/; revision=73083
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
#ifndef APPHELP_APITEST_H
|
|
#define APPHELP_APITEST_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
/* data.c */
|
|
void test_create_db_imp(const char* name, int win10);
|
|
DWORD test_get_db_size();
|
|
void test_create_exe_imp(const char* name, int skip_rsrc_exports);
|
|
void test_create_file_imp(const char* name, const char* contents, size_t len);
|
|
void test_create_ne_imp(const char* name, int skip_names);
|
|
DWORD get_host_winver(void);
|
|
DWORD get_module_version(HMODULE mod);
|
|
void silence_debug_output(void); // Silence output if the environment variable is not set.
|
|
|
|
#define test_create_db (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_db_imp
|
|
#define test_create_exe (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_exe_imp
|
|
#define test_create_file (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_file_imp
|
|
#define test_create_ne (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_ne_imp
|
|
|
|
|
|
static DWORD g_WinVersion;
|
|
|
|
#define WINVER_ANY 0
|
|
#define WINVER_WINXP 0x0501
|
|
#define WINVER_2003 0x0502
|
|
#define WINVER_VISTA 0x0600
|
|
#define WINVER_WIN7 0x0601
|
|
#define WINVER_WIN8 0x0602
|
|
#define WINVER_WIN10 0x0a00
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif // APPHELP_APITEST_H
|