Use free Windows DDK and compile with latest MinGW releases.
[reactos.git] / reactos / lib / gdi32 / misc / stubsa.c
1 /* $Id: stubsa.c,v 1.7 2002/09/07 15:12:24 chorns Exp $
2 *
3 * reactos/lib/gdi32/misc/stubs.c
4 *
5 * GDI32.DLL Stubs for ANSI functions
6 *
7 * When you implement one of these functions,
8 * remove its stub from this file.
9 *
10 */
11 #ifdef UNICODE
12 #undef UNICODE
13 #endif
14
15 #undef WIN32_LEAN_AND_MEAN
16 #include <windows.h>
17 #include <ddk/ntddk.h>
18
19 int
20 STDCALL
21 AddFontResourceA(
22 LPCSTR a0
23 )
24 {
25 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
26 return 0;
27 }
28
29
30 HMETAFILE
31 STDCALL
32 CopyMetaFileA(
33 HMETAFILE a0,
34 LPCSTR a1
35 )
36 {
37 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
38 return 0;
39 }
40
41 HDC
42 STDCALL
43 CreateICA(
44 LPCSTR a0,
45 LPCSTR a1,
46 LPCSTR a2,
47 CONST DEVMODEA * a3
48 )
49 {
50 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
51 return 0;
52 }
53
54
55 HDC
56 STDCALL
57 CreateMetaFileA(
58 LPCSTR a0
59 )
60 {
61 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
62 return 0;
63 }
64
65
66 BOOL
67 STDCALL
68 CreateScalableFontResourceA(
69 DWORD a0,
70 LPCSTR a1,
71 LPCSTR a2,
72 LPCSTR a3
73 )
74 {
75 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
76 return FALSE;
77 }
78
79
80 int
81 STDCALL
82 DeviceCapabilitiesExA(
83 LPCSTR a0,
84 LPCSTR a1,
85 WORD a2,
86 LPSTR a3,
87 CONST DEVMODEA *a4
88 )
89 {
90 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
91 return 0;
92 }
93
94
95 int
96 STDCALL
97 EnumFontFamiliesExA(
98 HDC a0,
99 LPLOGFONT a1,
100 FONTENUMPROCA a2,
101 LPARAM a3,
102 DWORD a4
103 )
104 {
105 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
106 return 0;
107 }
108
109
110 int
111 STDCALL
112 EnumFontFamiliesA(
113 HDC a0,
114 LPCSTR a1,
115 FONTENUMPROCA a2,
116 LPARAM a3
117 )
118 {
119 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
120 return 0;
121 }
122
123
124 int
125 STDCALL
126 EnumFontsA(
127 HDC a0,
128 LPCSTR a1,
129 FONTENUMPROCA a2,
130 LPARAM a3
131 )
132 {
133 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
134 return 0;
135 }
136
137
138 BOOL
139 STDCALL
140 GetCharWidthA(
141 HDC a0,
142 UINT a1,
143 UINT a2,
144 LPINT a3
145 )
146 {
147 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
148 return FALSE;
149 }
150
151
152 BOOL
153 STDCALL
154 GetCharWidth32A(
155 HDC a0,
156 UINT a1,
157 UINT a2,
158 LPINT a3
159 )
160 {
161 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
162 return FALSE;
163 }
164
165
166 BOOL
167 APIENTRY
168 GetCharWidthFloatA(
169 HDC a0,
170 UINT a1,
171 UINT a2,
172 PFLOAT a3
173 )
174 {
175 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
176 return FALSE;
177 }
178
179
180 BOOL
181 APIENTRY
182 GetCharABCWidthsA(
183 HDC a0,
184 UINT a1,
185 UINT a2,
186 LPABC a3
187 )
188 {
189 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
190 return FALSE;
191 }
192
193
194 BOOL
195 APIENTRY
196 GetCharABCWidthsFloatA(
197 HDC a0,
198 UINT a1,
199 UINT a2,
200 LPABCFLOAT a3
201 )
202 {
203 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
204 return FALSE;
205 }
206
207
208 DWORD
209 STDCALL
210 GetGlyphOutlineA(
211 HDC a0,
212 UINT a1,
213 UINT a2,
214 LPGLYPHMETRICS a3,
215 DWORD a4,
216 LPVOID a5,
217 CONST MAT2 *a6
218 )
219 {
220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
221 return 0;
222 }
223
224
225 HMETAFILE
226 STDCALL
227 GetMetaFileA(
228 LPCSTR a0
229 )
230 {
231 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
232 return 0;
233 }
234
235
236 UINT
237 APIENTRY
238 GetOutlineTextMetricsA(
239 HDC a0,
240 UINT a1,
241 LPOUTLINETEXTMETRIC a2
242 )
243 {
244 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
245 return 0;
246 }
247
248
249 BOOL
250 APIENTRY
251 GetTextExtentPoint32A(
252 HDC hDc,
253 LPCSTR a1,
254 int a2,
255 LPSIZE a3
256 )
257 {
258 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
259 return FALSE;
260 }
261
262
263 BOOL
264 APIENTRY
265 GetTextExtentExPointA(
266 HDC hDc,
267 LPCSTR a1,
268 int a2,
269 int a3,
270 LPINT a4,
271 LPINT a5,
272 LPSIZE a6
273 )
274 {
275 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
276 return FALSE;
277 }
278
279
280 DWORD
281 STDCALL
282 GetCharacterPlacementA(
283 HDC hDc,
284 LPCSTR a1,
285 int a2,
286 int a3,
287 LPGCP_RESULTS a4,
288 DWORD a5
289 )
290 {
291 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
292 return 0;
293 }
294
295
296 HDC
297 STDCALL
298 ResetDCA(
299 HDC a0,
300 CONST DEVMODEA *a1
301 )
302 {
303 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
304 return 0;
305 }
306
307
308 BOOL
309 STDCALL
310 RemoveFontResourceA(
311 LPCSTR a0
312 )
313 {
314 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
315 return FALSE;
316 }
317
318
319 HENHMETAFILE
320 STDCALL
321 CopyEnhMetaFileA(
322 HENHMETAFILE a0,
323 LPCSTR a1
324 )
325 {
326 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
327 return 0;
328 }
329
330
331 HDC
332 STDCALL
333 CreateEnhMetaFileA(
334 HDC a0,
335 LPCSTR a1,
336 CONST RECT *a2,
337 LPCSTR a3
338 )
339 {
340 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
341 return 0;
342 }
343
344
345 HENHMETAFILE
346 STDCALL
347 GetEnhMetaFileA(
348 LPCSTR a0
349 )
350 {
351 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
352 return 0;
353 }
354
355
356 UINT
357 STDCALL
358 GetEnhMetaFileDescriptionA(
359 HENHMETAFILE a0,
360 UINT a1,
361 LPSTR a2
362 )
363 {
364 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
365 return 0;
366 }
367
368
369 int
370 STDCALL
371 StartDocA(
372 HDC hdc,
373 CONST DOCINFO *a1
374 )
375 {
376 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
377 return 0;
378 }
379
380
381 int
382 STDCALL
383 GetObjectA(
384 HGDIOBJ a0,
385 int a1,
386 LPVOID a2
387 )
388 {
389 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
390 return 0;
391 }
392
393
394 BOOL
395 STDCALL
396 PolyTextOutA(
397 HDC hdc,
398 CONST POLYTEXT *a1,
399 int a2
400 )
401 {
402 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
403 return FALSE;
404 }
405
406
407 int
408 STDCALL
409 GetTextFaceA(
410 HDC a0,
411 int a1,
412 LPSTR a2
413 )
414 {
415 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
416 return FALSE;
417 }
418
419
420 DWORD
421 STDCALL
422 GetKerningPairsA(
423 HDC a0,
424 DWORD a1,
425 LPKERNINGPAIR a2
426 )
427 {
428 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
429 return 0;
430 }
431
432
433 BOOL
434 STDCALL
435 GetLogColorSpaceA(
436 HCOLORSPACE a0,
437 LPLOGCOLORSPACE a1,
438 DWORD a2
439 )
440 {
441 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
442 return FALSE;
443 }
444
445
446 HCOLORSPACE
447 STDCALL
448 CreateColorSpaceA(
449 LPLOGCOLORSPACE a0
450 )
451 {
452 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
453 return 0;
454 }
455
456
457 WINBOOL
458 STDCALL
459 GetICMProfileA(
460 HDC a0,
461 DWORD a1, /* MS says LPDWORD! */
462 LPSTR a2
463 )
464 {
465 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
466 return FALSE;
467 }
468
469
470 BOOL
471 STDCALL
472 SetICMProfileA(
473 HDC a0,
474 LPSTR a1
475 )
476 {
477 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
478 return FALSE;
479 }
480
481
482 int
483 STDCALL
484 EnumICMProfilesA(
485 HDC a0,
486 ICMENUMPROC a1,
487 LPARAM a2
488 )
489 {
490 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
491 return 0;
492 }
493
494
495 BOOL
496 STDCALL
497 wglUseFontBitmapsA(
498 HDC a0,
499 DWORD a1,
500 DWORD a2,
501 DWORD a3
502 )
503 {
504 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
505 return FALSE;
506 }
507
508
509 BOOL
510 STDCALL
511 wglUseFontOutlinesA(
512 HDC a0,
513 DWORD a1,
514 DWORD a2,
515 DWORD a3,
516 FLOAT a4,
517 FLOAT a5,
518 int a6,
519 LPGLYPHMETRICSFLOAT a7
520 )
521 {
522 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
523 return FALSE;
524 }
525
526
527 WINBOOL
528 STDCALL
529 UpdateICMRegKeyA(
530 DWORD a0,
531 DWORD a1,
532 LPSTR a2,
533 UINT a3
534 )
535 {
536 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
537 return FALSE;
538 }
539
540
541 /* EOF */