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