7 #define WIN32_NO_STATUS
19 #include <imm32_undoc.h>
28 APPLET_PROC AppletProc
;
31 extern HINSTANCE hApplet
;
32 extern BOOL g_bRebootNeeded
;
34 // Character Count of a layout ID like "00000409"
35 #define CCH_LAYOUT_ID 8
37 // Maximum Character Count of a ULONG in decimal
38 #define CCH_ULONG_DEC 10
40 #define MAX_STR_LEN 256
44 SettingsPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
45 BOOL
EnableProcessPrivileges(LPCWSTR lpPrivilegeName
, BOOL bEnable
);
47 /* advanced_settings_page.c */
49 AdvancedSettingsPageProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
53 AddDialogProc(HWND hDlg
, UINT message
, WPARAM wParam
, LPARAM lParam
);
57 EditDialogProc(HWND hDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
59 /* key_settings_dialog.c */
69 KeySettingsDialogProc(HWND hDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
74 /* key_sequence_dialog.c */
76 ChangeKeySeqDialogProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
80 DWORDfromString(const WCHAR
*pszString
)
84 return wcstoul(pszString
, &pszEnd
, 16);
87 VOID
GetSystemLibraryPath(LPWSTR pszPath
, INT cchPath
, LPCWSTR pszFileName
);