[IMM32][SDK][USER32] Fix ImmFreeLayout parameter (#7195)

JIRA issue: CORE-19268
- Define ImmFreeLayout parameter special
  values (HKL_SWITCH_TO_NON_IME and
  HKL_RELEASE_IME) at <imm32_undoc.h>.
- Make ImmFreeLayout parameter an HKL.
This commit is contained in:
Katayama Hirofumi MZ 2024-07-30 11:45:23 +09:00 committed by GitHub
parent 68a2322ad4
commit dcf0788f59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 16 additions and 11 deletions

View file

@ -24,6 +24,10 @@ extern "C" {
#define IS_IME_KLID(dwKLID) ((((ULONG)(dwKLID)) & 0xF0000000) == IME_MASK)
#define IS_SUBST_KLID(dwKLID) ((((ULONG)(dwKLID)) & 0xF0000000) == SUBST_MASK)
/* The special values for ImmFreeLayout hKL */
#define HKL_SWITCH_TO_NON_IME ((HKL)UlongToHandle(1))
#define HKL_RELEASE_IME ((HKL)UlongToHandle(2))
typedef struct tagIMEINFOEX
{
HKL hkl;