https://git.reactos.org/?p=reactos.git;a=commitdiff;h=720da3b9bef19c2188cec…
commit 720da3b9bef19c2188cec479e8ea313ea9ff5ce7
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Tue Mar 29 18:05:09 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Tue Mar 29 18:05:09 2022 +0900
[IMM32] Renaming: s/Imm32GetContextEx/ImmGetSaveContext/
CORE-11700
---
dll/win32/imm32/imm.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dll/win32/imm32/imm.c b/dll/win32/imm32/imm.c
index 3dde6656739..5807c78f0f0 100644
--- a/dll/win32/imm32/imm.c
+++ b/dll/win32/imm32/imm.c
@@ -961,7 +961,7 @@ VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc)
ImmLocalFree(pClientImc);
}
-static HIMC APIENTRY Imm32GetContextEx(HWND hWnd, DWORD dwContextFlags)
+static HIMC APIENTRY ImmGetSaveContext(HWND hWnd, DWORD dwContextFlags)
{
HIMC hIMC;
PCLIENTIMC pClientImc;
@@ -1002,7 +1002,7 @@ HIMC WINAPI ImmGetContext(HWND hWnd)
TRACE("(%p)\n", hWnd);
if (hWnd == NULL)
return NULL;
- return Imm32GetContextEx(hWnd, 2);
+ return ImmGetSaveContext(hWnd, 2);
}
/***********************************************************************
@@ -1171,7 +1171,7 @@ BOOL WINAPI ImmSetActiveContext(HWND hWnd, HIMC hIMC, BOOL fActive)
}
else
{
- hIMC = Imm32GetContextEx(hWnd, 1);
+ hIMC = ImmGetSaveContext(hWnd, 1);
pIC = (LPINPUTCONTEXTDX)ImmLockIMC(hIMC);
if (pIC)
{
@@ -1228,7 +1228,7 @@ BOOL WINAPI ImmWINNLSGetEnableStatus(HWND hWnd)
return FALSE;
}
- return !!Imm32GetContextEx(hWnd, 2);
+ return !!ImmGetSaveContext(hWnd, 2);
}
/***********************************************************************