#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | NLS_CLEAR_VK(Vk) ((Vk) &= (KBDEXT|KBDMULTIVK|KBDSPECIAL|KBDNUMPAD|KBDBREAK)) |
#define | NLS_CLEAR_VK_AND_ATTR(Vk) ((Vk) &= (KBDEXT|KBDMULTIVK|KBDSPECIAL|KBDNUMPAD)) |
#define | GEN_KANA_AWARE 0x1 |
#define | GEN_VK_END 0x2 |
#define | GEN_VK_HOME 0x4 |
#define | IS_KANA_AWARE() (fNlsKbdConfiguration & GEN_KANA_AWARE) |
#define | IS_SEND_VK_END() (fNlsKbdConfiguration & GEN_VK_END) |
#define | IS_SEND_VK_HOME() (fNlsKbdConfiguration & GEN_VK_HOME) |
#define | NLSKBD_CONFIG_PATH L"WOW\\keyboard" |
Functions | |
BOOL | NlsTestKeyStateToggle (BYTE Vk) |
VOID | NlsSetKeyStateToggle (BYTE Vk) |
VOID | NlsClearKeyStateToggle (BYTE Vk) |
BYTE | NlsGetCurrentInputMode (BYTE *QueryMode) |
BOOL | NlsNullProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsSendBaseVk (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsSendParamVk (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsLapseProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsAlphanumericModeProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsKatakanaModeProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsHiraganaModeProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsSbcsDbcsToggleProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsRomanToggleProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsCodeInputToggleProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsKanaModeToggleProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsHelpOrEndProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsHomeOrClearProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsNumpadModeProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsKanaEventProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | NlsConvOrNonConvProc (PKE pKe, ULONG_PTR dwExtraInfo, ULONG dwParam) |
BOOL | GenerateNlsVkKey (PVK_F pVkToF, WORD nMod, PKE pKe, ULONG_PTR dwExtraInfo) |
BOOL | GenerateNlsVkAltKey (PVK_F pVkToF, WORD nMod, PKE pKe, ULONG_PTR dwExtraInfo) |
BOOL | KbdNlsFuncTypeDummy (PVK_F pVkToF, PKE pKe, ULONG_PTR dwExtraInfo) |
BOOL | KbdNlsFuncTypeNormal (PVK_F pVkToF, PKE pKe, ULONG_PTR dwExtraInfo) |
BOOL | KbdNlsFuncTypeAlt (PVK_F pVkToF, PKE pKe, ULONG_PTR dwExtraInfo) |
BOOL | xxxKENLSProcs (PKE pKe, ULONG_PTR dwExtraInfo) |
VOID | NlsKbdSendIMENotification (DWORD dwImeOpen, DWORD dwImeConversion) |
VOID | NlsKbdSendIMEProc (DWORD dwImeOpen, DWORD dwImeConversion) |
VOID | NlsKbdInitializePerSystem (VOID) |
Variables | |
BYTE | NlsAlphaNumMode [] = {VK_DBE_ALPHANUMERIC,VK_DBE_HIRAGANA,VK_DBE_KATAKANA,0} |
BYTE | NlsSbcsDbcsMode [] = {VK_DBE_SBCSCHAR,VK_DBE_DBCSCHAR,0} |
BYTE | NlsRomanMode [] = {VK_DBE_NOROMAN,VK_DBE_ROMAN,0} |
BYTE | NlsCodeInputMode [] = {VK_DBE_NOCODEINPUT,VK_DBE_CODEINPUT,0} |
VK_TO_BIT | aVkToBits_NLSKBD [] |
MODIFIERS | Modifiers_NLSKBD |
BYTE | fNlsKbdConfiguration = GEN_KANA_AWARE | GEN_VK_END | GEN_VK_HOME |
NLSKEPROC | aNLSKEProc [] |
NLSVKFPROC | aNLSVKFProc [] |
|
Definition at line 63 of file fekbd.c. Referenced by NlsKbdInitializePerSystem(). |
|
Definition at line 64 of file fekbd.c. Referenced by NlsKbdInitializePerSystem(). |
|
Definition at line 65 of file fekbd.c. Referenced by NlsKbdInitializePerSystem(). |
|
Definition at line 67 of file fekbd.c. Referenced by NlsHelpOrEndProc(). |
|
Definition at line 68 of file fekbd.c. Referenced by NlsHelpOrEndProc(). |
|
Definition at line 69 of file fekbd.c. Referenced by NlsHomeOrClearProc(). |
|
Definition at line 18 of file fekbd.c. Referenced by NlsAlphanumericModeProc(), NlsCodeInputToggleProc(), NlsHelpOrEndProc(), NlsHiraganaModeProc(), NlsHomeOrClearProc(), NlsKanaEventProc(), NlsKatakanaModeProc(), NlsNumpadModeProc(), NlsRomanToggleProc(), NlsSbcsDbcsToggleProc(), and NlsSendParamVk(). |
|
Definition at line 24 of file fekbd.c. Referenced by NlsKanaModeToggleProc(). |
|
Definition at line 1082 of file fekbd.c. Referenced by NlsKbdInitializePerSystem(). |
|
Definition at line 875 of file fekbd.c. References aNLSKEProc, BOOL, BYTE, and DWORD. Referenced by KbdNlsFuncTypeAlt().
|
|
Definition at line 864 of file fekbd.c. References aNLSKEProc, BOOL, BYTE, and DWORD. Referenced by KbdNlsFuncTypeAlt(), and KbdNlsFuncTypeNormal().
|
|
Definition at line 940 of file fekbd.c. References BOOL, FALSE, gafRawKeyState, GenerateNlsVkAltKey(), GenerateNlsVkKey(), GetModificationNumber(), GetModifierBits(), Modifiers_NLSKBD, and NULL.
|
|
Definition at line 893 of file fekbd.c.
|
|
Definition at line 912 of file fekbd.c. References BOOL, FALSE, gafRawKeyState, GenerateNlsVkKey(), GetModificationNumber(), GetModifierBits(), Modifiers_NLSKBD, and NULL.
|
|
Definition at line 230 of file fekbd.c. References BOOL, BYTE, FALSE, gdwIMEOpenStatus, NLS_CLEAR_VK, NlsAlphaNumMode, NlsClearKeyStateToggle(), NlsGetCurrentInputMode(), NlsKbdSendIMEProc(), NlsLapseProc(), NlsTestKeyStateToggle(), TRUE, USHORT, and xxxKeyEvent().
|
|
Definition at line 110 of file fekbd.c. References ClearAsyncKeyStateToggle, ClearKeyStateToggle, gpqForeground, and VOID(). Referenced by NlsAlphanumericModeProc(), NlsCodeInputToggleProc(), NlsHiraganaModeProc(), NlsKatakanaModeProc(), NlsRomanToggleProc(), and NlsSbcsDbcsToggleProc().
|
|
Definition at line 495 of file fekbd.c. References BOOL, BYTE, FALSE, NLS_CLEAR_VK, NlsClearKeyStateToggle(), NlsCodeInputMode, NlsGetCurrentInputMode(), NlsLapseProc(), TRUE, USHORT, and xxxKeyEvent().
|
|
Definition at line 821 of file fekbd.c. References BOOL, FALSE, gdwIMEOpenStatus, NlsKbdSendIMEProc(), NlsTestKeyStateToggle(), and TRUE.
|
|
Definition at line 124 of file fekbd.c. References BYTE, and NlsTestKeyStateToggle(). Referenced by NlsAlphanumericModeProc(), NlsCodeInputToggleProc(), NlsHiraganaModeProc(), NlsKatakanaModeProc(), NlsRomanToggleProc(), and NlsSbcsDbcsToggleProc().
|
|
Definition at line 600 of file fekbd.c. References BOOL, IS_KANA_AWARE, IS_SEND_VK_END, NLS_CLEAR_VK, NlsTestKeyStateToggle(), and TRUE.
|
|
Definition at line 332 of file fekbd.c. References BOOL, BYTE, FALSE, gdwIMEOpenStatus, NLS_CLEAR_VK, NlsAlphaNumMode, NlsClearKeyStateToggle(), NlsGetCurrentInputMode(), NlsKbdSendIMEProc(), NlsLapseProc(), NlsTestKeyStateToggle(), TRUE, USHORT, and xxxKeyEvent().
|
|
Definition at line 649 of file fekbd.c. References BOOL, IS_SEND_VK_HOME, NLS_CLEAR_VK, and TRUE.
|
|
Definition at line 783 of file fekbd.c. References BOOL, BYTE, FALSE, NLS_CLEAR_VK, NlsKbdSendIMEProc(), NlsTestKeyStateToggle(), and TRUE.
|
|
Definition at line 551 of file fekbd.c. References BOOL, NLS_CLEAR_VK_AND_ATTR, NlsLapseProc(), NlsTestKeyStateToggle(), and TRUE.
|
|
Definition at line 281 of file fekbd.c. References BOOL, BYTE, FALSE, gdwIMEOpenStatus, NLS_CLEAR_VK, NlsAlphaNumMode, NlsClearKeyStateToggle(), NlsGetCurrentInputMode(), NlsKbdSendIMEProc(), NlsLapseProc(), NlsTestKeyStateToggle(), TRUE, USHORT, and xxxKeyEvent().
|
|
Definition at line 1092 of file fekbd.c. References EndString, fNlsKbdConfiguration, GEN_KANA_AWARE, GEN_VK_END, GEN_VK_HOME, L, NLSKBD_CONFIG_PATH, NlsSetKeyStateToggle(), NoString, NT_SUCCESS, NTSTATUS(), NULL, RtlEqualUnicodeString(), RtlInitUnicodeString(), RtlQueryRegistryValues(), TRUE, and VOID(). Referenced by LW_DriversInit().
|
|
Definition at line 1034 of file fekbd.c. References BEGINATOMICDEVICEINFOLISTCHECK, DEVICE_TYPE_KEYBOARD, ENDATOMICDEVICEINFOLISTCHECK, EnterDeviceInfoListCrit(), GDIAF_IME_STATUS, gKbdImeStatus, gpDeviceInfoList, gpKbdNlsTbl, LeaveDeviceInfoListCrit(), NULL, RequestDeviceChange(), TRUE, and VOID(). Referenced by NlsKbdSendIMEProc(), and xxxNotifyIMEStatus().
|
|
Definition at line 1071 of file fekbd.c. References GetAppImeCompatFlags(), gpqForeground, NlsKbdSendIMENotification(), NULL, tagQ::ptiKeyboard, and VOID(). Referenced by NlsAlphanumericModeProc(), NlsConvOrNonConvProc(), NlsHiraganaModeProc(), NlsKanaEventProc(), and NlsKatakanaModeProc().
|
|
Definition at line 211 of file fekbd.c. Referenced by NlsAlphanumericModeProc(), NlsCodeInputToggleProc(), NlsHiraganaModeProc(), NlsKanaModeToggleProc(), NlsKatakanaModeProc(), NlsRomanToggleProc(), and NlsSbcsDbcsToggleProc().
|
|
Definition at line 151 of file fekbd.c.
|
|
Definition at line 676 of file fekbd.c. References BOOL, BYTE, LOBYTE, NLS_CLEAR_VK, NlsTestKeyStateToggle(), TestRawKeyDown, and TRUE.
|
|
Definition at line 439 of file fekbd.c. References BOOL, BYTE, FALSE, NLS_CLEAR_VK, NlsClearKeyStateToggle(), NlsGetCurrentInputMode(), NlsLapseProc(), NlsRomanMode, TRUE, USHORT, and xxxKeyEvent().
|
|
Definition at line 383 of file fekbd.c. References BOOL, BYTE, FALSE, NLS_CLEAR_VK, NlsClearKeyStateToggle(), NlsGetCurrentInputMode(), NlsLapseProc(), NlsSbcsDbcsMode, TRUE, USHORT, and xxxKeyEvent().
|
|
Definition at line 170 of file fekbd.c.
|
|
Definition at line 189 of file fekbd.c. References BOOL, BYTE, NLS_CLEAR_VK, and TRUE.
|
|
Definition at line 96 of file fekbd.c. References gpqForeground, SetAsyncKeyStateToggle, SetKeyStateToggle, and VOID(). Referenced by NlsKbdInitializePerSystem().
|
|
Definition at line 80 of file fekbd.c. References BOOL, gpqForeground, TestAsyncKeyStateToggle, and TestKeyStateToggle. Referenced by NlsAlphanumericModeProc(), NlsConvOrNonConvProc(), NlsGetCurrentInputMode(), NlsHelpOrEndProc(), NlsHiraganaModeProc(), NlsKanaEventProc(), NlsKanaModeToggleProc(), NlsKatakanaModeProc(), and NlsNumpadModeProc().
|
|
Definition at line 1004 of file fekbd.c. References aNLSVKFProc, BOOL, CheckCritIn, gpKbdNlsTbl, LOBYTE, NULL, TRUE, and UINT. Referenced by xxxProcessKeyEvent().
|
|
Initial value:
Definition at line 845 of file fekbd.c. Referenced by GenerateNlsVkAltKey(), and GenerateNlsVkKey(). |
|
Initial value: Definition at line 992 of file fekbd.c. Referenced by xxxKENLSProcs(). |
|
Initial value:
|
|
Definition at line 71 of file fekbd.c. Referenced by NlsKbdInitializePerSystem(). |
|
Initial value:
Definition at line 45 of file fekbd.c. Referenced by KbdNlsFuncTypeAlt(), and KbdNlsFuncTypeNormal(). |
|
Definition at line 30 of file fekbd.c. Referenced by NlsAlphanumericModeProc(), NlsHiraganaModeProc(), and NlsKatakanaModeProc(). |
|
Definition at line 33 of file fekbd.c. Referenced by NlsCodeInputToggleProc(). |
|
Definition at line 32 of file fekbd.c. Referenced by NlsRomanToggleProc(). |
|
Definition at line 31 of file fekbd.c. Referenced by NlsSbcsDbcsToggleProc(). |