[IMM32] ImmDisableIME calls NtUserDisableThreadIme (#3776)

- Just call NtUserDisableThreadIme in ImmDisableIME directly. CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2021-07-01 18:03:42 +09:00 committed by GitHub
parent 561fa8d29b
commit 650cd77234
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -850,6 +850,9 @@ BOOL WINAPI ImmDestroyContext(HIMC hIMC)
*/
BOOL WINAPI ImmDisableIME(DWORD idThread)
{
#ifdef __REACTOS__
return NtUserDisableThreadIme(idThread);
#else
if (idThread == (DWORD)-1)
disable_ime = TRUE;
else {
@ -859,6 +862,7 @@ BOOL WINAPI ImmDisableIME(DWORD idThread)
LeaveCriticalSection(&threaddata_cs);
}
return TRUE;
#endif
}
/***********************************************************************