https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c3fac567cac6ebc694728…
commit c3fac567cac6ebc6947287679aceaeb57a05340f
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Fri Apr 8 19:50:41 2022 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Apr 8 19:50:41 2022 +0900
[IMM32] Renaming: s/Imm32FreeImeDpi/Imm32UnloadIME/ (#4435)
Improve debuggability. CORE-11700
---
dll/win32/imm32/ime.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/dll/win32/imm32/ime.c b/dll/win32/imm32/ime.c
index 82ca39adbb4..327dc2f49fb 100644
--- a/dll/win32/imm32/ime.c
+++ b/dll/win32/imm32/ime.c
@@ -31,7 +31,8 @@ PIMEDPI APIENTRY Imm32FindImeDpi(HKL hKL)
return pImeDpi;
}
-VOID APIENTRY Imm32FreeImeDpi(PIMEDPI pImeDpi, BOOL bDestroy)
+// Win: UnloadIME
+VOID APIENTRY Imm32UnloadIME(PIMEDPI pImeDpi, BOOL bDestroy)
{
if (pImeDpi->hInst == NULL)
return;
@@ -257,7 +258,7 @@ PIMEDPI APIENTRY Ime32LoadImeDpi(HKL hKL, BOOL bLock)
RtlLeaveCriticalSection(&gcsImeDpi);
- Imm32FreeImeDpi(pImeDpiNew, FALSE);
+ Imm32UnloadIME(pImeDpiNew, FALSE);
ImmLocalFree(pImeDpiNew);
return pImeDpiFound;
}
@@ -342,7 +343,7 @@ BOOL APIENTRY Imm32ReleaseIME(HKL hKL)
}
}
- Imm32FreeImeDpi(pImeDpi0, TRUE);
+ Imm32UnloadIME(pImeDpi0, TRUE);
ImmLocalFree(pImeDpi0);
Quit:
@@ -788,7 +789,7 @@ VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi)
}
}
- Imm32FreeImeDpi(pImeDpi, TRUE);
+ Imm32UnloadIME(pImeDpi, TRUE);
ImmLocalFree(pImeDpi);
RtlLeaveCriticalSection(&gcsImeDpi);