Locate next revision ISO
[reactos.git] / rosky / lib / libskygi / stubs.c
1 /* $Id$
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: SkyOS GI library
5 * FILE: lib/libskygi/stubs.c
6 * PURPOSE: libskygi.dll stubs
7 * NOTES: If you implement a function, remove it from this file
8 *
9 * UPDATE HISTORY:
10 * 08/12/2004 Created
11 */
12 #include <windows.h>
13 #include <rosky/rosky.h>
14 #include "libskygi.h"
15
16
17 /*
18 * @unimplemented
19 */
20 int __cdecl
21 DefaultWindowFunc(s_window *win,
22 s_gi_msg *pMsg)
23 {
24 STUB("DefaultWindowFunc(0x%x, 0x%x) returns 0!\n", win, pMsg);
25 return 0;
26 }
27
28
29 /*
30 * @unimplemented
31 */
32 int __cdecl
33 GC_ResetBlit(sBlit *pBlit)
34 {
35 STUB("GC_ResetBlit(0x%x) returns 0!\n", pBlit);
36 return 0;
37 }
38
39
40 /*
41 * @unimplemented
42 */
43 int __cdecl
44 GC_blit(GC *gc,
45 sBlit *pBlit)
46 {
47 STUB("GC_blit(0x%x, 0x%x) returns 0!\n", gc, pBlit);
48 return 0;
49 }
50
51
52 /*
53 * @unimplemented
54 */
55 DDB* __cdecl
56 GI_create_DDB_from_DIB(DIB *dib)
57 {
58 STUB("GI_create_DDB_from_DIB(0x%x) returns NULL!\n", dib);
59 return NULL;
60 }
61
62
63 /*
64 * @unimplemented
65 */
66 int __cdecl
67 GI_kill_timer(unsigned int uiID)
68 {
69 STUB("GI_kill_timer(0x%x) returns 0!\n", uiID);
70 return 0;
71 }
72
73
74 /*
75 * @unimplemented
76 */
77 unsigned int __cdecl
78 GI_set_high_timer(HANDLE w,
79 unsigned int msec)
80 {
81 STUB("GI_set_high_timer(0x%x, 0x%x) returns 0!\n", w, msec);
82 return 0;
83 }
84
85
86 /*
87 * @unimplemented
88 */
89 int __cdecl
90 GC_draw_text(GC *gc,
91 s_region *rect,
92 unsigned char *text)
93 {
94 STUB("GC_draw_text(0x%x, 0x%x, 0x%x) returns 0!\n", gc, rect, text);
95 return 0;
96 }
97
98
99 /*
100 * @unimplemented
101 */
102 int __cdecl
103 GC_set_font(GC *gc,
104 unsigned int fontIndex)
105 {
106 STUB("GC_set_font(0x%x, 0x%x) returns 0!\n", gc, fontIndex);
107 return 0;
108 }
109
110
111 /*
112 * @unimplemented
113 */
114 int __cdecl
115 GC_set_font_size(GC *gc,
116 unsigned int fontSize)
117 {
118 STUB("GC_set_font_size(0x%x, 0x%x) returns 0!\n", gc, fontSize);
119 return 0;
120 }
121
122
123 /*
124 * @unimplemented
125 */
126 int __cdecl
127 GC_set_font_flags(GC *gc,
128 unsigned int flags)
129 {
130 STUB("GC_set_font_flags(0x%x, 0x%x) returns 0!\n", gc, flags);
131 return 0;
132 }
133
134
135 /*
136 * @unimplemented
137 */
138 int __cdecl
139 GC_set_font_param(GC *gc,
140 unsigned int font,
141 unsigned int fontsize,
142 unsigned int flags,
143 unsigned int trans)
144 {
145 STUB("GC_set_font_param(0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", gc, font, fontsize, flags, trans);
146 return 0;
147 }
148
149
150 /*
151 * @unimplemented
152 */
153 HANDLE __cdecl
154 GI_CreateApplication(sCreateApplication *application)
155 {
156 STUB("GI_CreateApplication(0x%x) returns NULL!\n", application);
157 return NULL;
158 }
159
160
161 /*
162 * @unimplemented
163 */
164 int __cdecl
165 GI_create_font(unsigned char *family,
166 unsigned char *style,
167 unsigned char *filename)
168 {
169 STUB("GI_create_font(0x%x, 0x%x, 0x%x) returns 0!\n", family, style, filename);
170 return 0;
171 }
172
173
174 /*
175 * @unimplemented
176 */
177 int __cdecl
178 GI_textheight(unsigned int index,
179 unsigned int size,
180 unsigned char *text)
181 {
182 STUB("GI_textheight(0x%x, 0x%x, 0x%x) returns 0!\n", index, size, text);
183 return 0;
184 }
185
186
187 /*
188 * @unimplemented
189 */
190 int __cdecl
191 GI_textlength(unsigned int index,
192 unsigned int size,
193 unsigned char *text)
194 {
195 STUB("GI_textlength(0x%x, 0x%x, 0x%x) returns 0!\n", index, size, text);
196 return 0;
197 }
198
199
200 /*
201 * @unimplemented
202 */
203 int __cdecl
204 GI_init(void)
205 {
206 STUB("GI_init() returns 0!\n");
207 return 0;
208 }
209
210
211 /*
212 * @unimplemented
213 */
214 int __cdecl
215 GI_set_dimension(s_window *win,
216 int notify,
217 int x1,
218 int y1,
219 unsigned int width,
220 unsigned int height)
221 {
222 STUB("GI_set_dimension(0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", win, notify, x1, y1, width, height);
223 return 0;
224 }
225
226
227 /*
228 * @unimplemented
229 */
230 int __cdecl
231 GC_set_clip(GC *gc,
232 s_region *clip)
233 {
234 STUB("GC_set_clip(0x%x, 0x%x) returns 0!\n", gc, clip);
235 return 0;
236 }
237
238
239 /*
240 * @unimplemented
241 */
242 DIB* __cdecl
243 GI_ScaleDIB(DIB *srcbitmap,
244 int iWidth,
245 int iHeight,
246 int filtertype,
247 float filterwidth)
248 {
249 STUB("GI_ScaleDIB(0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", srcbitmap, iWidth, iHeight, filtertype, filterwidth);
250 return 0;
251 }
252
253
254 /*
255 * @unimplemented
256 */
257 int __cdecl
258 GI_get_resolution(s_resolution *res)
259 {
260 STUB("GI_get_resolution(0x%x) returns 0!\n", res);
261 return 0;
262 }
263
264
265 /*
266 * @unimplemented
267 */
268 int __cdecl
269 GI_widget_status_set(s_window *win,
270 unsigned char *text)
271 {
272 STUB("GI_widget_status_set(0x%x, 0x%x) returns 0!\n", win, text);
273 return 0;
274 }
275
276
277 /*
278 * @unimplemented
279 */
280 DIB* __cdecl
281 GI_load_bitmap(char *filename,
282 unsigned int ImageIndex)
283 {
284 STUB("GI_load_bitmap(%s, 0x%x) returns NULL!\n", filename, ImageIndex);
285 return NULL;
286 }
287
288 /* EOF */