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