xref: /reactos/dll/win32/msvcrt/stubs.c (revision 5100859e)
1 
2 #include <stubs.h>
3 
4 #undef UNIMPLEMENTED
5 #define UNIMPLEMENTED __wine_spec_unimplemented_stub("msvcrt.dll", __FUNCTION__)
6 
7 int __get_app_type()
8 {
9     UNIMPLEMENTED;
10     return 0;
11 }
12 
13 int _fileinfo = 0;
14 
15 void *
16 __p__fileinfo()
17 {
18     return &_fileinfo;
19 }
20 
21 unsigned char _mbcasemap[1];
22 
23 void *
24 __p__mbcasemap()
25 {
26     return _mbcasemap;
27 }
28 
29 int _atodbl(
30    void * value,
31    char * str)
32 {
33     UNIMPLEMENTED;
34     return 0;
35 }
36 
37 int _ismbbkprint(
38    unsigned int c)
39 {
40     UNIMPLEMENTED;
41     return 0;
42 }
43 
44 size_t _heapused( size_t *pUsed, size_t *pCommit )
45 {
46     UNIMPLEMENTED;
47     return( 0 );
48 }
49 
50 #ifdef _M_IX86
51 int MSVCRT__inp(
52    unsigned short port)
53 {
54     return _inp(port);
55 }
56 
57 unsigned short MSVCRT__inpw(
58    unsigned short port)
59 {
60     return _inpw(port);
61 }
62 
63 unsigned long MSVCRT__inpd(
64    unsigned short port)
65 {
66     return _inpd(port);
67 }
68 
69 
70 int MSVCRT__outp(
71    unsigned short port,
72    int databyte)
73 {
74     return _outp(port, databyte);
75 }
76 
77 unsigned short MSVCRT__outpw(
78    unsigned short port,
79    unsigned short dataword)
80 {
81     return _outpw(port, dataword);
82 }
83 
84 unsigned long MSVCRT__outpd(
85    unsigned short port,
86    unsigned long dataword)
87 {
88     return _outpd(port, dataword);
89 }
90 #endif
91