:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / user32 / windows / input.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 HKL STDCALL
38 ActivateKeyboardLayout(HKL hkl,
39                        UINT Flags)
40 {
41   return (HKL)0;
42 }
43
44 WINBOOL STDCALL
45 BlockInput(WINBOOL fBlockIt)
46 {
47   return FALSE;
48 }
49
50 WINBOOL STDCALL
51 EnableWindow(HWND hWnd,
52              WINBOOL bEnable)
53 {
54   return FALSE;
55 }
56
57 SHORT STDCALL
58 GetAsyncKeyState(int vKey)
59 {
60   return 0;
61 }
62
63 HKL STDCALL
64 GetKeyboardLayout(DWORD idThread)
65 {
66   return (HKL)0;
67 }
68
69 WINBOOL STDCALL GetInputState(VOID)
70 {
71   return FALSE;
72 }
73
74 UINT STDCALL
75 GetKBCodePage(VOID)
76 {
77   return 0;
78 }
79
80 int STDCALL
81 GetKeyNameTextA(LONG lParam,
82                 LPSTR lpString,
83                 int nSize)
84 {
85   return 0;
86 }
87
88 int STDCALL
89 GetKeyNameTextW(LONG lParam,
90                 LPWSTR lpString,
91                 int nSize)
92 {
93   return 0;
94 }
95
96 SHORT STDCALL
97 GetKeyState(int nVirtKey)
98 {
99   return 0;
100 }
101
102 UINT STDCALL
103 GetKeyboardLayoutList(int nBuff,
104                       HKL FAR *lpList)
105 {
106   return 0;
107 }
108
109 WINBOOL STDCALL
110 GetKeyboardLayoutNameA(LPSTR pwszKLID)
111 {
112   return FALSE;
113 }
114
115 WINBOOL STDCALL
116 GetKeyboardLayoutNameW(LPWSTR pwszKLID)
117 {
118   return FALSE;
119 }
120
121 WINBOOL STDCALL
122 GetKeyboardState(PBYTE lpKeyState)
123 {
124   return FALSE;
125 }
126
127 int STDCALL
128 GetKeyboardType(int nTypeFlag)
129 {
130   return 0;
131 }
132
133 WINBOOL STDCALL
134 GetLastInputInfo(PLASTINPUTINFO plii)
135 {
136   return FALSE;
137 }
138
139 HKL STDCALL
140 LoadKeyboardLayoutA(LPCSTR pwszKLID,
141                     UINT Flags)
142 {
143   return (HKL)0;
144 }
145
146 HKL STDCALL
147 LoadKeyboardLayoutW(LPCWSTR pwszKLID,
148                     UINT Flags)
149 {
150   return (HKL)0;
151 }
152
153 UINT STDCALL
154 MapVirtualKeyA(UINT uCode,
155                UINT uMapType)
156 {
157   return 0;
158 }
159
160 UINT STDCALL
161 MapVirtualKeyExA(UINT uCode,
162                  UINT uMapType,
163                  HKL dwhkl)
164 {
165   return 0;
166 }
167
168 UINT STDCALL
169 MapVirtualKeyExW(UINT uCode,
170                  UINT uMapType,
171                  HKL dwhkl)
172 {
173   return 0;
174 }
175
176 UINT STDCALL
177 MapVirtualKeyW(UINT uCode,
178                UINT uMapType)
179 {
180   return 0;
181 }
182
183 DWORD STDCALL
184 OemKeyScan(WORD wOemChar)
185 {
186   return 0;
187 }
188
189 WINBOOL STDCALL
190 SetKeyboardState(LPBYTE lpKeyState)
191 {
192   return FALSE;
193 }
194
195 int STDCALL
196 ToAscii(UINT uVirtKey,
197         UINT uScanCode,
198         CONST PBYTE lpKeyState,
199         LPWORD lpChar,
200         UINT uFlags)
201 {
202   return 0;
203 }
204
205 int STDCALL
206 ToAsciiEx(UINT uVirtKey,
207           UINT uScanCode,
208           CONST PBYTE lpKeyState,
209           LPWORD lpChar,
210           UINT uFlags,
211           HKL dwhkl)
212 {
213   return 0;
214 }
215
216 int STDCALL
217 ToUnicode(UINT wVirtKey,
218           UINT wScanCode,
219           CONST PBYTE lpKeyState,
220           LPWSTR pwszBuff,
221           int cchBuff,
222           UINT wFlags)
223 {
224   return 0;
225 }
226
227 int STDCALL
228 ToUnicodeEx(UINT wVirtKey,
229             UINT wScanCode,
230             CONST PBYTE lpKeyState,
231             LPWSTR pwszBuff,
232             int cchBuff,
233             UINT wFlags,
234             HKL dwhkl)
235 {
236   return 0;
237 }
238
239 WINBOOL STDCALL
240 UnloadKeyboardLayout(HKL hkl)
241 {
242   return FALSE;
243 }
244
245 SHORT STDCALL
246 VkKeyScanA(CHAR ch)
247 {
248   return 0;
249 }
250
251 SHORT STDCALL
252 VkKeyScanExA(CHAR ch,
253              HKL dwhkl)
254 {
255   return 0;
256 }
257
258 SHORT STDCALL
259 VkKeyScanExW(WCHAR ch,
260              HKL dwhkl)
261 {
262   return 0;
263 }
264
265 SHORT STDCALL
266 VkKeyScanW(WCHAR ch)
267 {
268   return 0;
269 }
270
271 UINT
272 STDCALL
273 SendInput(
274   UINT nInputs,
275   LPINPUT pInputs,
276   int cbSize)
277 {
278   return 0;
279 }