[MSVCRT]
[reactos.git] / dll / win32 / msvcrt / msvcrt_stubs.c
1
2 #include <stdarg.h>
3 #include "windef.h"
4 #include "winbase.h"
5 #include "wine/config.h"
6 #include "wine/exception.h"
7
8 #define NDEBUG
9 #include <debug.h>
10
11 int __get_app_type()
12 {
13 UNIMPLEMENTED;
14 return 0;
15 }
16
17 int _fileinfo;
18
19 void *
20 __p__fileinfo()
21 {
22 return &_fileinfo;
23 }
24
25 unsigned char _mbcasemap[1];
26
27 void *
28 __p__mbcasemap()
29 {
30 return _mbcasemap;
31 }
32
33 int _atodbl(
34 void * value,
35 char * str)
36 {
37 UNIMPLEMENTED;
38 return 0;
39 }
40
41 int _ismbbkprint(
42 unsigned int c)
43 {
44 UNIMPLEMENTED;
45 return 0;
46 }
47
48 int _inp(
49 unsigned short port)
50 {
51 UNIMPLEMENTED;
52 return 0;
53 }
54
55 unsigned short _inpw(
56 unsigned short port)
57 {
58 UNIMPLEMENTED;
59 return 0;
60 }
61
62 unsigned long _inpd(
63 unsigned short port)
64 {
65 return 0;
66 }
67
68
69 int _outp(
70 unsigned short port,
71 int databyte)
72 {
73 UNIMPLEMENTED;
74 return 0;
75 }
76
77 unsigned short _outpw(
78 unsigned short port,
79 unsigned short dataword)
80 {
81 UNIMPLEMENTED;
82 return 0;
83 }
84
85 unsigned long _outpd(
86 unsigned short port,
87 unsigned long dataword)
88 {
89 UNIMPLEMENTED;
90 return 0;
91 }
92
93 void __wine_spec_unimplemented_stub( const char *module, const char *function )
94 {
95 ULONG_PTR args[2];
96
97 args[0] = (ULONG_PTR)module;
98 args[1] = (ULONG_PTR)function;
99 RaiseException( EXCEPTION_WINE_STUB, EH_NONCONTINUABLE, 2, args );
100 }
101
102 static const char __wine_spec_file_name[] = "msvcrt.dll";
103
104 void __wine_stub_msvcrt_dll_115(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "__lc_collate"); }
105 void __wine_stub_msvcrt_dll_140(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "__p__pwctype"); }
106 void __wine_stub_msvcrt_dll_151(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "__pxcptinfoptrs"); }
107 void __wine_stub_msvcrt_dll_267(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_fpieee_flt"); }
108 void __wine_stub_msvcrt_dll_288(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_get_terminate"); }
109 void __wine_stub_msvcrt_dll_289(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_get_unexpected"); }
110 void __wine_stub_msvcrt_dll_301(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_getsystime"); }
111 void __wine_stub_msvcrt_dll_311(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_heapused"); }
112 void __wine_stub_msvcrt_dll_323(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbbalnum"); }
113 void __wine_stub_msvcrt_dll_324(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbbalpha"); }
114 void __wine_stub_msvcrt_dll_325(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbbgraph"); }
115 void __wine_stub_msvcrt_dll_326(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbbkalnum"); }
116 void __wine_stub_msvcrt_dll_329(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbbkpunct"); }
117 void __wine_stub_msvcrt_dll_331(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbbprint"); }
118 void __wine_stub_msvcrt_dll_332(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbbpunct"); }
119 void __wine_stub_msvcrt_dll_340(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbcl0"); }
120 void __wine_stub_msvcrt_dll_341(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbcl1"); }
121 void __wine_stub_msvcrt_dll_342(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_ismbcl2"); }
122 void __wine_stub_msvcrt_dll_380(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_mbcjmstojis"); }
123 void __wine_stub_msvcrt_dll_382(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_mbctohira"); }
124 void __wine_stub_msvcrt_dll_383(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_mbctokata"); }
125 void __wine_stub_msvcrt_dll_405(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_mbsnbcoll"); }
126 void __wine_stub_msvcrt_dll_409(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_mbsnbicoll"); }
127 void __wine_stub_msvcrt_dll_414(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_mbsncoll"); }
128 void __wine_stub_msvcrt_dll_418(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_mbsnicoll"); }
129 void __wine_stub_msvcrt_dll_480(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_setsystime"); }
130 void __wine_stub_msvcrt_dll_505(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_strncoll"); }
131 void __wine_stub_msvcrt_dll_507(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_strnicoll"); }
132 void __wine_stub_msvcrt_dll_556(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_wcsncoll"); }
133 void __wine_stub_msvcrt_dll_558(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_wcsnicoll"); }
134 void __wine_stub_msvcrt_dll_598(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_wperror"); }
135 void __wine_stub_msvcrt_dll_625(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "_wtmpnam"); }
136 void __wine_stub_msvcrt_dll_832(void) { __wine_spec_unimplemented_stub(__wine_spec_file_name, "wcsxfrm"); }