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