mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[IMM32][INCLUDE] s/IMEDPI_FLAG_UNKNOWN/IMEDPI_FLAG_UNLOADED/
CORE-11700
This commit is contained in:
parent
27cc079d90
commit
4572aad16a
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue