mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[IMM32] ImmDisableIME calls NtUserDisableThreadIme (#3776)
- Just call NtUserDisableThreadIme in ImmDisableIME directly. CORE-11700
This commit is contained in:
parent
561fa8d29b
commit
650cd77234
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in a new issue