Something went wrong. Try again.
Reactos
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990#ifndef _INPUT_H#define _INPUT_H
#include <stdlib.h>#include <wchar.h>
#define WIN32_NO_STATUS#include <windef.h>#include <winbase.h>#include <winnls.h>#include <winreg.h>#include <winuser.h>#include <wingdi.h>#include <commctrl.h>#include <windowsx.h>#include <setupapi.h>#include <strsafe.h>#include <cpl.h>#include <imm32_undoc.h>
#include "resource.h"
typedef struct{ int idIcon; int idName; int idDescription; APPLET_PROC AppletProc;} APPLET, *PAPPLET;
extern HINSTANCE hApplet;extern BOOL g_bRebootNeeded;
// Character Count of a layout ID like "00000409"#define CCH_LAYOUT_ID 8
// Maximum Character Count of a ULONG in decimal#define CCH_ULONG_DEC 10
#define MAX_STR_LEN 256
/* settings_page.c */INT_PTR CALLBACKSettingsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);BOOL EnableProcessPrivileges(LPCWSTR lpPrivilegeName, BOOL bEnable);
/* advanced_settings_page.c */INT_PTR CALLBACKAdvancedSettingsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* add_dialog.c */INT_PTR CALLBACKAddDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
/* edit_dialog.c */INT_PTR CALLBACKEditDialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* key_settings_dialog.c */
typedef struct{ DWORD dwAttributes; DWORD dwLanguage; DWORD dwLayout;} KEY_SETTINGS;
INT_PTR CALLBACKKeySettingsDialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
DWORDReadAttributes(VOID);
/* key_sequence_dialog.c */INT_PTR CALLBACKChangeKeySeqDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
static inline DWORDDWORDfromString(const WCHAR *pszString){ WCHAR *pszEnd;
return wcstoul(pszString, &pszEnd, 16);}
VOID GetSystemLibraryPath(LPWSTR pszPath, INT cchPath, LPCWSTR pszFileName);
#endif /* _INPUT_H */