https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6ba810c08e7060d00c9ef…
commit 6ba810c08e7060d00c9efb84f56fd85a7db0c5e7
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Mar 3 16:17:07 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Thu Mar 3 16:17:07 2022 +0900
[IMM32] s/CLIENTIMC_UNKNOWN1/CLIENTIMC_DESTROY/
CORE-11700
---
dll/win32/imm32/imm.c | 8 ++++----
win32ss/include/ntuser.h | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dll/win32/imm32/imm.c b/dll/win32/imm32/imm.c
index 2a22fc18671..a4e48cb88ce 100644
--- a/dll/win32/imm32/imm.c
+++ b/dll/win32/imm32/imm.c
@@ -657,7 +657,7 @@ BOOL APIENTRY Imm32CleanupContext(HIMC hIMC, HKL hKL, BOOL bKeep)
return FALSE;
}
- if (pClientImc->dwFlags & CLIENTIMC_UNKNOWN1)
+ if (pClientImc->dwFlags & CLIENTIMC_DESTROY)
return TRUE;
InterlockedIncrement(&pClientImc->cLockObj);
@@ -689,7 +689,7 @@ BOOL APIENTRY Imm32CleanupContext(HIMC hIMC, HKL hKL, BOOL bKeep)
ImmUnlockIMC(hIMC);
Quit:
- pClientImc->dwFlags |= CLIENTIMC_UNKNOWN1;
+ pClientImc->dwFlags |= CLIENTIMC_DESTROY;
ImmUnlockClientImc(pClientImc);
Finish:
@@ -931,7 +931,7 @@ PCLIENTIMC WINAPI ImmLockClientImc(HIMC hImc)
}
else
{
- if (pClientImc->dwFlags & CLIENTIMC_UNKNOWN1)
+ if (pClientImc->dwFlags & CLIENTIMC_DESTROY)
return NULL;
}
@@ -950,7 +950,7 @@ VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc)
TRACE("(%p)\n", pClientImc);
cLocks = InterlockedDecrement(&pClientImc->cLockObj);
- if (cLocks != 0 || !(pClientImc->dwFlags & CLIENTIMC_UNKNOWN1))
+ if (cLocks != 0 || !(pClientImc->dwFlags & CLIENTIMC_DESTROY))
return;
hInputContext = pClientImc->hInputContext;
diff --git a/win32ss/include/ntuser.h b/win32ss/include/ntuser.h
index 326bc9aefbe..846750ca64e 100644
--- a/win32ss/include/ntuser.h
+++ b/win32ss/include/ntuser.h
@@ -1316,7 +1316,7 @@ C_ASSERT(sizeof(CLIENTIMC) == 0x34);
#define CLIENTIMC_WIDE 0x1
#define CLIENTIMC_UNKNOWN5 0x2
#define CLIENTIMC_UNKNOWN4 0x20
-#define CLIENTIMC_UNKNOWN1 0x40
+#define CLIENTIMC_DESTROY 0x40
#define CLIENTIMC_UNKNOWN3 0x80
#define CLIENTIMC_UNKNOWN2 0x100