|
ReactOS 0.4.17-dev-1401-g4f43d35
|

Go to the source code of this file.
Classes | |
| struct | _KBDIMAGE_INFO |
| struct | _KBDVALIDATE |
| struct | tagKBDFILE_NAME |
Macros | |
| #define | CP_ACP 0 |
| #define | KBDIMG_TAG 'ibKU' |
| #define | KBDIMG_MAXSIZE (1 * 1024 * 1024) |
| #define | RVA(m, b) ((PVOID)((ULONG_PTR)(b) + (ULONG_PTR)(m))) |
| #define | KBD_MAX_VKTOBIT 0x100 |
| #define | KBD_MAX_WCHTABLES 0x20 |
| #define | KBD_MAX_VKTOWCH 0x200 |
| #define | KBD_MAX_KEYNAMES 0x200 |
| #define | KBD_MAX_DEADNAMES 0x400 |
| #define | KBD_MAX_DEADKEYS 0x10000 |
| #define | KBD_MAX_VSCVK 0x100 |
| #define | KBD_MAX_LIGATURES 0x10000 |
| #define | KBD_MAX_NLS_ENTRIES 0x100 |
| #define | KBD_MAX_NAME_CCH 128 /* including the terminating NUL */ |
| #define | KBD_MAX_MOD_COLUMNS 10 /* the widest VK_TO_WCHARS<n> */ |
| #define | KBD_MAX_LIGATURE_CCH 5 /* the widest LIGATURE<n> */ |
| #define | KBD_REBASE(pv, field, cbMin, cbAlign, bRequired) KbdRebaseSlot((pv), (PVOID*)&(field), (cbMin), (cbAlign), (bRequired), #field) |
Typedefs | |
| typedef struct _KBDIMAGE_INFO | KBDIMAGE_INFO |
| typedef struct _KBDIMAGE_INFO * | PKBDIMAGE_INFO |
| typedef struct _KBDVALIDATE | KBDVALIDATE |
| typedef struct _KBDVALIDATE * | PKBDVALIDATE |
| typedef struct tagKBDFILE_NAME | KBDFILE_NAME |
| typedef struct tagKBDFILE_NAME * | PKBDFILE_NAME |
Functions | |
| DBG_DEFAULT_CHANNEL (UserKbdLayout) | |
| PKL FASTCALL | IntHKLtoPKL (_Inout_ PTHREADINFO pti, _In_ HKL hKL) |
| static UINT APIENTRY | IntGetKeyboardLayoutList (_Inout_ PWINSTATION_OBJECT pWinSta, _In_ ULONG nBuff, _Out_ HKL *pHklBuff) |
| static PVOID | KbdBuildImage (_In_ PVOID pvRaw, _In_ SIZE_T cbRaw, _Out_ PULONG pcbImage, _Out_ PKBDIMAGE_INFO pInfo) |
| Build the image of the keyboard layout file without executing it, due to security reasons. | |
| static PVOID | KbdLoadImage (_In_ HANDLE hKernelFile, _Out_ PULONG pcbImage, _Out_ PKBDIMAGE_INFO pInfo) |
| static __inline VOID | KbdUnloadImage (_In_opt_ PVOID pvImageBase) |
| static __inline BOOL | KbdIsRangeInData (_In_ const KBDIMAGE_INFO *pInfo, _In_ ULONG_PTR off, _In_ SIZE_T cb) |
| static BOOL | KbdIsBufInRange (_In_ const KBDVALIDATE *pv, _In_ const VOID *p, _In_ SIZE_T cb, _In_ SIZE_T cbAlign) |
| static BOOL | KbdRebaseSlot (_In_ PKBDVALIDATE pv, _Inout_ PVOID *ppSlot, _In_ SIZE_T cbMin, _In_ SIZE_T cbAlign, _In_ BOOL bRequired, _In_ PCSTR pszName) |
| Converts a pointer slot of the layout tables from a virtual address (relative to ImageBase) to a pointer into our buffer, and verifies that the target has room for cbMin bytes. | |
| static BOOL | KbdMeasureTable (_In_ const KBDVALIDATE *pv, _In_ const VOID *pTable, _In_ SIZE_T cbElem, _In_ SIZE_T cbKey, _In_ SIZE_T cbAlign, _In_ ULONG cMax, _Out_ PULONG pcElems, _In_ PCSTR pszName) |
| Measures a table that ends with a terminating element, verifying every element (the terminator included) in full, that is, with the stride of the element. The terminator is an element whose first cbKey bytes are all zero. | |
| static BOOL | KbdCheckWideString (_In_ const KBDVALIDATE *pv, _In_ const WCHAR *pwsz) |
| Verifies a wide string is terminated within the layout data (and is not unreasonably long). | |
| static BOOL | KbdCheckModifiers (_In_ PKBDVALIDATE pv, _Inout_ PKBDTABLES pTbl) |
| Verifies and rebases the modifiers in the main tables of the layout data. | |
| static BOOL | KbdCheckVkToWchars (_In_ PKBDVALIDATE pv, _Inout_ PKBDTABLES pTbl, _Out_ PBOOL pbLigature, _Out_ PBOOL pbDead) |
| Verifies and rebases the VK_TO_WCHAR_TABLE structure in the layout data. | |
| static BOOL | KbdCheckKeyNames (_In_ PKBDVALIDATE pv, _Inout_ VSC_LPWSTR **ppNames, _In_ PCSTR pszName) |
| Verifies and rebases the key name. This table ends with an entry that has vsc == 0. | |
| static BOOL | KbdCheckDeadKeyNames (_In_ PKBDVALIDATE pv, _Inout_ PKBDTABLES pTbl) |
| Verifies and rebases the dead key names (optional). This array of strings ends with NULL. | |
| static BOOL | KbdCheckVscToVk (_In_ PKBDVALIDATE pv, _Inout_ PVSC_VK *ppVscVk, _In_ PCSTR pszName) |
| Verifies and rebases the VSC -> VK table for the E0/E1 prefixes. They end with an entry that has Vsc == 0. | |
| static BOOL | KbdCheckDeadKeys (_In_ PKBDVALIDATE pv, _Inout_ PKBDTABLES pTbl) |
| Verifies and rebases the dead keys (optional). This table ends with an entry that has dwBoth == 0. | |
| static BOOL | KbdCheckLigatures (_In_ PKBDVALIDATE pv, _Inout_ PKBDTABLES pTbl) |
| Verifies and rebases the ligatures (optional). This table ends with an entry that has VirtualKey == 0. | |
| static BOOL | KbdCheckNls (_In_ PKBDVALIDATE pv, _Inout_ PKBDNLSTABLES pNls) |
| Verifies and rebases the NLS (national language support; for Far-East) tables. These tables are counted, not terminated. | |
| static BOOL | KbdRebaseTables (_In_ PBYTE pbImage, _In_ const KBDIMAGE_INFO *pInfo, _Inout_ PKBDTABLES pTbl, _Inout_opt_ PKBDNLSTABLES pNls) |
| Adjusts the pointers inside the layout tables, and validates the whole layout. | |
| static BOOL | UserLoadKbdDll (_In_ HANDLE hKernelFile, _In_ ULONG offTable, _Out_ HANDLE *phModule, _Out_ PULONG pcbImage, _Out_ PKBDTABLES *ppKbdTables, _Out_ PKBDNLSTABLES *ppKbdNlsTables) |
| static PKBDFILE | UserLoadKbdFile (_In_ HANDLE hKernelFile, _In_ ULONG offTable, _In_ PCUNICODE_STRING pustrKLID) |
| static PKL | co_UserLoadKbdLayout (_In_ HANDLE hKernelFile, _In_ ULONG offTable, _In_ const UNICODE_STRING *pustrKLID, _In_ HKL hKL) |
| static VOID | UnloadKbdFile (_In_ PKBDFILE pkf) |
| BOOL | UserUnloadKbl (PKL pKl) |
| PKL | W32kGetDefaultKeyLayout (VOID) |
| PKL NTAPI | UserHklToKbl (HKL hKl) |
| VOID FASTCALL | IntReorderKeyboardLayouts (_Inout_ PWINSTATION_OBJECT pWinSta, _Inout_ PKL pNewKL) |
| BOOL NTAPI | UserSetDefaultInputLang (HKL hKl) |
| VOID APIENTRY | IntImmActivateLayout (_Inout_ PTHREADINFO pti, _Inout_ PKL pKL) |
| static VOID | co_IntSetKeyboardLayoutForProcess (PPROCESSINFO ppi, PKL pKL) |
| HKL APIENTRY | co_UserActivateKeyboardLayout (_Inout_ PKL pKL, _In_ ULONG uFlags, _In_opt_ PWND pWnd) |
| HKL APIENTRY | co_IntActivateKeyboardLayout (_Inout_ PWINSTATION_OBJECT pWinSta, _In_ HKL hKL, _In_ ULONG uFlags, _In_opt_ PWND pWnd) |
| static BOOL APIENTRY | co_IntUnloadKeyboardLayoutEx (_Inout_ PWINSTATION_OBJECT pWinSta, _Inout_ PKL pKL, _In_ DWORD dwFlags) |
| static BOOL APIENTRY | IntUnloadKeyboardLayout (_Inout_ PWINSTATION_OBJECT pWinSta, _In_ HKL hKL) |
| PIMEINFOEX FASTCALL | co_UserImmLoadLayout (_In_ HKL hKL) |
| Invokes imm32!ImmLoadLayout and returns PIMEINFOEX. | |
| HKL APIENTRY | co_IntLoadKeyboardLayoutEx (_Inout_ PWINSTATION_OBJECT pWinSta, _In_ HANDLE hKernelFile, _In_opt_ HKL hOldKL, _In_ ULONG offTable, _In_ PUNICODE_STRING puszSafeKLID, _In_ HKL hNewKL, _In_ UINT Flags) |
| static NTSTATUS | IntQueryHandleName (HANDLE hObject, PKBDFILE_NAME pName) |
| static BOOL FASTCALL | IntEqualDir (_In_ PCUNICODE_STRING pustrParent, _In_ PCUNICODE_STRING pustrDir) |
| HANDLE FASTCALL | IntVerifyKeyboardFileHandle (HANDLE hFile) |
| Validates that the given user-mode handle corresponds to an opened file in SystemRoot\system32. | |
| HKL FASTCALL | UserGetKeyboardLayout (DWORD dwThreadId) |
| UINT APIENTRY | NtUserGetKeyboardLayoutList (ULONG nBuff, HKL *pHklBuff) |
| BOOL APIENTRY | NtUserGetKeyboardLayoutName (_Inout_ PUNICODE_STRING pustrName) |
| HKL NTAPI | NtUserLoadKeyboardLayoutEx (_In_ HANDLE hFile, _In_ ULONG offTable, _In_opt_ PKBDTABLE_MULTI_EX pMulti, _In_opt_ HKL hOldKL, _In_ PUNICODE_STRING puszKLID, _In_ ULONG dwNewKL, _In_ UINT Flags) |
| HKL NTAPI | NtUserActivateKeyboardLayout (HKL hKL, ULONG Flags) |
| BOOL APIENTRY | NtUserUnloadKeyboardLayout (HKL hKl) |
Variables | |
| PKL | gspklBaseLayout = NULL |
| PKBDFILE | gpkfList = NULL |
| DWORD | gSystemFS = 0 |
| UINT | gSystemCPCharSet = 0 |
| HKL | ghKLSentToShell = NULL |
| #define CP_ACP 0 |
Definition at line 18 of file kbdlayout.c.
| #define KBD_MAX_DEADKEYS 0x10000 |
Definition at line 493 of file kbdlayout.c.
| #define KBD_MAX_DEADNAMES 0x400 |
Definition at line 492 of file kbdlayout.c.
| #define KBD_MAX_KEYNAMES 0x200 |
Definition at line 491 of file kbdlayout.c.
Definition at line 499 of file kbdlayout.c.
| #define KBD_MAX_LIGATURES 0x10000 |
Definition at line 495 of file kbdlayout.c.
Definition at line 498 of file kbdlayout.c.
| #define KBD_MAX_NAME_CCH 128 /* including the terminating NUL */ |
Definition at line 497 of file kbdlayout.c.
| #define KBD_MAX_NLS_ENTRIES 0x100 |
Definition at line 496 of file kbdlayout.c.
| #define KBD_MAX_VKTOBIT 0x100 |
Definition at line 488 of file kbdlayout.c.
| #define KBD_MAX_VKTOWCH 0x200 |
Definition at line 490 of file kbdlayout.c.
| #define KBD_MAX_VSCVK 0x100 |
Definition at line 494 of file kbdlayout.c.
| #define KBD_MAX_WCHTABLES 0x20 |
Definition at line 489 of file kbdlayout.c.
| #define KBD_REBASE | ( | pv, | |
| field, | |||
| cbMin, | |||
| cbAlign, | |||
| bRequired | |||
| ) | KbdRebaseSlot((pv), (PVOID*)&(field), (cbMin), (cbAlign), (bRequired), #field) |
Definition at line 599 of file kbdlayout.c.
| #define KBDIMG_MAXSIZE (1 * 1024 * 1024) |
Definition at line 240 of file kbdlayout.c.
| #define KBDIMG_TAG 'ibKU' |
Definition at line 239 of file kbdlayout.c.
Definition at line 243 of file kbdlayout.c.
| typedef struct tagKBDFILE_NAME KBDFILE_NAME |
| typedef struct _KBDIMAGE_INFO KBDIMAGE_INFO |
| typedef struct _KBDVALIDATE KBDVALIDATE |
| typedef struct tagKBDFILE_NAME * PKBDFILE_NAME |
| typedef struct _KBDIMAGE_INFO * PKBDIMAGE_INFO |
| typedef struct _KBDVALIDATE * PKBDVALIDATE |
| HKL APIENTRY co_IntActivateKeyboardLayout | ( | _Inout_ PWINSTATION_OBJECT | pWinSta, |
| _In_ HKL | hKL, | ||
| _In_ ULONG | uFlags, | ||
| _In_opt_ PWND | pWnd | ||
| ) |
Definition at line 1640 of file kbdlayout.c.
Referenced by NtUserActivateKeyboardLayout().
| HKL APIENTRY co_IntLoadKeyboardLayoutEx | ( | _Inout_ PWINSTATION_OBJECT | pWinSta, |
| _In_ HANDLE | hKernelFile, | ||
| _In_opt_ HKL | hOldKL, | ||
| _In_ ULONG | offTable, | ||
| _In_ PUNICODE_STRING | puszSafeKLID, | ||
| _In_ HKL | hNewKL, | ||
| _In_ UINT | Flags | ||
| ) |
Definition at line 1743 of file kbdlayout.c.
Referenced by NtUserLoadKeyboardLayoutEx().
|
static |
Definition at line 1490 of file kbdlayout.c.
Referenced by co_UserActivateKeyboardLayout().
|
static |
Definition at line 1663 of file kbdlayout.c.
Referenced by IntUnloadKeyboardLayout().
| HKL APIENTRY co_UserActivateKeyboardLayout | ( | _Inout_ PKL | pKL, |
| _In_ ULONG | uFlags, | ||
| _In_opt_ PWND | pWnd | ||
| ) |
Definition at line 1525 of file kbdlayout.c.
Referenced by co_IntActivateKeyboardLayout(), co_IntLoadKeyboardLayoutEx(), and co_IntUnloadKeyboardLayoutEx().
| PIMEINFOEX FASTCALL co_UserImmLoadLayout | ( | _In_ HKL | hKL | ) |
Invokes imm32!ImmLoadLayout and returns PIMEINFOEX.
Definition at line 1722 of file kbdlayout.c.
Referenced by co_IntLoadKeyboardLayoutEx().
|
static |
Definition at line 1221 of file kbdlayout.c.
Referenced by co_IntLoadKeyboardLayoutEx().
| DBG_DEFAULT_CHANNEL | ( | UserKbdLayout | ) |
|
static |
Definition at line 1834 of file kbdlayout.c.
Referenced by IntVerifyKeyboardFileHandle().
|
static |
Definition at line 94 of file kbdlayout.c.
Referenced by NtUserGetKeyboardLayoutList().
Definition at line 34 of file kbdlayout.c.
Referenced by co_IntActivateKeyboardLayout(), co_IntUnloadKeyboardLayoutEx(), and IntUnloadKeyboardLayout().
Definition at line 1453 of file kbdlayout.c.
Referenced by co_IntSetKeyboardLayoutForProcess(), and co_UserActivateKeyboardLayout().
|
static |
Definition at line 1827 of file kbdlayout.c.
Referenced by IntEqualDir(), and IntVerifyKeyboardFileHandle().
Definition at line 1415 of file kbdlayout.c.
Referenced by co_IntActivateKeyboardLayout(), co_IntLoadKeyboardLayoutEx(), and UserSetDefaultInputLang().
|
static |
Definition at line 1710 of file kbdlayout.c.
Referenced by NtUserUnloadKeyboardLayout().
Validates that the given user-mode handle corresponds to an opened file in SystemRoot\system32.
If so, duplicates it into a kernel-mode handle.
| [in] | hFile | User-mode handle to a file. Accept it only if the file is in system32. |
Definition at line 1890 of file kbdlayout.c.
Referenced by NtUserLoadKeyboardLayoutEx().
|
static |
Build the image of the keyboard layout file without executing it, due to security reasons.
For a valid keyboard layout file, the tables (and any data they point to) are all stored in the .data section, so this is the only section we take. The headers and any other sections are neither considered nor retained (the returned buffer is exactly the size of the .data section), and neither is the base-relocation data: the pointers inside the tables are adjusted later by KbdRebaseTables(), using the RVA macro.
Definition at line 271 of file kbdlayout.c.
Referenced by KbdLoadImage().
|
static |
Verifies and rebases the dead key names (optional). This array of strings ends with NULL.
| [in] | pv | The state of validation. |
| [in,out] | pTbl | The main tables to verify and rebase the dead key names. |
Definition at line 850 of file kbdlayout.c.
Referenced by KbdRebaseTables().
|
static |
Verifies and rebases the dead keys (optional). This table ends with an entry that has dwBoth == 0.
| [in] | pv | The state of validation. |
| [in,out] | pTbl | The main tables to verify and rebase the dead keys. |
Definition at line 914 of file kbdlayout.c.
Referenced by KbdRebaseTables().
|
static |
Verifies and rebases the key name. This table ends with an entry that has vsc == 0.
| [in] | pv | The state of validation. |
| [in,out] | ppNames | The target VSC_LPWSTR table to verify and rebase the key name. |
| [in] | pszName | The target key name to verify. |
Definition at line 812 of file kbdlayout.c.
Referenced by KbdRebaseTables().
|
static |
Verifies and rebases the ligatures (optional). This table ends with an entry that has VirtualKey == 0.
| [in] | pv | The state of validation. |
| [in,out] | pTbl | The main tables to verify and rebase its ligatures. |
Definition at line 938 of file kbdlayout.c.
Referenced by KbdRebaseTables().
|
static |
Verifies and rebases the modifiers in the main tables of the layout data.
| [in] | pv | The state of validation. |
| [in,out] | pTbl | The main tables to verify and rebase the modifiers. |
Definition at line 687 of file kbdlayout.c.
Referenced by KbdRebaseTables().
|
static |
Verifies and rebases the NLS (national language support; for Far-East) tables. These tables are counted, not terminated.
| [in] | pv | The state of validation. |
| [in,ouy] | pNls The NLS tables to verify and rebase. |
Definition at line 970 of file kbdlayout.c.
Referenced by KbdRebaseTables().
|
static |
Verifies and rebases the VK_TO_WCHAR_TABLE structure in the layout data.
| [in] | pv | The state of validation. |
| [in,out] | pTbl | The main tables to verify and rebase the VK_TO_WCHAR_TABLE structure. |
| [out] | pbLigature | The pointer to a BOOL value that indicates existence of ligature. |
| [out] | pbDead | The pointer to a BOOL value that indicates existence of dead-key. |
Definition at line 735 of file kbdlayout.c.
Referenced by KbdRebaseTables().
|
static |
Verifies and rebases the VSC -> VK table for the E0/E1 prefixes. They end with an entry that has Vsc == 0.
| [in] | pv | The state of validation. |
| [in,out] | ppVscVk | The VSC_VK structure to verify and rebase the VSC -> VK table. |
| [in] | pszName | The target name. |
Definition at line 892 of file kbdlayout.c.
Referenced by KbdRebaseTables().
Verifies a wide string is terminated within the layout data (and is not unreasonably long).
| [in] | pv | The state of validation. |
| [in] | psz | The target wide string to verify. |
Definition at line 658 of file kbdlayout.c.
Referenced by KbdCheckDeadKeyNames(), and KbdCheckKeyNames().
|
static |
Definition at line 513 of file kbdlayout.c.
Referenced by KbdCheckModifiers(), KbdCheckWideString(), KbdMeasureTable(), KbdRebaseSlot(), and KbdRebaseTables().
|
static |
Definition at line 479 of file kbdlayout.c.
Referenced by UserLoadKbdDll().
|
static |
Definition at line 404 of file kbdlayout.c.
Referenced by UserLoadKbdDll().
|
static |
Measures a table that ends with a terminating element, verifying every element (the terminator included) in full, that is, with the stride of the element. The terminator is an element whose first cbKey bytes are all zero.
Definition at line 609 of file kbdlayout.c.
Referenced by KbdCheckDeadKeyNames(), KbdCheckDeadKeys(), KbdCheckKeyNames(), KbdCheckLigatures(), KbdCheckModifiers(), KbdCheckVkToWchars(), and KbdCheckVscToVk().
|
static |
Converts a pointer slot of the layout tables from a virtual address (relative to ImageBase) to a pointer into our buffer, and verifies that the target has room for cbMin bytes.
Every slot can be converted only once: if the tables overlap, the slot would hold an already-converted pointer (a kernel address), which must never be treated as a virtual address again.
| [in] | ppSlot | The slot. It must lie within the buffer. |
| [in] | cbMin | The number of bytes that must be available at the target. |
| [in] | cbAlign | The alignment of the target. |
| [in] | bRequired | Whether a NULL pointer is rejected (otherwise, it is left as NULL). |
| [in] | pszName | The name. |
Definition at line 547 of file kbdlayout.c.
Referenced by KbdCheckDeadKeyNames(), KbdCheckKeyNames(), and KbdCheckVscToVk().
|
static |
Adjusts the pointers inside the layout tables, and validates the whole layout.
In the file, these pointers are virtual addresses relative to ImageBase, so the RVA of the target is (VA - ImageBase), and the adjusted pointer is the offset (RVA - offData) applied to our buffer, which holds the .data section only. The tables are modified in place (in our own copy).
The layout comes from user mode, so nothing in it is trusted:
Definition at line 1037 of file kbdlayout.c.
Referenced by UserLoadKbdDll().
Definition at line 469 of file kbdlayout.c.
Referenced by UnloadKbdFile(), and UserLoadKbdDll().
Definition at line 2230 of file kbdlayout.c.
Referenced by LoadKeyboardLayoutW(), and User32DefWindowProc().
Definition at line 2010 of file kbdlayout.c.
Referenced by CliImmInitializeHotKeys().
| BOOL APIENTRY NtUserGetKeyboardLayoutName | ( | _Inout_ PUNICODE_STRING | pustrName | ) |
Definition at line 2064 of file kbdlayout.c.
Referenced by GetKeyboardLayoutNameA(), GetKeyboardLayoutNameW(), and START_TEST().
| HKL NTAPI NtUserLoadKeyboardLayoutEx | ( | _In_ HANDLE | hFile, |
| _In_ ULONG | offTable, | ||
| _In_opt_ PKBDTABLE_MULTI_EX | pMulti, | ||
| _In_opt_ HKL | hOldKL, | ||
| _In_ PUNICODE_STRING | puszKLID, | ||
| _In_ ULONG | dwNewKL, | ||
| _In_ UINT | Flags | ||
| ) |
Definition at line 2129 of file kbdlayout.c.
Referenced by IntLoadKeyboardLayout().
Definition at line 2255 of file kbdlayout.c.
Referenced by UnloadKeyboardLayout().
Definition at line 1301 of file kbdlayout.c.
Referenced by UserUnloadKbl().
Definition at line 1967 of file kbdlayout.c.
Referenced by IntGetActiveKeyboardLayout(), and NtUserCallOneParam().
Definition at line 1396 of file kbdlayout.c.
Referenced by co_IntLoadKeyboardLayoutEx(), NtUserMapVirtualKeyEx(), NtUserSetThreadLayoutHandles(), NtUserToUnicodeEx(), NtUserVkKeyScanEx(), and UserSetDefaultInputLang().
|
static |
Definition at line 1103 of file kbdlayout.c.
Referenced by UserLoadKbdFile().
|
static |
Definition at line 1179 of file kbdlayout.c.
Referenced by co_UserLoadKbdLayout().
Definition at line 1440 of file kbdlayout.c.
Referenced by SpiGetSet().
Definition at line 1328 of file kbdlayout.c.
Referenced by co_IntLoadKeyboardLayoutEx().
Definition at line 1369 of file kbdlayout.c.
Referenced by InitThreadCallback(), IntTranslateKbdMessage(), UserProcessKeyboardInput(), and UserSendKeyboardInput().
Definition at line 26 of file kbdlayout.c.
Referenced by co_IntUnloadKeyboardLayoutEx(), and co_UserActivateKeyboardLayout().
Definition at line 23 of file kbdlayout.c.
Referenced by UnloadKbdFile(), and UserLoadKbdFile().
Definition at line 22 of file kbdlayout.c.
Referenced by co_IntLoadKeyboardLayoutEx(), co_IntUnloadKeyboardLayoutEx(), IntGetKeyboardLayoutList(), IntReorderKeyboardLayouts(), SpiGetSet(), UserGetImeInfoEx(), UserHklToKbl(), UserSetImeInfoEx(), UserUnloadKbl(), and W32kGetDefaultKeyLayout().
| UINT gSystemCPCharSet = 0 |
Definition at line 25 of file kbdlayout.c.
Referenced by co_UserLoadKbdLayout().
| DWORD gSystemFS = 0 |
Definition at line 24 of file kbdlayout.c.
Referenced by co_UserLoadKbdLayout(), IntImmProcessKey(), and IntLanguageToggle().