Create this branch to work on loading of different Kernel-Debugger DLL providers...
[reactos.git] / dll / cpl / input / input.h
1 #define WIN32_NO_STATUS
2 #include <stdarg.h>
3 #include <windef.h>
4 #include <winbase.h>
5 #include <winnls.h>
6 #include <winreg.h>
7 #include <wingdi.h>
8 #include <winuser.h>
9 #include <commctrl.h>
10 #include <cpl.h>
11 #include <tchar.h>
12
13 #include "resource.h"
14
15 typedef LONG (CALLBACK *CPLAPPLET_PROC)(VOID);
16
17 typedef struct
18 {
19 int idIcon;
20 int idName;
21 int idDescription;
22 CPLAPPLET_PROC AppletProc;
23 } APPLET, *PAPPLET;
24
25 extern HINSTANCE hApplet;
26 extern HANDLE hProcessHeap;
27
28 // Character Count of a layout ID like "00000409"
29 #define CCH_LAYOUT_ID 8
30
31 // Maximum Character Count of a ULONG in decimal
32 #define CCH_ULONG_DEC 10
33
34 /* input.c */
35 VOID
36 InitPropSheetPage(PROPSHEETPAGE *psp, WORD idDlg, DLGPROC DlgProc);
37
38 /* settings.c */
39 INT_PTR CALLBACK
40 SettingsPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam);
41 BOOL
42 GetLayoutName(LPCTSTR szLCID, LPTSTR szName);
43 VOID
44 UpdateLayoutsList(VOID);
45 BOOL
46 IsLayoutExists(LPTSTR szLayoutID, LPTSTR szLangID);
47
48 /* advsettings.c */
49 INT_PTR CALLBACK
50 AdvancedSettingsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
51
52 /* keysettings.c */
53 INT_PTR CALLBACK
54 KeySettingsDlgProc(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
55 VOID
56 UpdateKeySettingsList(VOID);
57
58 /* add.c */
59 INT_PTR CALLBACK
60 AddDlgProc(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
61 VOID
62 CreateKeyboardLayoutList(HWND hItemsList);
63 INT
64 GetLayoutCount(LPTSTR szLang);
65
66 /* changekeyseq.c */
67 INT_PTR CALLBACK
68 ChangeKeySeqDlgProc(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
69 BOOL
70 GetHotkeys(LPTSTR szHotkey, LPTSTR szLangHotkey, LPTSTR szLayoutHotkey);
71
72 void ShowLastWin32Error(HWND hWndOwner);
73
74 /* EOF */