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