Implement ImmAssociateContextEx (Imm32)

Jesse Allen uh_ja at gmx.net
Wed Mar 3 14:30:51 CST 2004


This patch implements a stub for the missing ImmAssociateContextEx.  Without 
it, a program that calls ImmAssociateContextEx will terminate with an bad 
memory address error at that point.  With the patch, the program will not 
immediately terminate.

Changelog:
Implement ImmAssociateContextEx stub
Jesse Allen <uh_ja at gmx.net>


--- wine/dlls/imm32/imm.c	2004-03-02 13:55:57.000000000 -0700
+++ wine-new/dlls/imm32/imm.c	2004-03-02 16:49:23.000000000 -0700
@@ -255,6 +255,15 @@
 }
 
 /***********************************************************************
+ *              ImmAssociateContextEx (IMM32.@)
+ */
+BOOL WINAPI ImmAssociateContextEx(HWND hWnd, HIMC hIMC, DWORD dwFlags)
+{
+    FIXME("(%p, %p, %ld): stub\n", hWnd, hIMC, dwFlags);
+    return FALSE;
+}
+
+/***********************************************************************
  *		ImmConfigureIMEA (IMM32.@)
  */
 BOOL WINAPI ImmConfigureIMEA(
--- wine/dlls/imm32/imm32.spec	2004-02-02 17:12:03.000000000 -0700
+++ wine-new/dlls/imm32/imm32.spec	2004-03-02 16:21:47.000000000 -0700
@@ -1,4 +1,5 @@
 @ stdcall ImmAssociateContext(long long)
+@ stdcall ImmAssociateContextEx(long long long)
 @ stdcall ImmConfigureIMEA(long long long ptr)
 @ stdcall ImmConfigureIMEW(long long long ptr)
 @ stdcall ImmCreateContext()



More information about the wine-patches mailing list