merge ROS Shell without integrated explorer part into trunk
[reactos.git] / reactos / 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
12 #include "precomp.h"
13
14 #define UNIMPLEMENTED DbgPrint("GDI32: %s is unimplemented, please try again later.\n", __FUNCTION__);
15
16 /*
17 * @unimplemented
18 */
19 int
20 STDCALL
21 DeviceCapabilitiesExW(
22 LPCWSTR pDevice,
23 LPCWSTR pPort,
24 WORD fwCapability,
25 LPWSTR pOutput,
26 CONST DEVMODEW *pDevMode
27 )
28 {
29 #if 0
30 /* FIXME no NtGdiDeviceCapabilities???? */
31 return NtGdiDeviceCapabilities ( pDevice,
32 pPort,
33 fwCapability,
34 pOutput,
35 pDevMode );
36 #else
37 UNIMPLEMENTED;
38 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
39 return 0;
40 #endif
41 }
42
43
44 /*
45 * @unimplemented
46 */
47 int
48 STDCALL
49 EnumFontsW(
50 HDC hDC,
51 LPCWSTR lpFaceName,
52 FONTENUMPROCW FontFunc,
53 LPARAM lParam
54 )
55 {
56 #if 0
57 return NtGdiEnumFonts ( hDC, lpFaceName, FontFunc, lParam );
58 #else
59 UNIMPLEMENTED;
60 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
61 return 0;
62 #endif
63 }
64
65
66 /*
67 * @unimplemented
68 */
69 UINT
70 APIENTRY
71 GetOutlineTextMetricsW(
72 HDC hdc,
73 UINT cbData,
74 LPOUTLINETEXTMETRICW lpOTM
75 )
76 {
77 UNIMPLEMENTED;
78 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
79 return 0;
80 }
81
82
83 /*
84 * @unimplemented
85 */
86 BOOL
87 STDCALL
88 PolyTextOutW(
89 HDC hdc,
90 CONST POLYTEXTW *a1,
91 int a2
92 )
93 {
94 UNIMPLEMENTED;
95 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
96 return FALSE;
97 }
98
99
100 /*
101 * @unimplemented
102 */
103 DWORD
104 STDCALL
105 GetKerningPairsW(
106 HDC a0,
107 DWORD a1,
108 LPKERNINGPAIR a2
109 )
110 {
111 UNIMPLEMENTED;
112 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
113 return 0;
114 }
115
116
117 /*
118 * @unimplemented
119 */
120 BOOL
121 STDCALL
122 GetLogColorSpaceW(
123 HCOLORSPACE a0,
124 LPLOGCOLORSPACEW a1,
125 DWORD a2
126 )
127 {
128 UNIMPLEMENTED;
129 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
130 return FALSE;
131 }
132
133 /*
134 * @unimplemented
135 */
136 HCOLORSPACE
137 STDCALL
138 CreateColorSpaceW(
139 LPLOGCOLORSPACEW a0
140 )
141 {
142 UNIMPLEMENTED;
143 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
144 return 0;
145 }
146
147
148 /*
149 * @unimplemented
150 */
151 BOOL
152 STDCALL
153 GetICMProfileW(
154 HDC a0,
155 DWORD a1, /* MS says LPDWORD! */
156 LPWSTR a2
157 )
158 {
159 UNIMPLEMENTED;
160 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
161 return FALSE;
162 }
163
164
165 /*
166 * @unimplemented
167 */
168 BOOL
169 STDCALL
170 SetICMProfileW(
171 HDC a0,
172 LPWSTR a1
173 )
174 {
175 UNIMPLEMENTED;
176 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
177 return FALSE;
178 }
179
180
181 /*
182 * @unimplemented
183 */
184 int
185 STDCALL
186 EnumICMProfilesW(
187 HDC hDC,
188 ICMENUMPROCW lpEnumICMProfilesFunc,
189 LPARAM lParam
190 )
191 {
192 /*
193 * FIXME - call NtGdiEnumICMProfiles with NULL for lpstrBuffer
194 * to find out how big a buffer we need. Then allocate that buffer
195 * and call NtGdiEnumICMProfiles again to have the buffer filled.
196 *
197 * Finally, step through the buffer ( MULTI-SZ recommended for format ),
198 * and call the user's callback function until we run out of strings or
199 * the user returns FALSE
200 */
201 UNIMPLEMENTED;
202 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
203 return 0;
204 }
205
206
207 /*
208 * @unimplemented
209 */
210 BOOL
211 STDCALL
212 wglUseFontBitmapsW(
213 HDC a0,
214 DWORD a1,
215 DWORD a2,
216 DWORD a3
217 )
218 {
219 UNIMPLEMENTED;
220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
221 return FALSE;
222 }
223
224
225 /*
226 * @unimplemented
227 */
228 BOOL
229 STDCALL
230 wglUseFontOutlinesW(
231 HDC a0,
232 DWORD a1,
233 DWORD a2,
234 DWORD a3,
235 FLOAT a4,
236 FLOAT a5,
237 int a6,
238 LPGLYPHMETRICSFLOAT a7
239 )
240 {
241 UNIMPLEMENTED;
242 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
243 return FALSE;
244 }
245
246
247 /*
248 * @unimplemented
249 */
250 BOOL
251 STDCALL
252 UpdateICMRegKeyW(
253 DWORD a0,
254 DWORD a1,
255 LPWSTR a2,
256 UINT a3
257 )
258 {
259 UNIMPLEMENTED;
260 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
261 return FALSE;
262 }
263
264
265 /* === AFTER THIS POINT I GUESS... =========
266 * (based on stack size in Norlander's .def)
267 * === WHERE ARE THEY DEFINED? =============
268 */
269
270
271 /*
272 * @unimplemented
273 */
274 DWORD
275 STDCALL
276 GetFontResourceInfoW(
277 DWORD a0,
278 DWORD a1,
279 DWORD a2,
280 DWORD a3
281 )
282 {
283 UNIMPLEMENTED;
284 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
285 return 0;
286 }
287
288 /*
289 * @unimplemented
290 */
291 BOOL
292 STDCALL
293 EudcLoadLinkW(LPCWSTR pBaseFaceName,LPCWSTR pEudcFontPath,INT iPriority,INT iFontLinkType)
294 {
295 UNIMPLEMENTED;
296 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
297 return 0;
298 }
299
300 /*
301 * @unimplemented
302 */
303 BOOL
304 STDCALL
305 EudcUnloadLinkW(LPCWSTR pBaseFaceName,LPCWSTR pEudcFontPath)
306 {
307 UNIMPLEMENTED;
308 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
309 return 0;
310 }
311
312 /*
313 * @unimplemented
314 */
315 int
316 STDCALL
317 GdiAddFontResourceW(LPCWSTR filename,FLONG f,DESIGNVECTOR *pdv)
318 {
319 UNIMPLEMENTED;
320 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
321 return 0;
322 }
323
324 /*
325 * @unimplemented
326 */
327 BOOL
328 STDCALL
329 GdiConsoleTextOut(HDC hdc, POLYTEXTW *lpto,UINT nStrings, RECTL *prclBounds)
330 {
331 UNIMPLEMENTED;
332 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
333 return 0;
334 }
335
336 /*
337 * @unimplemented
338 */
339 DWORD
340 STDCALL
341 GetEUDCTimeStampExW(LPCWSTR str)
342 {
343 UNIMPLEMENTED;
344 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
345 return 0;
346 }
347
348 /*
349 * @unimplemented
350 */
351 BOOL
352 STDCALL
353 RemoveFontResourceExW(
354 LPCWSTR lpFileName,
355 DWORD fl,
356 PVOID pdv
357 )
358 {
359 UNIMPLEMENTED;
360 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
361 return 0;
362 }
363
364 /*
365 * @unimplemented
366 */
367 BOOL
368 STDCALL
369 bInitSystemAndFontsDirectoriesW(LPWSTR *SystemDir,LPWSTR *FontsDir)
370 {
371 UNIMPLEMENTED;
372 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
373 return 0;
374 }
375
376 /*
377 * @unimplemented
378 */
379 BOOL
380 STDCALL
381 bMakePathNameW(LPWSTR lpBuffer,LPCWSTR lpFileName,LPWSTR *lpFilePart,DWORD unknown)
382 {
383 UNIMPLEMENTED;
384 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
385 return 0;
386 }
387
388 /*
389 * @unimplemented
390 */
391 HFONT
392 STDCALL
393 CreateFontIndirectExW(const ENUMLOGFONTEXDVW *elfexd)
394 {
395 UNIMPLEMENTED;
396 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
397 return 0;
398 }
399
400 /*
401 * @unimplemented
402 */
403 DWORD
404 STDCALL
405 GetGlyphIndicesW(
406 HDC hdc,
407 LPCWSTR lpstr,
408 int c,
409 LPWORD pgi,
410 DWORD fl
411 )
412 {
413 UNIMPLEMENTED;
414 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
415 return 0;
416 }
417
418 /*
419 * @unimplemented
420 */
421 UINT
422 STDCALL
423 GetStringBitmapW(HDC hdc,LPWSTR pwsz,BOOL unknown,UINT cj,BYTE *lpSB)
424 {
425 UNIMPLEMENTED;
426 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
427 return 0;
428 }
429
430
431 /* EOF */