[IMM32][INCLUDE] s/IMEDPI_FLAG_UNKNOWN/IMEDPI_FLAG_UNLOADED/

CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2022-10-20 13:50:37 +09:00
parent 27cc079d90
commit 4572aad16a
2 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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 */