4c6de64dd7f4622028d6b3ab24956e5f7302e8fd
[reactos.git] / reactos / gdi32 / misc / stubsa.c
1 /* $Id$
2 *
3 * reactos/lib/gdi32/misc/stubs.c
4 *
5 * GDI32.DLL Stubs for ANSI 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 /*
18 * @unimplemented
19 */
20 int
21 STDCALL
22 DeviceCapabilitiesExA(
23 LPCSTR pDevice,
24 LPCSTR pPort,
25 WORD fwCapability,
26 LPSTR pOutput,
27 CONST DEVMODEA *pDevMode
28 )
29 {
30 UNIMPLEMENTED;
31 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
32 return 0;
33 }
34
35 /*
36 * @unimplemented
37 */
38 UINT
39 APIENTRY
40 GetOutlineTextMetricsA(
41 HDC hdc,
42 UINT cbData,
43 LPOUTLINETEXTMETRICA lpOTM
44 )
45 {
46 UNIMPLEMENTED;
47 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
48 return 0;
49 }
50
51
52 /*
53 * @unimplemented
54 */
55 DWORD
56 STDCALL
57 GetCharacterPlacementA(
58 HDC hDc,
59 LPCSTR a1,
60 int a2,
61 int a3,
62 LPGCP_RESULTSA a4,
63 DWORD a5
64 )
65 {
66 UNIMPLEMENTED;
67 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
68 return 0;
69 }
70
71
72 /*
73 * @unimplemented
74 */
75 int
76 STDCALL
77 StartDocA(
78 HDC hdc,
79 CONST DOCINFOA *a1
80 )
81 {
82 UNIMPLEMENTED;
83 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
84 return 0;
85 }
86
87
88 /*
89 * @unimplemented
90 */
91 BOOL
92 STDCALL
93 PolyTextOutA(
94 HDC hdc,
95 CONST POLYTEXTA *a1,
96 int a2
97 )
98 {
99 UNIMPLEMENTED;
100 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
101 return FALSE;
102 }
103
104
105 /*
106 * @unimplemented
107 */
108 DWORD
109 STDCALL
110 GetKerningPairsA(
111 HDC a0,
112 DWORD a1,
113 LPKERNINGPAIR a2
114 )
115 {
116 UNIMPLEMENTED;
117 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
118 return 0;
119 }
120
121
122 /*
123 * @unimplemented
124 */
125 BOOL
126 STDCALL
127 GetLogColorSpaceA(
128 HCOLORSPACE a0,
129 LPLOGCOLORSPACEA a1,
130 DWORD a2
131 )
132 {
133 UNIMPLEMENTED;
134 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
135 return FALSE;
136 }
137
138
139 /*
140 * @unimplemented
141 */
142 HCOLORSPACE
143 STDCALL
144 CreateColorSpaceA(
145 LPLOGCOLORSPACEA a0
146 )
147 {
148 UNIMPLEMENTED;
149 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
150 return 0;
151 }
152
153
154 /*
155 * @unimplemented
156 */
157 BOOL
158 STDCALL
159 GetICMProfileA(
160 HDC hdc,
161 LPDWORD pBufSize,
162 LPSTR pszFilename
163 )
164 {
165 UNIMPLEMENTED;
166 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
167 return FALSE;
168 }
169
170
171 /*
172 * @unimplemented
173 */
174 BOOL
175 STDCALL
176 SetICMProfileA(
177 HDC a0,
178 LPSTR a1
179 )
180 {
181 UNIMPLEMENTED;
182 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
183 return FALSE;
184 }
185
186
187 /*
188 * @unimplemented
189 */
190 int
191 STDCALL
192 EnumICMProfilesA(
193 HDC a0,
194 ICMENUMPROCA a1,
195 LPARAM a2
196 )
197 {
198 /*
199 * FIXME - call NtGdiEnumICMProfiles with NULL for lpstrBuffer
200 * to find out how big a buffer we need. Then allocate that buffer
201 * and call NtGdiEnumICMProfiles again to have the buffer filled.
202 *
203 * Finally, step through the buffer ( MULTI-SZ recommended for format ),
204 * and convert each string to ANSI, calling the user's callback function
205 * until we run out of strings or the user returns FALSE
206 */
207
208 UNIMPLEMENTED;
209 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
210 return 0;
211 }
212
213
214 /*
215 * @unimplemented
216 */
217 BOOL
218 STDCALL
219 wglUseFontBitmapsA(
220 HDC a0,
221 DWORD a1,
222 DWORD a2,
223 DWORD a3
224 )
225 {
226 UNIMPLEMENTED;
227 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
228 return FALSE;
229 }
230
231
232 /*
233 * @unimplemented
234 */
235 BOOL
236 STDCALL
237 wglUseFontOutlinesA(
238 HDC a0,
239 DWORD a1,
240 DWORD a2,
241 DWORD a3,
242 FLOAT a4,
243 FLOAT a5,
244 int a6,
245 LPGLYPHMETRICSFLOAT a7
246 )
247 {
248 UNIMPLEMENTED;
249 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
250 return FALSE;
251 }
252
253
254 /*
255 * @unimplemented
256 */
257 BOOL
258 STDCALL
259 UpdateICMRegKeyA(
260 DWORD a0,
261 LPSTR a1,
262 LPSTR a2,
263 UINT a3
264 )
265 {
266 UNIMPLEMENTED;
267 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
268 return FALSE;
269 }
270
271
272 /*
273 * @unimplemented
274 */
275 BOOL
276 STDCALL
277 RemoveFontResourceExA(
278 LPCSTR lpFileName,
279 DWORD fl,
280 PVOID pdv
281 )
282 {
283 UNIMPLEMENTED;
284 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
285 return 0;
286 }
287
288
289 /*
290 * @unimplemented
291 */
292 HFONT
293 STDCALL
294 CreateFontIndirectExA(const ENUMLOGFONTEXDVA *elfexd)
295 {
296 UNIMPLEMENTED;
297 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
298 return 0;
299 }
300
301 /*
302 * @unimplemented
303 */
304 DWORD
305 STDCALL
306 GetGlyphIndicesA(
307 HDC hdc,
308 LPCSTR lpstr,
309 int c,
310 LPWORD pgi,
311 DWORD fl
312 )
313 {
314 UNIMPLEMENTED;
315 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
316 return 0;
317 }
318
319 /*
320 * @unimplemented
321 */
322 UINT
323 STDCALL
324 GetStringBitmapA(HDC hdc,LPSTR psz,BOOL unknown,UINT cj,BYTE *lpSB)
325 {
326 UNIMPLEMENTED;
327 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
328 return 0;
329 }
330
331
332 /* EOF */