mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[IMM32] Rewrite ImmIsIME (Retry) (#3803)
- Rewrite ImmIsIME function. - Fix enum IMEINFOEXCLASS. CORE-11700
This commit is contained in:
parent
4339ae8c7e
commit
211de1257e
2 changed files with 7 additions and 0 deletions
|
@ -2200,10 +2200,16 @@ HKL WINAPI ImmInstallIMEW(
|
|||
*/
|
||||
BOOL WINAPI ImmIsIME(HKL hKL)
|
||||
{
|
||||
#ifdef __REACTOS__
|
||||
IMEINFOEX info;
|
||||
TRACE("ImmIsIME(%p)\n", hKL);
|
||||
return !!ImmGetImeInfoEx(&info, ImeInfoExImeWindow, &hKL);
|
||||
#else
|
||||
ImmHkl *ptr;
|
||||
TRACE("(%p):\n", hKL);
|
||||
ptr = IMM_GetImmHkl(hKL);
|
||||
return (ptr && ptr->hIME);
|
||||
#endif
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
|
@ -1179,6 +1179,7 @@ typedef struct tagIMEINFOEX
|
|||
typedef enum IMEINFOEXCLASS
|
||||
{
|
||||
ImeInfoExKeyboardLayout,
|
||||
ImeInfoExImeWindow,
|
||||
ImeInfoExImeFileName
|
||||
} IMEINFOEXCLASS;
|
||||
|
||||
|
|
Loading…
Reference in a new issue