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