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