Home
last modified time | relevance | path

Searched refs:hkl (Results 1 – 25 of 29) sorted by relevance

12

/reactos/modules/rostests/apitests/win32nt/ntuser/
H A DNtUserToUnicodeEx.c14 HKL hkl = LoadKeyboardLayoutW(L"00000409", KLF_NOTELLSHELL); in START_TEST() local
20 TEST(NtUserToUnicodeEx(27, 1, KeyState, Buffer, 10, 0, hkl) == 1); in START_TEST()
22 TEST(NtUserToUnicodeEx(49, 2, KeyState, Buffer, 10, 0, hkl) == 1); in START_TEST()
24 TEST(NtUserToUnicodeEx(50, 3, KeyState, Buffer, 10, 0, hkl) == 1); in START_TEST()
26 TEST(NtUserToUnicodeEx(51, 4, KeyState, Buffer, 10, 0, hkl) == 1); in START_TEST()
28 TEST(NtUserToUnicodeEx(52, 5, KeyState, Buffer, 10, 0, hkl) == 1); in START_TEST()
30 TEST(NtUserToUnicodeEx(53, 6, KeyState, Buffer, 10, 0, hkl) == 1); in START_TEST()
32 TEST(NtUserToUnicodeEx(54, 7, KeyState, Buffer, 10, 0, hkl) == 1); in START_TEST()
34 TEST(NtUserToUnicodeEx(55, 8, KeyState, Buffer, 10, 0, hkl) == 1); in START_TEST()
36 TEST(NtUserToUnicodeEx(56, 9, KeyState, Buffer, 10, 0, hkl) == 1); in START_TEST()
[all …]
/reactos/modules/rostests/apitests/imm32/
H A DImmGetImeInfoEx.c16 trace("hkl: %p\n", pInfoEx->hkl); in PrintInfoEx()
69 if (IS_IME_HKL(InfoEx.hkl)) in START_TEST()
71 ok_long(LOWORD(InfoEx.hkl), LangID); in START_TEST()
75 ok_int(LOWORD(InfoEx.hkl), LangID); in START_TEST()
76 ok_int(HIWORD(InfoEx.hkl), LangID); in START_TEST()
91 if (IS_IME_HKL(InfoEx.hkl)) in START_TEST()
93 ok_long(LOWORD(InfoEx.hkl), LangID); in START_TEST()
97 ok_int(LOWORD(InfoEx.hkl), LangID); in START_TEST()
98 ok_int(HIWORD(InfoEx.hkl), LangID); in START_TEST()
/reactos/modules/rostests/winetests/dinput/
H A Dkeyboard.c49 HKL hkl, hkl_current; in activate_keyboard_layout() local
54 hkl = LoadKeyboardLayoutA(hkl_name, 0); in activate_keyboard_layout()
55 if (!hkl) in activate_keyboard_layout()
77 return hkl; in activate_keyboard_layout()
95 HKL hkl, hkl_orig; in acquire_tests() local
99 if (!hkl) return; in acquire_tests()
188 UnloadKeyboardLayout(hkl); in acquire_tests()
361 HKL hkl, hkl_orig; in test_dik_codes() local
391 if (!hkl) goto fail; in test_dik_codes()
403 n = VkKeyScanExW(map[i].key, hkl); in test_dik_codes()
[all …]
/reactos/win32ss/user/ntuser/
H A Dkbdlayout.c70 if (pKL->hkl == hKL) in IntHKLtoPKL()
127 *pHklBuff = pKL->hkl; in IntGetKeyboardLayoutList()
389 pKl->hkl = hKL; in co_UserLoadKbdLayout()
548 if (pKl->hkl == hKl) in UserHklToKbl()
628 pti->pClientInfo->hKL = pKL->hkl; in IntImmActivateLayout()
686 hOldKL = pOldKL->hkl; in co_UserActivateKeyboardLayout()
708 ClientInfo->hKL = pKL->hkl; in co_UserActivateKeyboardLayout()
722 ClientInfo->hKL = pKL->hkl; in co_UserActivateKeyboardLayout()
732 ghKLSentToShell = pKL->hkl; in co_UserActivateKeyboardLayout()
1007 return pKl ? pKl->hkl : NULL; in UserGetKeyboardLayout()
[all …]
H A Dime.c92 return pti->KeyboardLayout->hkl; in IntGetActiveKeyboardLayout()
517 if (pOldKL && pOldKL->hkl != hOldKL) in NtUserSetThreadLayoutHandles()
528 pti->pClientInfo->hKL = pNewKL->hkl; in NtUserSetThreadLayoutHandles()
615 if (pKL->hkl != hKL) in IntImmProcessKey()
680 ret = co_IntImmProcessKey(hWnd, pKL->hkl, uVirtualKey, lParam, dwHotKeyId); in IntImmProcessKey()
754 hKL = pti->KeyboardLayout->hkl; in UserSetImeConversionKeyState()
839 hKL = (pti->KeyboardLayout ? pti->KeyboardLayout->hkl : NULL); in NtUserNotifyIMEStatus()
968 if (pInfoEx->hkl == pkl->hkl) in UserGetImeInfoEx()
972 ERR("!pkl->piiex at %p\n", pkl->hkl); in UserGetImeInfoEx()
1103 if (pkl->hkl != pImeInfoEx->hkl) in UserSetImeInfoEx()
[all …]
H A Dinput.h32 HKL hkl; member
H A Dkeyboard.c804 LANGID LangID = LOWORD(pKL->hkl); in IntGetNextKL()
810 if (!(pKL->dwKL_Flags & KL_UNLOAD) && bSameLang == (LangID == LOWORD(pKL->hkl))) in IntGetNextKL()
847 UserPostMessage(hWnd, WM_INPUTLANGCHANGEREQUEST, wParam, (LPARAM)pkl->hkl); in IntLanguageToggle()
1305 pti->pClientInfo->hKL = pDefKL->hkl; in IntTranslateKbdMessage()
H A Dsysparams.c1460 return SpiGet(pvParam, &gspklBaseLayout->hkl, sizeof(HKL), fl); in SpiGetSet()
1464 HKL hkl; in SpiGetSet() local
1467 if ((fl & SPIF_UPDATEINIFILE) || !SpiSet(&hkl, pvParam, sizeof(hkl), fl)) in SpiGetSet()
1470 return UserSetDefaultInputLang(hkl); in SpiGetSet()
H A Dmisc.c757 ASSERT(pci->hKL == pti->KeyboardLayout->hkl); in UserDbgAssertThreadInfo()
H A Dmain.c554 pci->hKL = pDefKL->hkl; in InitThreadCallback()
/reactos/dll/cpl/input/
H A Dlayout_list.c207 LayoutList_GetByHkl(HKL hkl) in LayoutList_GetByHkl() argument
211 if (IS_SPECIAL_HKL(hkl)) in LayoutList_GetByHkl()
213 WORD wSpecialId = SPECIALIDFROMHKL(hkl); in LayoutList_GetByHkl()
223 else if (IS_IME_HKL(hkl)) in LayoutList_GetByHkl()
227 if (hkl == UlongToHandle(pCurrent->dwKLID)) in LayoutList_GetByHkl()
237 if (HIWORD(hkl) == LOWORD(pCurrent->dwKLID)) in LayoutList_GetByHkl()
H A Dinput_list.c340 HKL hKL = pNode->hkl; in InputList_AddInputMethodToUserRegistry()
373 pNode->hkl = LoadKeyboardLayoutW(szLogicalKLID, uFlags); in InputList_AddInputMethodToUserRegistry()
402 if (!IS_IME_HKL(pCurrent->hkl)) in InputList_Process()
422 if (UnloadKeyboardLayout(pCurrent->hkl)) in InputList_Process()
445 ActivateKeyboardLayout(pCurrent->hkl, KLF_RESET); in InputList_Process()
448 hDefaultKL = pCurrent->hkl; in InputList_Process()
490 UnloadKeyboardLayout(pCurrent->hkl); in InputList_Process()
688 pInput->hkl = hKL; in InputList_Create()
690 if (pInput->hkl == hklDefault) /* Default HKL? */ in InputList_Create()
H A Dlocale_list.c129 LocaleList_GetByHkl(HKL hkl) in LocaleList_GetByHkl() argument
135 if (LOWORD(pCurrent->dwId) == LOWORD(hkl)) in LocaleList_GetByHkl()
H A Dlocale_list.h22 LocaleList_GetByHkl(HKL hkl);
H A Dlayout_list.h24 LayoutList_GetByHkl(HKL hkl);
H A Dinput_list.h39 HKL hkl; /* Only for loaded input methods */ member
H A Dsettings_page.c289 if (IS_IME_HKL(pInputNode->hkl) && pInputNode->pLayout->pszImeFile) // IME? in AddToInputListView()
/reactos/modules/rostests/winetests/imm32/
H A Dimm32.c998 HKL hkl; in test_ImmGetDescription() local
1010 hkl = GetKeyboardLayout(0); in test_ImmGetDescription()
1011 ok(hkl != 0, "GetKeyboardLayout failed, expected != 0.\n"); in test_ImmGetDescription()
1013 ret = ImmGetDescriptionW(hkl, NULL, 0); in test_ImmGetDescription()
1026 ret = ImmGetDescriptionW(hkl, descW, 0); in test_ImmGetDescription()
1029 lret = ImmGetDescriptionW(hkl, descW, ret + 1); in test_ImmGetDescription()
1033 lret = ImmGetDescriptionA(hkl, descA, ret + 1); in test_ImmGetDescription()
1038 lret = ImmGetDescriptionW(hkl, descW, ret + 1); in test_ImmGetDescription()
1042 lret = ImmGetDescriptionA(hkl, descA, ret + 1); in test_ImmGetDescription()
1045 ret = ImmGetDescriptionW(hkl, descW, 1); in test_ImmGetDescription()
[all …]
/reactos/dll/win32/msctf/
H A Dinputprocessor.c797 LANGID langid, REFCLSID clsid, REFGUID guidProfile, HKL hkl, DWORD dwFlags) in InputProcessorProfileMgr_ActivateProfile() argument
801 debugstr_guid(guidProfile), hkl, dwFlags); in InputProcessorProfileMgr_ActivateProfile()
806 LANGID langid, REFCLSID clsid, REFGUID guidProfile, HKL hkl, DWORD dwFlags) in InputProcessorProfileMgr_DeactivateProfile() argument
810 debugstr_guid(guidProfile), hkl, dwFlags); in InputProcessorProfileMgr_DeactivateProfile()
815 … LANGID langid, REFCLSID clsid, REFGUID guidProfile, HKL hkl, TF_INPUTPROCESSORPROFILE *pProfile) in InputProcessorProfileMgr_GetProfile() argument
819 debugstr_guid(guidProfile), hkl, pProfile); in InputProcessorProfileMgr_GetProfile()
/reactos/dll/win32/imm32/
H A Dime.c792 InfoEx.hkl = hNewKL = NULL; in ImmInstallIMEW()
794 if (!Imm32LoadImeVerInfo(&InfoEx) || !InfoEx.hkl) in ImmInstallIMEW()
799 wLangID = LOWORD(InfoEx.hkl); in ImmInstallIMEW()
834 !UnloadKeyboardLayout(InfoEx.hkl)) in ImmInstallIMEW()
938 pImeInfoEx->hkl = hKL; in ImmGetImeInfoEx()
H A Dutils.c821 if (pInfoEx->hkl == NULL) in Imm32LoadImeLangAndDesc()
822 pInfoEx->hkl = UlongToHandle(*pw); in Imm32LoadImeLangAndDesc()
H A Dimm.c107 pImeInfoEx->hkl = hKL; in ImmLoadLayout()
/reactos/sdk/include/reactos/
H A Dimm32_undoc.h33 HKL hkl; member
/reactos/dll/win32/syssetup/
H A Dwizard.c1224 HKL hkl; in SetKeyboardLayoutName() local
1235 if (!SystemParametersInfoW(SPI_GETDEFAULTINPUTLANG, 0, (LPDWORD)&hkl, 0)) in SetKeyboardLayoutName()
1237 hkl = GetKeyboardLayout(0); in SetKeyboardLayoutName()
1240 if ((HIWORD(hkl) & 0xF000) == 0xF000) in SetKeyboardLayoutName()
1243 StringCchPrintfW(SpecialId, ARRAYSIZE(SpecialId), L"%04x", (HIWORD(hkl) & 0x0FFF)); in SetKeyboardLayoutName()
1251 StringCchPrintfW(LocaleName, ARRAYSIZE(LocaleName), L"%08lx", (i << 16) | LOWORD(hkl)); in SetKeyboardLayoutName()
/reactos/sdk/include/psdk/
H A Dmsctf.idl650 HKL hkl;
687 [in] HKL hkl,
695 [in] HKL hkl,
703 [in] HKL hkl,
1919 [in] HKL hkl,

12