mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 05:23:33 +08:00
parent
2ba41ad4e0
commit
8edc22a2ca
@ -704,12 +704,17 @@ IntLoadKeyboardLayout(
|
||||
dwhkl |= (0xf000 | wcstol(wszLayoutId, NULL, 16)) << 16;
|
||||
}
|
||||
|
||||
/* Check "IME File" value */
|
||||
dwSize = sizeof(szImeFileName);
|
||||
if (RegQueryValueExW(hKey, L"IME File", NULL, &dwType, (LPBYTE)szImeFileName,
|
||||
&dwSize) != ERROR_SUCCESS)
|
||||
if (bIsIME)
|
||||
{
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user