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