[IMM32] Rewrite ImmIsUIMessageA/W (#3907)

- Rewrite ImmIsUIMessageA and ImmIsUIMessageW functions.
- Modify HIMC and HIMCC handle types for strictness. Add typecasts.
- Add WM_IME_SYSTEM macro.
- Modify imm32.spec.
CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2021-08-16 15:33:51 +09:00 committed by GitHub
parent cc097ec485
commit 77911014f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 57 additions and 46 deletions

View file

@ -6,9 +6,8 @@ struct _THREADINFO;
struct _DESKTOP;
struct _WND;
struct tagPOPUPMENU;
#ifndef HIMC
typedef HANDLE HIMC;
#endif
#define WM_IME_SYSTEM 0x287
#define FIRST_USER_HANDLE 0x0020 /* first possible value for low word of user handle */
#define LAST_USER_HANDLE 0xffef /* last possible value for low word of user handle */