source: trunk/src/msvcrt/msvcrt.cpp@ 1103

Last change on this file since 1103 was 1103, checked in by sandervl, 26 years ago

Added stubs + forwarders

File size: 5.4 KB
Line 
1/* $Id: msvcrt.cpp,v 1.2 1999-10-01 16:02:32 sandervl Exp $ */
2
3/*
4 * The Visual C RunTime DLL
5 *
6 * Implements Visual C run-time functionality
7 *
8 * Copyright 1999 Jens Wiessner
9 */
10
11
12#include <os2win.h>
13#include <wchar.h>
14#include "debugtools.h"
15#include <debugdefs.h>
16
17
18DEFAULT_DEBUG_CHANNEL(msvcrt)
19
20
21/*********************************************************************
22 * _XcptFilter (MSVCRT.21)
23 * FIXME - Could not find anything about it
24 */
25INT CDECL MSVCRT__XcptFilter(DWORD ret)
26{
27 dprintf(("MSVCRT: _XcptFilter not implemented.\n"));
28 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
29 return FALSE;
30}
31
32
33/*********************************************************************
34 * _CxxThrowException (MSVCRT.66)
35 * FIXME - Could not find anything about it
36 */
37INT CDECL MSVCRT__CxxThrowException(DWORD ret)
38{
39 dprintf(("MSVCRT: _CxxThrowException not implemented.\n"));
40 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
41 return FALSE;
42}
43
44
45/*********************************************************************
46 * _EH_prolog (MSVCRT.67)
47 * FIXME - Could not find anything about it
48 */
49INT CDECL MSVCRT__EH_prolog(DWORD ret)
50{
51 dprintf(("MSVCRT: _EH_prolog not implemented.\n"));
52 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
53 return FALSE;
54}
55
56
57/*********************************************************************
58 * __CxxFrameHandler (MSVCRT.74)
59 * FIXME - Could not find anything about it
60 */
61INT CDECL MSVCRT___CxxFrameHandler(DWORD ret)
62{
63 dprintf(("MSVCRT: __CxxFrameHandler not implemented.\n"));
64 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
65 return FALSE;
66}
67
68
69/*********************************************************************
70 * _getws (MSVCRT.261)
71 */
72wchar_t * CDECL MSVCRT__getws( wchar_t *s )
73{
74 dprintf(("MSVCRT: _getws not implemented.\n"));
75 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
76 return FALSE;
77}
78
79
80/*********************************************************************
81 * _ismbbkprint (MSVCRT.284)
82 */
83int CDECL MSVCRT__ismbbkprint( unsigned int ch )
84{
85 dprintf(("MSVCRT: _ismbbkprint not implemented.\n"));
86 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
87 return FALSE;
88}
89
90
91/*********************************************************************
92 * _ismbcalnum (MSVCRT.290)
93 */
94int CDECL MSVCRT__ismbcalnum( unsigned int ch )
95{
96 dprintf(("MSVCRT: _ismbcalnum not implemented.\n"));
97 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
98 return FALSE;
99}
100
101
102/*********************************************************************
103 * _ismbcgraph (MSVCRT.293)
104 */
105int CDECL MSVCRT__ismbcgraph( unsigned int ch )
106{
107 dprintf(("MSVCRT: _ismbcgraph not implemented.\n"));
108 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
109 return FALSE;
110}
111
112
113/*********************************************************************
114 * _ismbcpunct (MSVCRT.302)
115 */
116int CDECL MSVCRT__ismbcpunct( unsigned int ch )
117{
118 dprintf(("MSVCRT: _ismbcpunct not implemented.\n"));
119 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
120 return FALSE;
121}
122
123
124/*********************************************************************
125 * _putws (MSVCRT.407)
126 */
127int CDECL MSVCRT__putws( const wchar_t *s )
128{
129 dprintf(("MSVCRT: _putws not implemented.\n"));
130 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
131 return FALSE;
132}
133
134
135/*********************************************************************
136 * _strncoll (MSVCRT.453)
137 */
138int CDECL MSVCRT__strncoll( const char *s1, const char *s2, size_t n )
139{
140 dprintf(("MSVCRT: _strncoll not implemented.\n"));
141 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
142 return FALSE;
143}
144
145
146/*********************************************************************
147 * _strnicoll (MSVCRT.455)
148 */
149int CDECL MSVCRT__strnicoll( const char *s1, const char *s2, size_t n )
150{
151 dprintf(("MSVCRT: _strnicoll not implemented.\n"));
152 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
153 return FALSE;
154}
155
156
157/*********************************************************************
158 * fgetws (MSVCRT.597)
159 */
160wchar_t * CDECL MSVCRT_fgetws( wchar_t *s, int n, FILE *strm )
161{
162 dprintf(("MSVCRT: fgetws\n"));
163 return (fgetws(s, n, strm));
164}
165
166
167/*********************************************************************
168 * fputws (MSVCRT.605)
169 */
170int CDECL MSVCRT_fputws( const wchar_t *s, FILE *strm )
171{
172 dprintf(("MSVCRT: fputws\n"));
173 return (fputws(s, strm));
174}
175
176
177/*********************************************************************
178 * getwc (MSVCRT.621)
179 */
180wint_t CDECL MSVCRT_getwc( FILE * strm)
181{
182 dprintf(("MSVCRT: getwc\n"));
183 return (getwc(strm));
184}
185
186
187/*********************************************************************
188 * getwchar (MSVCRT.622)
189 */
190wint_t CDECL MSVCRT_getwchar( void )
191{
192 dprintf(("MSVCRT: getwchar\n"));
193 return (getwchar());
194}
195
196
197/*********************************************************************
198 * putwc (MSVCRT.675)
199 */
200wint_t CDECL MSVCRT_putwc( wint_t t, FILE * strm)
201{
202 dprintf(("MSVCRT: putwc not implemented.\n"));
203 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
204 return FALSE;
205}
206
207
208/*********************************************************************
209 * putwchar (MSVCRT.676)
210 */
211wint_t CDECL MSVCRT_putwchar( wint_t t)
212{
213 dprintf(("MSVCRT: putwchar not implemented.\n"));
214 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
215 return FALSE;
216}
Note: See TracBrowser for help on using the repository browser.