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