|
ReactOS 0.4.17-dev-1421-g4623072
|

Go to the source code of this file.
Classes | |
| struct | tagIMEHOTKEYENTRY |
Macros | |
| #define | KLF_INITTIME 0x80000000 |
| #define | KLF_FORCE 0x200 |
| #define | KBDLAYOUTS_KEY L"System\\CurrentControlSet\\Control\\Keyboard Layouts" |
| #define | KBDLAYOUT_KEY L"System\\CurrentControlSet\\Control\\Keyboard Layout" |
| #define | ATTR_MASK 0x00FF0000 |
| #define | LANGID_ENGLISH_US MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US) |
| #define | IFN_KbdLayerDescriptor MAKEINTRESOURCEA(1) |
| #define | IFN_KbdNlsLayerDescriptor MAKEINTRESOURCEA(2) |
| #define | IFN_KbdLayerRealDllFileNT4 MAKEINTRESOURCEA(3) |
| #define | IFN_KbdLayerRealDllFile MAKEINTRESOURCEA(5) |
| #define | IFN_KbdLayerMultiDescriptor MAKEINTRESOURCEA(6) |
| #define | FE_JAPANESE (1 << 0) |
| #define | FE_CHINESE_TRADITIONAL (1 << 1) |
| #define | FE_CHINESE_SIMPLIFIED (1 << 2) |
| #define | FE_KOREAN (1 << 3) |
| #define | MOD_ALL_MODS (MOD_ALT | MOD_CONTROL | MOD_SHIFT | MOD_WIN) |
Typedefs | |
| typedef PVOID(WINAPI * | PFN_KbdLayerDescriptor) (void) |
| typedef PVOID(WINAPI * | PFN_KbdNlsLayerDescriptor) (void) |
| typedef BOOL(WINAPI * | PFN_KbdLayerRealDllFileNT4) (PWSTR) |
| typedef BOOL(WINAPI * | PFN_KbdLayerRealDllFile) (ULONG, PWSTR, PCLIENTKEYBOARDTYPE, PVOID) |
| typedef BOOL(WINAPI * | PFN_KbdLayerMultiDescriptor) (PKBDTABLE_MULTI) |
| typedef struct tagIMEHOTKEYENTRY | IMEHOTKEYENTRY |
| typedef struct tagIMEHOTKEYENTRY * | PIMEHOTKEYENTRY |
Variables | |
| IMEHOTKEYENTRY | DefaultHotKeyTableJ [] |
| IMEHOTKEYENTRY | DefaultHotKeyTableT [] |
| IMEHOTKEYENTRY | DefaultHotKeyTableC [] |
| #define IFN_KbdLayerDescriptor MAKEINTRESOURCEA(1) |
| #define IFN_KbdLayerMultiDescriptor MAKEINTRESOURCEA(6) |
| #define IFN_KbdLayerRealDllFile MAKEINTRESOURCEA(5) |
| #define IFN_KbdLayerRealDllFileNT4 MAKEINTRESOURCEA(3) |
| #define IFN_KbdNlsLayerDescriptor MAKEINTRESOURCEA(2) |
| #define KBDLAYOUT_KEY L"System\\CurrentControlSet\\Control\\Keyboard Layout" |
| #define KBDLAYOUTS_KEY L"System\\CurrentControlSet\\Control\\Keyboard Layouts" |
| #define LANGID_ENGLISH_US MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US) |
| #define MOD_ALL_MODS (MOD_ALT | MOD_CONTROL | MOD_SHIFT | MOD_WIN) |
| typedef struct tagIMEHOTKEYENTRY IMEHOTKEYENTRY |
| typedef BOOL(WINAPI * PFN_KbdLayerMultiDescriptor) (PKBDTABLE_MULTI) |
| typedef struct tagIMEHOTKEYENTRY * PIMEHOTKEYENTRY |
Definition at line 345 of file input.c.
Referenced by CliImmInitializeHotKeys().
Definition at line 378 of file input.c.
Referenced by CliImmInitializeHotKeys().
Definition at line 433 of file input.c.
Referenced by IntLoadKeyboardLayout(), UnloadKeyboardLayout(), and UpdatePerUserSystemParameters().
| BOOL WINAPI CliImmSetHotKey | ( | _In_ DWORD | dwID, |
| _In_ UINT | uModifiers, | ||
| _In_ UINT | uVirtualKey, | ||
| _In_opt_ _When_((dwAction==SETIMEHOTKEY_ADD) &&!(IME_HOTKEY_DSWITCH_FIRST<=dwHotKeyId &&dwHotKeyId<=IME_HOTKEY_DSWITCH_LAST), _Null_) HKL | hKL | ||
| ) |
@implemented
Definition at line 290 of file input.c.
| BOOL APIENTRY CliImmSetHotKeyWorker | ( | DWORD | dwHotKeyId, |
| UINT | uModifiers, | ||
| UINT | uVirtualKey, | ||
| HKL | hKL, | ||
| DWORD | dwAction | ||
| ) |
Definition at line 137 of file input.c.
Referenced by CliImmSetHotKey(), CliSetDefaultImeHotKeys(), and CliSetSingleHotKey().
Definition at line 123 of file input.c.
Referenced by CliSetSingleHotKey().
| BOOL APIENTRY CliSaveImeHotKey | ( | DWORD | dwID, |
| UINT | uModifiers, | ||
| UINT | uVirtualKey, | ||
| HKL | hKL, | ||
| BOOL | bDelete | ||
| ) |
Definition at line 234 of file input.c.
Referenced by CliImmSetHotKey(), and CliSaveImeHotKey().
| VOID APIENTRY CliSetDefaultImeHotKeys | ( | PIMEHOTKEYENTRY | pEntries, |
| UINT | nCount, | ||
| BOOL | bCheck | ||
| ) |
Definition at line 414 of file input.c.
Referenced by CliImmInitializeHotKeys().
Definition at line 320 of file input.c.
Referenced by CliGetImeHotKeysFromRegistry().
Definition at line 489 of file input.c.
| SHORT WINAPI DECLSPEC_HOTPATCH GetAsyncKeyState | ( | int | vKey | ) |
Definition at line 659 of file input.c.
Definition at line 592 of file input.c.
| SHORT WINAPI DECLSPEC_HOTPATCH GetKeyState | ( | int | nVirtKey | ) |
| BOOL WINAPI GetLastInputInfo | ( | PLASTINPUTINFO | plii | ) |
Definition at line 728 of file input.c.
Referenced by LoadSysLibraryW().
|
static |
Closes the aux file handles that IntLoadKeyboardLayoutTablesAndFile stored in pMulti. Skips NULL and INVALID_HANDLE_VALUE (a failed aux file), and resets the table count.
Definition at line 751 of file input.c.
Referenced by IntLoadKeyboardLayoutTablesAndFile().
|
static |
If the layout DLL redirects to a "real" DLL, loads that one instead and releases the original. On return, *phModule and *ppszFile name the DLL that is actually used.
Definition at line 822 of file input.c.
Referenced by IntPrepareLayoutModule().
|
static |
Definition at line 1051 of file input.c.
Referenced by IntLoadKeyboardLayoutFile().
|
static |
Gets the 16-bit offsets of the tables, as NtUserLoadKeyboardLayoutEx expects them: LOWORD is the main table and HIWORD is the NLS table (0 if none).
Definition at line 916 of file input.c.
Referenced by IntLoadKeyboardLayoutTablesAndFile().
Definition at line 56 of file input.c.
Referenced by IntGetKeyboardDllName(), and IntPrepareLayoutModule().
Definition at line 720 of file input.c.
Referenced by IntFollowRealDll(), IntGetKeyboardDllName(), and IntLoadKeyboardLayoutTablesAndFile().
|
static |
Definition at line 1236 of file input.c.
Referenced by LoadKeyboardLayoutEx(), and LoadKeyboardLayoutW().
|
static |
Opens and loads keyboard layout file(s).
Definition at line 1208 of file input.c.
Referenced by IntLoadKeyboardLayout().
|
static |
Returns a handle to the layout file, or NULL on failure. On success, the handles in pMulti (if any) stay open for the caller; on failure, this function has closed them.
Definition at line 964 of file input.c.
Referenced by IntLoadKeyboardLayoutFile(), and IntLoadMultiTables().
|
static |
Loads the multi-table (if any). Each aux table file is loaded by a recursive call, and its file handle and offset are stored in pMulti. The caller owns the handles: see IntCloseAuxFiles.
Definition at line 784 of file input.c.
Referenced by IntPrepareLayoutModule().
Definition at line 172 of file input.c.
Referenced by UpdatePerUserSystemParameters().
|
static |
Prepares a freshly loaded layout DLL: loads the multi-table, follows the "real" DLL, and gets KbdLayerDescriptor. Returns NULL on failure. The caller owns *phModule either way (it can be replaced by the real DLL). The layout DLL code can crash, so everything is under SEH.
Definition at line 878 of file input.c.
Referenced by IntLoadKeyboardLayoutTablesAndFile().
Definition at line 96 of file input.c.
Referenced by CliGetPreloadKeyboardLayouts(), and CliImmInitializeHotKeys().
Definition at line 1562 of file input.c.
Definition at line 1313 of file input.c.
Referenced by init_function_pointers().
Definition at line 737 of file input.c.
Referenced by IntFollowRealDll(), and IntLoadKeyboardLayoutTablesAndFile().
Definition at line 1367 of file input.c.
Definition at line 1390 of file input.c.
Definition at line 1412 of file input.c.
| int WINAPI ToAsciiEx | ( | UINT | uVirtKey, |
| UINT | uScanCode, | ||
| CONST BYTE * | lpKeyState, | ||
| LPWORD | lpChar, | ||
| UINT | uFlags, | ||
| HKL | dwhkl | ||
| ) |
Definition at line 1451 of file input.c.
| int WINAPI ToUnicode | ( | UINT | wVirtKey, |
| UINT | wScanCode, | ||
| CONST BYTE * | lpKeyState, | ||
| LPWSTR | pwszBuff, | ||
| int | cchBuff, | ||
| UINT | wFlags | ||
| ) |
| int WINAPI ToUnicodeEx | ( | UINT | wVirtKey, |
| UINT | wScanCode, | ||
| CONST BYTE * | lpKeyState, | ||
| LPWSTR | pwszBuff, | ||
| int | cchBuff, | ||
| UINT | wFlags, | ||
| HKL | dwhkl | ||
| ) |
Definition at line 1540 of file input.c.
Referenced by VkKeyScanExA().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | user32 | ) |
| IMEHOTKEYENTRY DefaultHotKeyTableC[] |
| IMEHOTKEYENTRY DefaultHotKeyTableJ[] |
| IMEHOTKEYENTRY DefaultHotKeyTableT[] |