[IMM32][INCLUDE] s/CLIENTIMC_UNKNOWN5/CLIENTIMC_ACTIVE/

CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2022-10-21 13:21:02 +09:00
parent 962c4557b5
commit 633ed86af2
2 changed files with 3 additions and 3 deletions

View file

@ -1146,7 +1146,7 @@ BOOL WINAPI ImmSetActiveContext(HWND hWnd, HIMC hIMC, BOOL fActive)
if (!fActive)
{
if (pClientImc)
pClientImc->dwFlags &= ~CLIENTIMC_UNKNOWN5;
pClientImc->dwFlags &= ~CLIENTIMC_ACTIVE;
}
else if (hIMC)
{
@ -1161,7 +1161,7 @@ BOOL WINAPI ImmSetActiveContext(HWND hWnd, HIMC hIMC, BOOL fActive)
}
pIC->hWnd = hWnd;
pClientImc->dwFlags |= CLIENTIMC_UNKNOWN5;
pClientImc->dwFlags |= CLIENTIMC_ACTIVE;
if (pIC->dwUIFlags & 2)
dwShowFlags = (ISC_SHOWUIGUIDELINE | ISC_SHOWUIALLCANDIDATEWINDOW);

View file

@ -1326,7 +1326,7 @@ C_ASSERT(sizeof(CLIENTIMC) == 0x34);
/* flags for CLIENTIMC */
#define CLIENTIMC_WIDE 0x1
#define CLIENTIMC_UNKNOWN5 0x2
#define CLIENTIMC_ACTIVE 0x2
#define CLIENTIMC_UNKNOWN4 0x20
#define CLIENTIMC_DESTROY 0x40
#define CLIENTIMC_DISABLEIME 0x80