https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e996662afb8d9849c22b4…
commit e996662afb8d9849c22b42351b0201979c18554d
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Jul 29 08:21:33 2021 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Thu Jul 29 08:21:33 2021 +0900
[IMM32] s/idThread/dwThreadId/
- Rename idThread variable as dwThreadId.
- Rename idImeThread variable as dwImeThreadId.
CORE-11700
---
dll/win32/imm32/imm.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/dll/win32/imm32/imm.c b/dll/win32/imm32/imm.c
index 13c79d1a226..2f316db2a08 100644
--- a/dll/win32/imm32/imm.c
+++ b/dll/win32/imm32/imm.c
@@ -964,9 +964,9 @@ BOOL WINAPI ImmDestroyContext(HIMC hIMC)
/***********************************************************************
* ImmDisableIME (IMM32.@)
*/
-BOOL WINAPI ImmDisableIME(DWORD idThread)
+BOOL WINAPI ImmDisableIME(DWORD dwThreadId)
{
- return NtUserDisableThreadIme(idThread);
+ return NtUserDisableThreadIme(dwThreadId);
}
/***********************************************************************
@@ -3142,16 +3142,16 @@ VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi)
*/
BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
{
- DWORD idImeThread, idThread, dwConversion;
+ DWORD dwImeThreadId, dwThreadId, dwConversion;
LPINPUTCONTEXT pIC;
HWND hWnd;
BOOL bHasChange = FALSE;
TRACE("ImmSetOpenStatus(%p, %d)\n", hIMC, fOpen);
- idImeThread = Imm32QueryInputContext(hIMC, 1);
- idThread = GetCurrentThreadId();
- if (idImeThread != idThread)
+ dwImeThreadId = Imm32QueryInputContext(hIMC, 1);
+ dwThreadId = GetCurrentThreadId();
+ if (dwImeThreadId != dwThreadId)
return FALSE;
pIC = ImmLockIMC(hIMC);
@@ -3726,7 +3726,7 @@ BOOL WINAPI ImmProcessKey(HWND hwnd, HKL hKL, UINT vKey, LPARAM
lKeyData, DWORD
/***********************************************************************
* ImmDisableTextFrameService(IMM32.@)
*/
-BOOL WINAPI ImmDisableTextFrameService(DWORD idThread)
+BOOL WINAPI ImmDisableTextFrameService(DWORD dwThreadId)
{
FIXME("Stub\n");
return FALSE;
@@ -3736,7 +3736,7 @@ BOOL WINAPI ImmDisableTextFrameService(DWORD idThread)
* ImmEnumInputContext(IMM32.@)
*/
-BOOL WINAPI ImmEnumInputContext(DWORD idThread, IMCENUMPROC lpfn, LPARAM lParam)
+BOOL WINAPI ImmEnumInputContext(DWORD dwThreadId, IMCENUMPROC lpfn, LPARAM lParam)
{
FIXME("Stub\n");
return FALSE;