https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d78e9fbb45dea42d08758…
commit d78e9fbb45dea42d08758c061283647d1cd9f9cd
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Aug 21 07:24:12 2021 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Aug 21 07:24:12 2021 +0900
[IMM32] Implement ImmWINNLSGetIMEHotkey (#3919)
- Implement ImmWINNLSGetIMEHotkey function.
- Modify imm32.spec.
CORE-11700
---
dll/win32/imm32/imm.c | 9 +++++++++
dll/win32/imm32/imm32.spec | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dll/win32/imm32/imm.c b/dll/win32/imm32/imm.c
index 055f8d3c865..675f4d0c648 100644
--- a/dll/win32/imm32/imm.c
+++ b/dll/win32/imm32/imm.c
@@ -5100,6 +5100,15 @@ Quit:
return NtUserGetImeInfoEx(pImeInfoEx, SearchType);
}
+/***********************************************************************
+ * ImmWINNLSGetIMEHotkey (IMM32.@)
+ */
+UINT WINAPI ImmWINNLSGetIMEHotkey(HWND hwndIme)
+{
+ TRACE("(%p)\n", hwndIme);
+ return 0; /* This is correct. This function of Windows just returns zero. */
+}
+
BOOL WINAPI User32InitializeImmEntryTable(DWORD);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
diff --git a/dll/win32/imm32/imm32.spec b/dll/win32/imm32/imm32.spec
index e5d9cfa72fb..7ff287d3657 100644
--- a/dll/win32/imm32/imm32.spec
+++ b/dll/win32/imm32/imm32.spec
@@ -112,4 +112,4 @@
@ stdcall ImmUnregisterWordW(long wstr long wstr)
@ stdcall -stub ImmWINNLSEnableIME(ptr long)
@ stdcall -stub ImmWINNLSGetEnableStatus(ptr)
-@ stub ImmWINNLSGetIMEHotkey
+@ stdcall ImmWINNLSGetIMEHotkey(ptr)