https://git.reactos.org/?p=reactos.git;a=commitdiff;h=633ed86af21d3ba565f6b…
commit 633ed86af21d3ba565f6ba208a3e8f1f0710333a
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Fri Oct 21 13:21:02 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Fri Oct 21 13:21:02 2022 +0900
[IMM32][INCLUDE] s/CLIENTIMC_UNKNOWN5/CLIENTIMC_ACTIVE/
CORE-11700
---
dll/win32/imm32/imm.c | 4 ++--
win32ss/include/ntuser.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/win32/imm32/imm.c b/dll/win32/imm32/imm.c
index 2d913677274..a0a250c5a75 100644
--- a/dll/win32/imm32/imm.c
+++ b/dll/win32/imm32/imm.c
@@ -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);
diff --git a/win32ss/include/ntuser.h b/win32ss/include/ntuser.h
index 12c65a3bb33..f5241d8350f 100644
--- a/win32ss/include/ntuser.h
+++ b/win32ss/include/ntuser.h
@@ -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