mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:23:05 +00:00
parent
2ba41ad4e0
commit
8edc22a2ca
1 changed files with 10 additions and 5 deletions
|
@ -704,12 +704,17 @@ IntLoadKeyboardLayout(
|
||||||
dwhkl |= (0xf000 | wcstol(wszLayoutId, NULL, 16)) << 16;
|
dwhkl |= (0xf000 | wcstol(wszLayoutId, NULL, 16)) << 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check "IME File" value */
|
if (bIsIME)
|
||||||
dwSize = sizeof(szImeFileName);
|
|
||||||
if (RegQueryValueExW(hKey, L"IME File", NULL, &dwType, (LPBYTE)szImeFileName,
|
|
||||||
&dwSize) != ERROR_SUCCESS)
|
|
||||||
{
|
{
|
||||||
dwhkl = LOWORD(dwhkl);
|
/* Check "IME File" value */
|
||||||
|
dwSize = sizeof(szImeFileName);
|
||||||
|
if (RegQueryValueExW(hKey, L"IME File", NULL, &dwType, (LPBYTE)szImeFileName,
|
||||||
|
&dwSize) != ERROR_SUCCESS)
|
||||||
|
{
|
||||||
|
FIXME("Check IME file existence in system32\n")
|
||||||
|
bIsIME = FALSE;
|
||||||
|
dwhkl = LOWORD(dwhkl);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Close the key now */
|
/* Close the key now */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue