1 #define __ROS_LONG64__ 2 3 #define STANDALONE 4 #include <apitest.h> 5 6 #if defined(TEST_MSVCRT) 7 extern void func___rt_div(void); 8 extern void func___fto64(void); 9 extern void func__vscprintf(void); 10 extern void func__vscwprintf(void); 11 extern void func_atexit(void); 12 #endif 13 #if defined(TEST_NTDLL) 14 extern void func__vscwprintf(void); 15 #endif 16 extern void func_fputc(void); 17 extern void func_fputwc(void); 18 extern void func__snprintf(void); 19 extern void func__snwprintf(void); 20 extern void func__vsnprintf(void); 21 extern void func__vsnwprintf(void); 22 extern void func_mbstowcs(void); 23 extern void func_mbtowc(void); 24 extern void func_sprintf(void); 25 extern void func_strcpy(void); 26 extern void func_strlen(void); 27 extern void func_strnlen(void); 28 extern void func_strtoul(void); 29 extern void func_wcsnlen(void); 30 extern void func_wcstombs(void); 31 extern void func_wcstoul(void); 32 extern void func_wctomb(void); 33 extern void func___getmainargs(void); 34 35 extern void func_static_construct(void); 36 extern void func_static_init(void); 37 extern void func_crtdata(void); 38 39 const struct test winetest_testlist[] = 40 { 41 { "_vsnprintf", func__vsnprintf }, 42 { "_vsnwprintf", func__vsnwprintf }, 43 { "mbstowcs", func_mbstowcs }, 44 { "mbtowc", func_mbtowc }, 45 { "_snprintf", func__snprintf }, 46 { "_snwprintf", func__snwprintf }, 47 { "sprintf", func_sprintf }, 48 { "strcpy", func_strcpy }, 49 { "strlen", func_strlen }, 50 { "strtoul", func_strtoul }, 51 { "wcstoul", func_wcstoul }, 52 { "wctomb", func_wctomb }, 53 { "wcstombs", func_wcstombs }, 54 #if defined(TEST_CRTDLL) || defined(TEST_MSVCRT) || defined(TEST_STATIC_CRT) 55 // ... 56 #endif 57 #if defined(TEST_STATIC_CRT) || defined(TEST_MSVCRT) 58 // ... 59 #endif 60 #if defined(TEST_STATIC_CRT) 61 #elif defined(TEST_MSVCRT) 62 { "atexit", func_atexit }, 63 { "crtdata", func_crtdata }, 64 #if defined(_M_IX86) 65 { "__getmainargs", func___getmainargs }, 66 #elif defined(_M_ARM) 67 { "__rt_div", func___rt_div }, 68 { "__fto64", func___fto64 }, 69 #endif 70 { "_vscprintf", func__vscprintf }, 71 { "_vscwprintf", func__vscwprintf }, 72 73 { "static_construct", func_static_construct }, 74 { "static_init", func_static_init }, 75 #elif defined(TEST_NTDLL) 76 { "_vscwprintf", func__vscwprintf }, 77 #elif defined(TEST_CRTDLL) 78 #endif 79 { 0, 0 } 80 }; 81 82