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