https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2f7775c60428c0a1141fa…
commit 2f7775c60428c0a1141faa862eacc461bacf960f
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed Apr 6 13:11:57 2022 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Apr 6 13:11:57 2022 +0900
[NTUSER] Add 'Win:' comments to ime.c and window.c (#4427)
- Add 'Win:' comments to clarify the Windows-side function names.
CORE-11700
---
win32ss/user/ntuser/ime.c | 10 ++++++++++
win32ss/user/ntuser/window.c | 2 ++
2 files changed, 12 insertions(+)
diff --git a/win32ss/user/ntuser/ime.c b/win32ss/user/ntuser/ime.c
index 124e5667c88..c6f5473d8d9 100644
--- a/win32ss/user/ntuser/ime.c
+++ b/win32ss/user/ntuser/ime.c
@@ -134,6 +134,7 @@ static LANGID FASTCALL IntGetImeHotKeyLangId(DWORD dwHotKeyId)
return LANGID_NEUTRAL;
}
+// Win: AddImeHotKey
static VOID FASTCALL IntAddImeHotKey(PIMEHOTKEY *ppList, PIMEHOTKEY pHotKey)
{
PIMEHOTKEY pNode;
@@ -279,6 +280,7 @@ IntGetImeHotKeyByKey(PIMEHOTKEY pList, UINT uModKeys, UINT uLeftRight,
UINT uVir
return ret;
}
+// Win: CheckImeHotKey
PIMEHOTKEY IntCheckImeHotKey(PUSER_MESSAGE_QUEUE MessageQueue, UINT uVirtualKey, LPARAM
lParam)
{
PIMEHOTKEY pHotKey;
@@ -329,6 +331,7 @@ PIMEHOTKEY IntCheckImeHotKey(PUSER_MESSAGE_QUEUE MessageQueue, UINT
uVirtualKey,
return NULL;
}
+// Win: FreeImeHotKeys
VOID FASTCALL IntFreeImeHotKeys(VOID)
{
PIMEHOTKEY pNode, pNext;
@@ -340,6 +343,7 @@ VOID FASTCALL IntFreeImeHotKeys(VOID)
gpImeHotKeyList = NULL;
}
+// Win: SetImeHotKey
static BOOL APIENTRY
IntSetImeHotKey(DWORD dwHotKeyId, UINT uModifiers, UINT uVirtualKey, HKL hKL, DWORD
dwAction)
{
@@ -493,6 +497,7 @@ PWND FASTCALL IntGetTopLevelWindow(PWND pwnd)
return pwnd;
}
+// Win: AssociateInputContext
HIMC FASTCALL IntAssociateInputContext(PWND pWnd, PIMC pImc)
{
HIMC hOldImc = pWnd->hImc;
@@ -528,6 +533,7 @@ Quit:
return 0;
}
+// Win: BuildHimcList
DWORD FASTCALL UserBuildHimcList(PTHREADINFO pti, DWORD dwCount, HIMC *phList)
{
PIMC pIMC;
@@ -938,6 +944,7 @@ Quit:
return ret;
}
+// Win: GetImeInfoEx
BOOL FASTCALL UserGetImeInfoEx(LPVOID pUnknown, PIMEINFOEX pInfoEx, IMEINFOEXCLASS
SearchType)
{
PKL pkl, pklHead;
@@ -1064,6 +1071,7 @@ Quit:
return ret;
}
+// Win: SetImeInfoEx
BOOL FASTCALL UserSetImeInfoEx(LPVOID pUnknown, PIMEINFOEX pImeInfoEx)
{
PKL pklHead, pkl;
@@ -1310,6 +1318,7 @@ Quit:
return ret;
}
+// Win: CreateInputContext
PIMC FASTCALL UserCreateInputContext(ULONG_PTR dwClientImcData)
{
PIMC pIMC;
@@ -1381,6 +1390,7 @@ Quit:
return ret;
}
+// Win: AssociateInputContextEx
DWORD FASTCALL IntAssociateInputContextEx(PWND pWnd, PIMC pIMC, DWORD dwFlags)
{
DWORD ret = 0;
diff --git a/win32ss/user/ntuser/window.c b/win32ss/user/ntuser/window.c
index cba571b9196..3cf1fd22a99 100644
--- a/win32ss/user/ntuser/window.c
+++ b/win32ss/user/ntuser/window.c
@@ -1390,6 +1390,7 @@ PWINDOWLIST FASTCALL IntPopulateHwndList(PWINDOWLIST pwl, PWND pwnd,
DWORD dwFla
return pwl;
}
+// Win: BuildHwndList
PWINDOWLIST FASTCALL IntBuildHwndList(PWND pwnd, DWORD dwFlags, PTHREADINFO pti)
{
PWINDOWLIST pwl;
@@ -1435,6 +1436,7 @@ PWINDOWLIST FASTCALL IntBuildHwndList(PWND pwnd, DWORD dwFlags,
PTHREADINFO pti)
return pwl;
}
+// Win: FreeHwndList
VOID FASTCALL IntFreeHwndList(PWINDOWLIST pwlTarget)
{
PWINDOWLIST pwl, *ppwl;