https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8d682f9b05a0f590e4723…
commit 8d682f9b05a0f590e4723d3eca1b7d4e57b7d1ee
Author: Oleg Dubinskiy <oleg.dubinskij2013(a)yandex.ua>
AuthorDate: Sun Aug 9 16:49:00 2020 +0300
Commit: GitHub <noreply(a)github.com>
CommitDate: Sun Aug 9 22:49:00 2020 +0900
[IMM32] Stub ImmRegisterClient CORE-16479 (#3009)
Add a stub for ImmRegisterClient function in imm32.dll. CORE-16479
---
dll/win32/imm32/imm.c | 13 ++++++++++++-
dll/win32/imm32/imm32.spec | 2 +-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/dll/win32/imm32/imm.c b/dll/win32/imm32/imm.c
index afa504c4c91..a493202a6aa 100644
--- a/dll/win32/imm32/imm.c
+++ b/dll/win32/imm32/imm.c
@@ -3207,8 +3207,8 @@ BOOL WINAPI ImmDisableLegacyIME(void)
FIXME("stub\n");
return TRUE;
}
-#ifdef __REACTOS__
+#ifdef __REACTOS__
/***********************************************************************
* ImmSetActiveContext(IMM32.@)
*/
@@ -3231,4 +3231,15 @@ BOOL WINAPI ImmSetActiveContextConsoleIME(HWND hwnd, BOOL fFlag)
return ImmSetActiveContext(hwnd, hIMC, fFlag);
return FALSE;
}
+
+/***********************************************************************
+* ImmRegisterClient(IMM32.@)
+* ( Undocumented, called from user32.dll )
+*/
+BOOL WINAPI ImmRegisterClient(PVOID ptr, /* FIXME: should point to SHAREDINFO structure
*/
+ HINSTANCE hMod)
+{
+ FIXME("Stub\n");
+ return TRUE;
+}
#endif
diff --git a/dll/win32/imm32/imm32.spec b/dll/win32/imm32/imm32.spec
index bfd54c3e579..1d6a8174ca3 100644
--- a/dll/win32/imm32/imm32.spec
+++ b/dll/win32/imm32/imm32.spec
@@ -77,7 +77,7 @@
@ stdcall ImmProcessKey(long long long long long)
@ stub ImmPutImeMenuItemsIntoMappedFile
@ stdcall ImmReSizeIMCC(long long)
-@ stub ImmRegisterClient
+@ stdcall ImmRegisterClient(ptr ptr)
@ stdcall ImmRegisterWordA(long str long str)
@ stdcall ImmRegisterWordW(long wstr long wstr)
@ stdcall ImmReleaseContext(long long)