[OSK] Implement standard/enhanced keyboard handler (#1338)
[reactos.git] / base / applications / osk / main.h
1 /*
2 * PROJECT: ReactOS On-Screen Keyboard
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/applications/osk/main.h
5 * PURPOSE: On screen keyboard.
6 * PROGRAMMERS: Denis ROBERT
7 */
8
9 #ifndef _OSKMAIN_H
10 #define _OSKMAIN_H
11
12 /* INCLUDES *******************************************************************/
13
14 #include "osk_res.h"
15
16 /* TYPES **********************************************************************/
17
18 typedef struct
19 {
20 HINSTANCE hInstance;
21 HWND hMainWnd;
22 HBRUSH hBrushGreenLed;
23 UINT_PTR iTimer;
24 /* FIXME: To be deleted when ReactOS will support WS_EX_NOACTIVATE */
25 HWND hActiveWnd;
26 BOOL bShowWarning;
27 BOOL bIsEnhancedKeyboard;
28 } OSK_GLOBALS;
29
30 /* DEFINES ********************************************************************/
31
32 extern OSK_GLOBALS Globals;
33
34 #define countof(x) (sizeof(x) / sizeof((x)[0]))
35 #define MAX_BUFF 256
36
37 #endif
38
39 /* EOF */