https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6541c423f4ccf3d04a68b…
commit 6541c423f4ccf3d04a68b503174d2d98787c4b04
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Mar 31 19:36:11 2022 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu Mar 31 19:36:11 2022 +0900
[IMM32] Add more 'Win:' comments (#4423)
CORE-11700
---
dll/win32/imm32/compstr.c | 2 ++
dll/win32/imm32/keymsg.c | 1 +
dll/win32/imm32/utils.c | 5 +++++
3 files changed, 8 insertions(+)
diff --git a/dll/win32/imm32/compstr.c b/dll/win32/imm32/compstr.c
index 5350bcb48bc..e6354450901 100644
--- a/dll/win32/imm32/compstr.c
+++ b/dll/win32/imm32/compstr.c
@@ -214,6 +214,7 @@ Imm32CompClauseWideToAnsi(const DWORD *source, INT slen, LPCWSTR
text,
#define CS_DoAttr CS_DoStrA
#define CS_DoClause CS_DoStrA
+// Win: InternalGetCompositionStringA
LONG APIENTRY
Imm32GetCompStrA(HIMC hIMC, const COMPOSITIONSTRING *pCS, DWORD dwIndex,
LPVOID lpBuf, DWORD dwBufLen, BOOL bAnsiClient, UINT uCodePage)
@@ -364,6 +365,7 @@ Imm32GetCompStrA(HIMC hIMC, const COMPOSITIONSTRING *pCS, DWORD
dwIndex,
return dwBufLen;
}
+// Win: InternalGetCompositionStringW
LONG APIENTRY
Imm32GetCompStrW(HIMC hIMC, const COMPOSITIONSTRING *pCS, DWORD dwIndex,
LPVOID lpBuf, DWORD dwBufLen, BOOL bAnsiClient, UINT uCodePage)
diff --git a/dll/win32/imm32/keymsg.c b/dll/win32/imm32/keymsg.c
index 9aff8d86a5c..684e4a762bc 100644
--- a/dll/win32/imm32/keymsg.c
+++ b/dll/win32/imm32/keymsg.c
@@ -179,6 +179,7 @@ BOOL APIENTRY Imm32KEnglish(HIMC hIMC)
return TRUE;
}
+// Win: HotKeyIDDispatcher
BOOL APIENTRY Imm32ProcessHotKey(HWND hWnd, HIMC hIMC, HKL hKL, DWORD dwHotKeyID)
{
PIMEDPI pImeDpi;
diff --git a/dll/win32/imm32/utils.c b/dll/win32/imm32/utils.c
index 1195c6655b6..e9aea522696 100644
--- a/dll/win32/imm32/utils.c
+++ b/dll/win32/imm32/utils.c
@@ -27,6 +27,7 @@ Imm32StrToUInt(LPCWSTR pszText, LPDWORD pdwValue, ULONG nBase)
return S_OK;
}
+// Win: UIntToStr
HRESULT APIENTRY
Imm32UIntToStr(DWORD dwValue, ULONG nBase, LPWSTR pszBuff, USHORT cchBuff)
{
@@ -115,6 +116,7 @@ LONG APIENTRY IchAnsiFromWide(LONG cchWide, LPCWSTR pchWide, UINT
uCodePage)
return cchAnsi;
}
+// Win: InternalGetSystemPathName
BOOL Imm32GetSystemLibraryPath(LPWSTR pszPath, DWORD cchPath, LPCWSTR pszFileName)
{
if (!pszFileName[0] || !GetSystemDirectoryW(pszPath, cchPath))
@@ -124,6 +126,7 @@ BOOL Imm32GetSystemLibraryPath(LPWSTR pszPath, DWORD cchPath, LPCWSTR
pszFileNam
return TRUE;
}
+// Win: LFontAtoLFontW
VOID APIENTRY LogFontAnsiToWide(const LOGFONTA *plfA, LPLOGFONTW plfW)
{
size_t cch;
@@ -136,6 +139,7 @@ VOID APIENTRY LogFontAnsiToWide(const LOGFONTA *plfA, LPLOGFONTW
plfW)
plfW->lfFaceName[cch] = 0;
}
+// Win: LFontWtoLFontA
VOID APIENTRY LogFontWideToAnsi(const LOGFONTW *plfW, LPLOGFONTA plfA)
{
size_t cch;
@@ -615,6 +619,7 @@ BOOL APIENTRY Imm32LoadImeLangAndDesc(PIMEINFOEX pInfoEx, LPCVOID
pVerInfo)
return TRUE;
}
+// Win: LoadVersionInfo
BOOL APIENTRY Imm32LoadImeVerInfo(PIMEINFOEX pImeInfoEx)
{
HINSTANCE hinstVersion;