:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / user32 / windows / dialog.c
1 /*
2  *  ReactOS kernel
3  *  Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 /* $Id$
20  *
21  * PROJECT:         ReactOS user32.dll
22  * FILE:            lib/user32/windows/input.c
23  * PURPOSE:         Input
24  * PROGRAMMER:      Casper S. Hornstrup (chorns@users.sourceforge.net)
25  * UPDATE HISTORY:
26  *      09-05-2001  CSH  Created
27  */
28
29 /* INCLUDES ******************************************************************/
30
31 #include <windows.h>
32 #include <user32.h>
33 #include <debug.h>
34
35 /* FUNCTIONS *****************************************************************/
36
37 HWND
38 STDCALL
39 CreateDialogIndirectParamA(
40   HINSTANCE hInstance,
41   LPCDLGTEMPLATE lpTemplate,
42   HWND hWndParent,
43   DLGPROC lpDialogFunc,
44   LPARAM lParamInit)
45 {
46   return (HWND)0;
47 }
48
49 HWND
50 STDCALL
51 CreateDialogIndirectParamAorW(
52   HINSTANCE hInstance,
53   LPCDLGTEMPLATE lpTemplate,
54   HWND hWndParent,
55   DLGPROC lpDialogFunc,
56   LPARAM lParamInit)
57 {
58   return (HWND)0;
59 }
60
61 HWND
62 STDCALL
63 CreateDialogIndirectParamW(
64   HINSTANCE hInstance,
65   LPCDLGTEMPLATE lpTemplate,
66   HWND hWndParent,
67   DLGPROC lpDialogFunc,
68   LPARAM lParamInit)
69 {
70   return (HWND)0;
71 }
72
73 HWND
74 STDCALL
75 CreateDialogParamA(
76   HINSTANCE hInstance,
77   LPCSTR lpTemplateName,
78   HWND hWndParent,
79   DLGPROC lpDialogFunc,
80   LPARAM dwInitParam)
81 {
82   return (HWND)0;
83 }
84
85 HWND
86 STDCALL
87 CreateDialogParamW(
88   HINSTANCE hInstance,
89   LPCWSTR lpTemplateName,
90   HWND hWndParent,
91   DLGPROC lpDialogFunc,
92   LPARAM dwInitParam)
93 {
94   return (HWND)0;
95 }
96 LRESULT
97 STDCALL
98 DefDlgProcA(
99   HWND hDlg,
100   UINT Msg,
101   WPARAM wParam,
102   LPARAM lParam)
103 {
104   return (LRESULT)0;
105 }
106
107 LRESULT
108 STDCALL
109 DefDlgProcW(
110   HWND hDlg,
111   UINT Msg,
112   WPARAM wParam,
113   LPARAM lParam)
114 {
115   return (LRESULT)0;
116 }
117 INT_PTR
118 STDCALL
119 DialogBoxIndirectParamA(
120   HINSTANCE hInstance,
121   LPCDLGTEMPLATE hDialogTemplate,
122   HWND hWndParent,
123   DLGPROC lpDialogFunc,
124   LPARAM dwInitParam)
125 {
126   return (INT_PTR)NULL;
127 }
128
129 INT_PTR
130 STDCALL
131 DialogBoxIndirectParamAorW(
132   HINSTANCE hInstance,
133   LPCDLGTEMPLATE hDialogTemplate,
134   HWND hWndParent,
135   DLGPROC lpDialogFunc,
136   LPARAM dwInitParam)
137 {
138   return (INT_PTR)NULL;
139 }
140
141 INT_PTR
142 STDCALL
143 DialogBoxIndirectParamW(
144   HINSTANCE hInstance,
145   LPCDLGTEMPLATE hDialogTemplate,
146   HWND hWndParent,
147   DLGPROC lpDialogFunc,
148   LPARAM dwInitParam)
149 {
150   return (INT_PTR)NULL;
151 }
152
153 INT_PTR
154 STDCALL
155 DialogBoxParamA(
156   HINSTANCE hInstance,
157   LPCSTR lpTemplateName,
158   HWND hWndParent,
159   DLGPROC lpDialogFunc,
160   LPARAM dwInitParam)
161 {
162   return (INT_PTR)0;
163 }
164
165 INT_PTR
166 STDCALL
167 DialogBoxParamW(
168   HINSTANCE hInstance,
169   LPCWSTR lpTemplateName,
170   HWND hWndParent,
171   DLGPROC lpDialogFunc,
172   LPARAM dwInitParam)
173 {
174   return (INT_PTR)0;
175 }
176
177 int
178 STDCALL
179 DlgDirListA(
180   HWND hDlg,
181   LPSTR lpPathSpec,
182   int nIDListBox,
183   int nIDStaticPath,
184   UINT uFileType)
185 {
186   return 0;
187 }
188
189 int
190 STDCALL
191 DlgDirListComboBoxA(
192   HWND hDlg,
193   LPSTR lpPathSpec,
194   int nIDComboBox,
195   int nIDStaticPath,
196   UINT uFiletype)
197 {
198   return 0;
199 }
200
201 int
202 STDCALL
203 DlgDirListComboBoxW(
204   HWND hDlg,
205   LPWSTR lpPathSpec,
206   int nIDComboBox,
207   int nIDStaticPath,
208   UINT uFiletype)
209 {
210   return 0;
211 }
212
213 int
214 STDCALL
215 DlgDirListW(
216   HWND hDlg,
217   LPWSTR lpPathSpec,
218   int nIDListBox,
219   int nIDStaticPath,
220   UINT uFileType)
221 {
222   return 0;
223 }
224
225 WINBOOL
226 STDCALL
227 DlgDirSelectComboBoxExA(
228   HWND hDlg,
229   LPSTR lpString,
230   int nCount,
231   int nIDComboBox)
232 {
233   return FALSE;
234 }
235
236 WINBOOL
237 STDCALL
238 DlgDirSelectComboBoxExW(
239   HWND hDlg,
240   LPWSTR lpString,
241   int nCount,
242   int nIDComboBox)
243 {
244   return FALSE;
245 }
246
247 WINBOOL
248 STDCALL
249 DlgDirSelectExA(
250   HWND hDlg,
251   LPSTR lpString,
252   int nCount,
253   int nIDListBox)
254 {
255   return FALSE;
256 }
257
258 WINBOOL
259 STDCALL
260 DlgDirSelectExW(
261   HWND hDlg,
262   LPWSTR lpString,
263   int nCount,
264   int nIDListBox)
265 {
266   return FALSE;
267 }
268 WINBOOL
269 STDCALL
270 EndDialog(
271   HWND hDlg,
272   INT_PTR nResult)
273 {
274   return FALSE;
275 }
276 LONG
277 STDCALL
278 GetDialogBaseUnits(VOID)
279 {
280   return 0;
281 }
282
283 int
284 STDCALL
285 GetDlgCtrlID(
286   HWND hwndCtl)
287 {
288   return 0;
289 }
290
291 HWND
292 STDCALL
293 GetDlgItem(
294   HWND hDlg,
295   int nIDDlgItem)
296 {
297   return (HWND)0;
298 }
299
300 UINT
301 STDCALL
302 GetDlgItemInt(
303   HWND hDlg,
304   int nIDDlgItem,
305   WINBOOL *lpTranslated,
306   WINBOOL bSigned)
307 {
308   return 0;
309 }
310
311 UINT
312 STDCALL
313 GetDlgItemTextA(
314   HWND hDlg,
315   int nIDDlgItem,
316   LPSTR lpString,
317   int nMaxCount)
318 {
319   return 0;
320 }
321
322 UINT
323 STDCALL
324 GetDlgItemTextW(
325   HWND hDlg,
326   int nIDDlgItem,
327   LPWSTR lpString,
328   int nMaxCount)
329 {
330   return 0;
331 }
332 HWND
333 STDCALL
334 GetNextDlgGroupItem(
335   HWND hDlg,
336   HWND hCtl,
337   WINBOOL bPrevious)
338 {
339   return (HWND)0;
340 }
341
342 HWND
343 STDCALL
344 GetNextDlgTabItem(
345   HWND hDlg,
346   HWND hCtl,
347   WINBOOL bPrevious)
348 {
349   return (HWND)0;
350 }
351 #if 0
352 WINBOOL
353 STDCALL
354 IsDialogMessage(
355   HWND hDlg,
356   LPMSG lpMsg)
357 {
358   return FALSE;
359 }
360 #endif
361
362 WINBOOL
363 STDCALL
364 IsDialogMessageA(
365   HWND hDlg,
366   LPMSG lpMsg)
367 {
368   return FALSE;
369 }
370
371 WINBOOL
372 STDCALL
373 IsDialogMessageW(
374   HWND hDlg,
375   LPMSG lpMsg)
376 {
377   return FALSE;
378 }
379
380 UINT
381 STDCALL
382 IsDlgButtonChecked(
383   HWND hDlg,
384   int nIDButton)
385 {
386   return 0;
387 }
388 WINBOOL
389 STDCALL
390 MapDialogRect(
391   HWND hDlg,
392   LPRECT lpRect)
393 {
394   return FALSE;
395 }
396 LRESULT
397 STDCALL
398 SendDlgItemMessageA(
399   HWND hDlg,
400   int nIDDlgItem,
401   UINT Msg,
402   WPARAM wParam,
403   LPARAM lParam)
404 {
405   return (LRESULT)0;
406 }
407
408 LRESULT
409 STDCALL
410 SendDlgItemMessageW(
411   HWND hDlg,
412   int nIDDlgItem,
413   UINT Msg,
414   WPARAM wParam,
415   LPARAM lParam)
416 {
417   return (LRESULT)0;
418 }
419 WINBOOL
420 STDCALL
421 SetDlgItemInt(
422   HWND hDlg,
423   int nIDDlgItem,
424   UINT uValue,
425   WINBOOL bSigned)
426 {
427   return FALSE;
428 }
429
430 WINBOOL
431 STDCALL
432 SetDlgItemTextA(
433   HWND hDlg,
434   int nIDDlgItem,
435   LPCSTR lpString)
436 {
437   return FALSE;
438 }
439
440 WINBOOL
441 STDCALL
442 SetDlgItemTextW(
443   HWND hDlg,
444   int nIDDlgItem,
445   LPCWSTR lpString)
446 {
447   return FALSE;
448 }
449 WINBOOL
450 STDCALL
451 CheckDlgButton(
452   HWND hDlg,
453   int nIDButton,
454   UINT uCheck)
455 {
456   return FALSE;
457 }
458