stubs for most gdi32 functions
[reactos.git] / reactos / lib / gdi32 / misc / stubsa.c
1 /* $Id: stubsa.c,v 1.1 1999/05/24 20:04:44 ea 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 #include <windows.h>
15
16
17 int
18 STDCALL
19 AddFontResourceA(
20 LPCSTR a0
21 )
22 {
23 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
24 return 0;
25 }
26
27
28 HMETAFILE
29 STDCALL
30 CopyMetaFileA(
31 HMETAFILE a0,
32 LPCSTR a1
33 )
34 {
35 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
36 return 0;
37 }
38
39
40 HDC
41 STDCALL
42 CreateDCA(
43 LPCSTR a0,
44 LPCSTR a1,
45 LPCSTR a2,
46 CONST DEVMODE *a3
47 )
48 {
49 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
50 return 0;
51 }
52
53
54 HFONT
55 STDCALL
56 CreateFontIndirectA(
57 CONST LOGFONT *a0
58 )
59 {
60 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
61 return 0;
62 }
63
64
65
66 HFONT
67 STDCALL
68 CreateFontA(
69 int a0,
70 int a1,
71 int a2,
72 int a3,
73 int a4,
74 DWORD a5,
75 DWORD a6,
76 DWORD a7,
77 DWORD a8,
78 DWORD a9,
79 DWORD a10,
80 DWORD a11,
81 DWORD a12,
82 LPCSTR a13
83 )
84 {
85 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
86 return 0;
87 }
88
89
90 HDC
91 STDCALL
92 CreateICA(
93 LPCSTR a0,
94 LPCSTR a1,
95 LPCSTR a2,
96 CONST DEVMODE * a3
97 )
98 {
99 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
100 return 0;
101 }
102
103
104 HDC
105 STDCALL
106 CreateMetaFileA(
107 LPCSTR a0
108 )
109 {
110 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
111 return 0;
112 }
113
114
115 BOOL
116 STDCALL
117 CreateScalableFontResourceA(
118 DWORD a0,
119 LPCSTR a1,
120 LPCSTR a2,
121 LPCSTR a3
122 )
123 {
124 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
125 return FALSE;
126 }
127
128
129 int
130 STDCALL
131 DeviceCapabilitiesExA(
132 LPCSTR a0,
133 LPCSTR a1,
134 WORD a2,
135 LPSTR a3,
136 CONST DEVMODE *a4
137 )
138 {
139 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
140 return 0;
141 }
142
143
144 int
145 STDCALL
146 EnumFontFamiliesExA(
147 HDC a0,
148 LPLOGFONT a1,
149 FONTENUMEXPROC a2,
150 LPARAM a3,
151 DWORD a4
152 )
153 {
154 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
155 return 0;
156 }
157
158
159 int
160 STDCALL
161 EnumFontFamiliesA(
162 HDC a0,
163 LPCSTR a1,
164 FONTENUMPROC a2,
165 LPARAM a3
166 )
167 {
168 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
169 return 0;
170 }
171
172
173 int
174 STDCALL
175 EnumFontsA(
176 HDC a0,
177 LPCSTR a1,
178 ENUMFONTSPROC a2,
179 LPARAM a3
180 )
181 {
182 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
183 return 0;
184 }
185
186
187 BOOL
188 STDCALL
189 GetCharWidthA(
190 HDC a0,
191 UINT a1,
192 UINT a2,
193 LPINT a3
194 )
195 {
196 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
197 return FALSE;
198 }
199
200
201 BOOL
202 STDCALL
203 GetCharWidth32A(
204 HDC a0,
205 UINT a1,
206 UINT a2,
207 LPINT a3
208 )
209 {
210 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
211 return FALSE;
212 }
213
214
215 BOOL
216 APIENTRY
217 GetCharWidthFloatA(
218 HDC a0,
219 UINT a1,
220 UINT a2,
221 PFLOAT a3
222 )
223 {
224 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
225 return FALSE;
226 }
227
228
229 BOOL
230 APIENTRY
231 GetCharABCWidthsA(
232 HDC a0,
233 UINT a1,
234 UINT a2,
235 LPABC a3
236 )
237 {
238 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
239 return FALSE;
240 }
241
242
243 BOOL
244 APIENTRY
245 GetCharABCWidthsFloatA(
246 HDC a0,
247 UINT a1,
248 UINT a2,
249 LPABCFLOAT a3
250 )
251 {
252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
253 return FALSE;
254 }
255
256
257 DWORD
258 STDCALL
259 GetGlyphOutlineA(
260 HDC a0,
261 UINT a1,
262 UINT a2,
263 LPGLYPHMETRICS a3,
264 DWORD a4,
265 LPVOID a5,
266 CONST MAT2 *a6
267 )
268 {
269 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
270 return 0;
271 }
272
273
274 HMETAFILE
275 STDCALL
276 GetMetaFileA(
277 LPCSTR a0
278 )
279 {
280 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
281 return 0;
282 }
283
284
285 UINT
286 APIENTRY
287 GetOutlineTextMetricsA(
288 HDC a0,
289 UINT a1,
290 LPOUTLINETEXTMETRIC a2
291 )
292 {
293 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
294 return 0;
295 }
296
297
298 BOOL
299 APIENTRY
300 GetTextExtentPointA(
301 HDC hDc,
302 LPCSTR a1,
303 int a2,
304 LPSIZE a3
305 )
306 {
307 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
308 return FALSE;
309 }
310
311
312 BOOL
313 APIENTRY
314 GetTextExtentPoint32A(
315 HDC hDc,
316 LPCSTR a1,
317 int a2,
318 LPSIZE a3
319 )
320 {
321 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
322 return FALSE;
323 }
324
325
326 BOOL
327 APIENTRY
328 GetTextExtentExPointA(
329 HDC hDc,
330 LPCSTR a1,
331 int a2,
332 int a3,
333 LPINT a4,
334 LPINT a5,
335 LPSIZE a6
336 )
337 {
338 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
339 return FALSE;
340 }
341
342
343 DWORD
344 STDCALL
345 GetCharacterPlacementA(
346 HDC hDc,
347 LPCSTR a1,
348 int a2,
349 int a3,
350 LPGCP_RESULTS a4,
351 DWORD a5
352 )
353 {
354 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
355 return 0;
356 }
357
358
359 HDC
360 STDCALL
361 ResetDCA(
362 HDC a0,
363 CONST DEVMODE *a1
364 )
365 {
366 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
367 return 0;
368 }
369
370
371 BOOL
372 STDCALL
373 RemoveFontResourceA(
374 LPCSTR a0
375 )
376 {
377 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
378 return FALSE;
379 }
380
381
382 HENHMETAFILE
383 STDCALL
384 CopyEnhMetaFileA(
385 HENHMETAFILE a0,
386 LPCSTR a1
387 )
388 {
389 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
390 return 0;
391 }
392
393
394 HDC
395 STDCALL
396 CreateEnhMetaFileA(
397 HDC a0,
398 LPCSTR a1,
399 CONST RECT *a2,
400 LPCSTR a3
401 )
402 {
403 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
404 return 0;
405 }
406
407
408 HENHMETAFILE
409 STDCALL
410 GetEnhMetaFileA(
411 LPCSTR a0
412 )
413 {
414 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
415 return 0;
416 }
417
418
419 UINT
420 STDCALL
421 GetEnhMetaFileDescriptionA(
422 HENHMETAFILE a0,
423 UINT a1,
424 LPSTR a2
425 )
426 {
427 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
428 return 0;
429 }
430
431
432 BOOL
433 STDCALL
434 GetTextMetricsA(
435 HDC hdc,
436 LPTEXTMETRIC a1
437 )
438 {
439 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
440 return FALSE;
441 }
442
443
444 int
445 STDCALL
446 StartDocA(
447 HDC hdc,
448 CONST DOCINFO *a1
449 )
450 {
451 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
452 return 0;
453 }
454
455
456 int
457 STDCALL
458 GetObjectA(
459 HGDIOBJ a0,
460 int a1,
461 LPVOID a2
462 )
463 {
464 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
465 return 0;
466 }
467
468
469 BOOL
470 STDCALL
471 TextOutA(
472 HDC hdc,
473 int a1,
474 int a2,
475 LPCSTR a3,
476 int a4
477 )
478 {
479 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
480 return FALSE;
481 }
482
483
484 BOOL
485 STDCALL
486 ExtTextOutA(
487 HDC hdc,
488 int a1,
489 int a2,
490 UINT a3,
491 CONST RECT *a4,
492 LPCSTR a5,
493 UINT a6,
494 CONST INT *a7
495 )
496 {
497 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
498 return FALSE;
499 }
500
501
502 BOOL
503 STDCALL
504 PolyTextOutA(
505 HDC hdc,
506 CONST POLYTEXT *a1,
507 int a2
508 )
509 {
510 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
511 return FALSE;
512 }
513
514
515 int
516 STDCALL
517 GetTextFaceA(
518 HDC a0,
519 int a1,
520 LPSTR a2
521 )
522 {
523 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
524 return FALSE;
525 }
526
527
528 DWORD
529 STDCALL
530 GetKerningPairsA(
531 HDC a0,
532 DWORD a1,
533 LPKERNINGPAIR a2
534 )
535 {
536 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
537 return 0;
538 }
539
540
541 BOOL
542 STDCALL
543 GetLogColorSpaceA(
544 HCOLORSPACE a0,
545 LPLOGCOLORSPACE a1,
546 DWORD a2
547 )
548 {
549 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
550 return FALSE;
551 }
552
553
554 HCOLORSPACE
555 STDCALL
556 CreateColorSpaceA(
557 LPLOGCOLORSPACE a0
558 )
559 {
560 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
561 return 0;
562 }
563
564
565 WINBOOL
566 STDCALL
567 GetICMProfileA(
568 HDC a0,
569 DWORD a1, /* MS says LPDWORD! */
570 LPSTR a2
571 )
572 {
573 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
574 return FALSE;
575 }
576
577
578 BOOL
579 STDCALL
580 SetICMProfileA(
581 HDC a0,
582 LPSTR a1
583 )
584 {
585 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
586 return FALSE;
587 }
588
589
590 int
591 STDCALL
592 EnumICMProfilesA(
593 HDC a0,
594 ICMENUMPROC a1,
595 LPARAM a2
596 )
597 {
598 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
599 return 0;
600 }
601
602
603 BOOL
604 STDCALL
605 wglUseFontBitmapsA(
606 HDC a0,
607 DWORD a1,
608 DWORD a2,
609 DWORD a3
610 )
611 {
612 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
613 return FALSE;
614 }
615
616
617 BOOL
618 STDCALL
619 wglUseFontOutlinesA(
620 HDC a0,
621 DWORD a1,
622 DWORD a2,
623 DWORD a3,
624 FLOAT a4,
625 FLOAT a5,
626 int a6,
627 LPGLYPHMETRICSFLOAT a7
628 )
629 {
630 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
631 return FALSE;
632 }
633
634
635 WINBOOL
636 STDCALL
637 UpdateICMRegKeyA(
638 DWORD a0,
639 DWORD a1,
640 LPSTR a2,
641 UINT a3
642 )
643 {
644 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
645 return FALSE;
646 }
647
648
649 /* EOF */