https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4572aad16a7397e938dea…
commit 4572aad16a7397e938dea7f094a2c2b662b8ef48
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Oct 20 13:50:37 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Thu Oct 20 13:50:37 2022 +0900
[IMM32][INCLUDE] s/IMEDPI_FLAG_UNKNOWN/IMEDPI_FLAG_UNLOADED/
CORE-11700
---
dll/win32/imm32/ime.c | 6 +++---
win32ss/include/ntuser.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dll/win32/imm32/ime.c b/dll/win32/imm32/ime.c
index 38df8aa9b32..2e3b7370db5 100644
--- a/dll/win32/imm32/ime.c
+++ b/dll/win32/imm32/ime.c
@@ -341,7 +341,7 @@ BOOL APIENTRY Imm32ReleaseIME(HKL hKL)
if (pImeDpi0->cLockObj)
{
- pImeDpi0->dwFlags |= IMEDPI_FLAG_UNKNOWN;
+ pImeDpi0->dwFlags |= IMEDPI_FLAG_UNLOADED;
ret = FALSE;
goto Quit;
}
@@ -932,7 +932,7 @@ PIMEDPI WINAPI ImmLockImeDpi(HKL hKL)
if (pImeDpi->hKL == hKL) /* found */
{
/* lock if possible */
- if (pImeDpi->dwFlags & IMEDPI_FLAG_UNKNOWN)
+ if (pImeDpi->dwFlags & IMEDPI_FLAG_UNLOADED)
pImeDpi = NULL;
else
++(pImeDpi->cLockObj);
@@ -966,7 +966,7 @@ VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi)
return;
}
- if ((pImeDpi->dwFlags & IMEDPI_FLAG_UNKNOWN) == 0)
+ if ((pImeDpi->dwFlags & IMEDPI_FLAG_UNLOADED) == 0)
{
if ((pImeDpi->dwFlags & IMEDPI_FLAG_LOCKED) == 0 ||
(pImeDpi->ImeInfo.fdwProperty & IME_PROP_END_UNLOAD) == 0)
diff --git a/win32ss/include/ntuser.h b/win32ss/include/ntuser.h
index f7d753b5361..12c65a3bb33 100644
--- a/win32ss/include/ntuser.h
+++ b/win32ss/include/ntuser.h
@@ -1297,7 +1297,7 @@ C_ASSERT(sizeof(IMEDPI) == 0xa8);
#endif
/* flags for IMEDPI.dwFlags */
-#define IMEDPI_FLAG_UNKNOWN 0x1
+#define IMEDPI_FLAG_UNLOADED 0x1
#define IMEDPI_FLAG_LOCKED 0x2
/* unconfirmed */