2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
[reactos.git] / reactos / lib / gdi32 / misc / stubsw.c
1 /* $Id: stubsw.c,v 1.10 2003/07/10 15:35:49 chorns Exp $
2 *
3 * reactos/lib/gdi32/misc/stubs.c
4 *
5 * GDI32.DLL Stubs for Unicode functions
6 *
7 * When you implement one of these functions,
8 * remove its stub from this file.
9 *
10 */
11 #define UNICODE
12 #include <windows.h>
13 #include <win32k/kapi.h>
14
15 /*
16 * @unimplemented
17 */
18 int
19 STDCALL
20 AddFontResourceW(
21 LPCWSTR a0
22 )
23 {
24 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
25 return 0;
26 }
27
28
29 /*
30 * @unimplemented
31 */
32 HMETAFILE
33 STDCALL
34 CopyMetaFileW(
35 HMETAFILE a0,
36 LPCWSTR a1
37 )
38 {
39 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
40 return 0;
41 }
42
43
44 /*
45 * @unimplemented
46 */
47 HDC
48 STDCALL
49 CreateICW(
50 LPCWSTR a0,
51 LPCWSTR a1,
52 LPCWSTR a2,
53 CONST DEVMODEW * a3
54 )
55 {
56 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
57 return 0;
58 }
59
60
61 /*
62 * @unimplemented
63 */
64 HDC
65 STDCALL
66 CreateMetaFileW(
67 LPCWSTR a0
68 )
69 {
70 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
71 return 0;
72 }
73
74
75 /*
76 * @unimplemented
77 */
78 BOOL
79 STDCALL
80 CreateScalableFontResourceW(
81 DWORD a0,
82 LPCWSTR a1,
83 LPCWSTR a2,
84 LPCWSTR a3
85 )
86 {
87 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
88 return FALSE;
89 }
90
91
92 /*
93 * @unimplemented
94 */
95 int
96 STDCALL
97 DeviceCapabilitiesExW(
98 LPCWSTR a0,
99 LPCWSTR a1,
100 WORD a2,
101 LPWSTR a3,
102 CONST DEVMODEW *a4
103 )
104 {
105 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
106 return 0;
107 }
108
109
110 /*
111 * @unimplemented
112 */
113 int
114 STDCALL
115 EnumFontFamiliesExW(
116 HDC a0,
117 LPLOGFONT a1,
118 FONTENUMEXPROC a2,
119 LPARAM a3,
120 DWORD a4
121 )
122 {
123 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
124 return 0;
125 }
126
127
128 /*
129 * @unimplemented
130 */
131 int
132 STDCALL
133 EnumFontFamiliesW(
134 HDC a0,
135 LPCWSTR a1,
136 FONTENUMPROC a2,
137 LPARAM a3
138 )
139 {
140 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
141 return 0;
142 }
143
144
145 /*
146 * @unimplemented
147 */
148 int
149 STDCALL
150 EnumFontsW(
151 HDC a0,
152 LPCWSTR a1,
153 ENUMFONTSPROC a2,
154 LPARAM a3
155 )
156 {
157 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
158 return 0;
159 }
160
161
162 /*
163 * @unimplemented
164 */
165 BOOL
166 STDCALL
167 GetCharWidthW(
168 HDC a0,
169 UINT a1,
170 UINT a2,
171 LPINT a3
172 )
173 {
174 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
175 return FALSE;
176 }
177
178
179 /*
180 * @unimplemented
181 */
182 BOOL
183 STDCALL
184 GetCharWidth32W(
185 HDC a0,
186 UINT a1,
187 UINT a2,
188 LPINT a3
189 )
190 {
191 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
192 return FALSE;
193 }
194
195
196 /*
197 * @unimplemented
198 */
199 BOOL
200 APIENTRY
201 GetCharWidthFloatW(
202 HDC a0,
203 UINT a1,
204 UINT a2,
205 PFLOAT a3
206 )
207 {
208 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
209 return FALSE;
210 }
211
212
213 /*
214 * @unimplemented
215 */
216 BOOL
217 APIENTRY
218 GetCharABCWidthsW(
219 HDC a0,
220 UINT a1,
221 UINT a2,
222 LPABC a3
223 )
224 {
225 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
226 return FALSE;
227 }
228
229
230 /*
231 * @unimplemented
232 */
233 BOOL
234 APIENTRY
235 GetCharABCWidthsFloatW(
236 HDC a0,
237 UINT a1,
238 UINT a2,
239 LPABCFLOAT a3
240 )
241 {
242 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
243 return FALSE;
244 }
245
246
247 /*
248 * @unimplemented
249 */
250 DWORD
251 STDCALL
252 GetGlyphOutlineW(
253 HDC a0,
254 UINT a1,
255 UINT a2,
256 LPGLYPHMETRICS a3,
257 DWORD a4,
258 LPVOID a5,
259 CONST MAT2 *a6
260 )
261 {
262 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
263 return 0;
264 }
265
266
267 /*
268 * @unimplemented
269 */
270 HMETAFILE
271 STDCALL
272 GetMetaFileW(
273 LPCWSTR a0
274 )
275 {
276 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
277 return 0;
278 }
279
280
281 /*
282 * @unimplemented
283 */
284 UINT
285 APIENTRY
286 GetOutlineTextMetricsW(
287 HDC a0,
288 UINT a1,
289 LPOUTLINETEXTMETRICW a2
290 )
291 {
292 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
293 return 0;
294 }
295
296
297 /*
298 * @unimplemented
299 */
300 BOOL
301 APIENTRY
302 GetTextExtentExPointW(
303 HDC hDc,
304 LPCWSTR a1,
305 int a2,
306 int a3,
307 LPINT a4,
308 LPINT a5,
309 LPSIZE a6
310 )
311 {
312 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
313 return FALSE;
314 }
315
316
317 /*
318 * @unimplemented
319 */
320 DWORD
321 STDCALL
322 GetCharacterPlacementW(
323 HDC hDc,
324 LPCWSTR a1,
325 int a2,
326 int a3,
327 LPGCP_RESULTS a4,
328 DWORD a5
329 )
330 {
331 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
332 return 0;
333 }
334
335
336 /*
337 * @unimplemented
338 */
339 HDC
340 STDCALL
341 ResetDCW(
342 HDC a0,
343 CONST DEVMODEW *a1
344 )
345 {
346 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
347 return 0;
348 }
349
350
351 /*
352 * @unimplemented
353 */
354 BOOL
355 STDCALL
356 RemoveFontResourceW(
357 LPCWSTR a0
358 )
359 {
360 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
361 return FALSE;
362 }
363
364
365 /*
366 * @unimplemented
367 */
368 HENHMETAFILE
369 STDCALL
370 CopyEnhMetaFileW(
371 HENHMETAFILE a0,
372 LPCWSTR a1
373 )
374 {
375 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
376 return 0;
377 }
378
379
380 /*
381 * @unimplemented
382 */
383 HDC
384 STDCALL
385 CreateEnhMetaFileW(
386 HDC a0,
387 LPCWSTR a1,
388 CONST RECT *a2,
389 LPCWSTR a3
390 )
391 {
392 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
393 return 0;
394 }
395
396
397 /*
398 * @unimplemented
399 */
400 HENHMETAFILE
401 STDCALL
402 GetEnhMetaFileW(
403 LPCWSTR a0
404 )
405 {
406 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
407 return 0;
408 }
409
410
411 /*
412 * @unimplemented
413 */
414 UINT
415 STDCALL
416 GetEnhMetaFileDescriptionW(
417 HENHMETAFILE a0,
418 UINT a1,
419 LPWSTR a2
420 )
421 {
422 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
423 return 0;
424 }
425
426
427 /*
428 * @unimplemented
429 */
430 int
431 STDCALL
432 StartDocW(
433 HDC hdc,
434 CONST DOCINFO *a1
435 )
436 {
437 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
438 return 0;
439 }
440
441
442 /*
443 * @unimplemented
444 */
445 int
446 STDCALL
447 GetObjectW(
448 HGDIOBJ a0,
449 int a1,
450 LPVOID a2
451 )
452 {
453 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
454 return 0;
455 }
456
457
458 /*
459 * @unimplemented
460 */
461 BOOL
462 STDCALL
463 PolyTextOutW(
464 HDC hdc,
465 CONST POLYTEXT *a1,
466 int a2
467 )
468 {
469 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
470 return FALSE;
471 }
472
473
474 /*
475 * @unimplemented
476 */
477 int
478 STDCALL
479 GetTextFaceW(
480 HDC a0,
481 int a1,
482 LPWSTR a2
483 )
484 {
485 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
486 return 0;
487 }
488
489
490 /*
491 * @unimplemented
492 */
493 DWORD
494 STDCALL
495 GetKerningPairsW(
496 HDC a0,
497 DWORD a1,
498 LPKERNINGPAIR a2
499 )
500 {
501 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
502 return 0;
503 }
504
505
506 /*
507 * @unimplemented
508 */
509 BOOL
510 STDCALL
511 GetLogColorSpaceW(
512 HCOLORSPACE a0,
513 LPLOGCOLORSPACE a1,
514 DWORD a2
515 )
516 {
517 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
518 return FALSE;
519 }
520
521 /*
522 * @unimplemented
523 */
524 HCOLORSPACE
525 STDCALL
526 CreateColorSpaceW(
527 LPLOGCOLORSPACE a0
528 )
529 {
530 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
531 return 0;
532 }
533
534
535 /*
536 * @unimplemented
537 */
538 WINBOOL
539 STDCALL
540 GetICMProfileW(
541 HDC a0,
542 DWORD a1, /* MS says LPDWORD! */
543 LPWSTR a2
544 )
545 {
546 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
547 return FALSE;
548 }
549
550
551 /*
552 * @unimplemented
553 */
554 BOOL
555 STDCALL
556 SetICMProfileW(
557 HDC a0,
558 LPWSTR a1
559 )
560 {
561 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
562 return FALSE;
563 }
564
565
566 /*
567 * @unimplemented
568 */
569 int
570 STDCALL
571 EnumICMProfilesW(
572 HDC a0,
573 ICMENUMPROC a1,
574 LPARAM a2
575 )
576 {
577 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
578 return 0;
579 }
580
581
582 /*
583 * @unimplemented
584 */
585 BOOL
586 STDCALL
587 wglUseFontBitmapsW(
588 HDC a0,
589 DWORD a1,
590 DWORD a2,
591 DWORD a3
592 )
593 {
594 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
595 return FALSE;
596 }
597
598
599 /*
600 * @unimplemented
601 */
602 BOOL
603 STDCALL
604 wglUseFontOutlinesW(
605 HDC a0,
606 DWORD a1,
607 DWORD a2,
608 DWORD a3,
609 FLOAT a4,
610 FLOAT a5,
611 int a6,
612 LPGLYPHMETRICSFLOAT a7
613 )
614 {
615 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
616 return FALSE;
617 }
618
619
620 /*
621 * @unimplemented
622 */
623 WINBOOL
624 STDCALL
625 UpdateICMRegKeyW(
626 DWORD a0,
627 DWORD a1,
628 LPWSTR a2,
629 UINT a3
630 )
631 {
632 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
633 return FALSE;
634 }
635
636
637 /* === AFTER THIS POINT I GUESS... =========
638 * (based on stack size in Norlander's .def)
639 * === WHERE ARE THEY DEFINED? =============
640 */
641
642
643 /*
644 * @unimplemented
645 */
646 DWORD
647 STDCALL
648 GetFontResourceInfoW(
649 DWORD a0,
650 DWORD a1,
651 DWORD a2,
652 DWORD a3
653 )
654 {
655 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
656 return 0;
657 }
658
659
660 /* EOF */