[PATCH] Implement ImmReleaseContext.

Trent Waddington trent.waddington at gmail.com
Sun Aug 26 17:08:19 CDT 2007


Ugly stub warning replaced with intuitive implementation.

Trent
-------------- next part --------------
From 368ad87d8f242d8e8ae77105cbec549824200f7f Mon Sep 17 00:00:00 2001
From: Trent Waddington <trentw at linux.localdomain>
Date: Mon, 27 Aug 2007 08:01:17 +1000
Subject: Implement ImmReleaseContext.

---
 dlls/imm32/imm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index 26d0b51..dd58477 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -1505,7 +1505,8 @@ BOOL WINAPI ImmRegisterWordW(
  */
 BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
 {
-  FIXME("(%p, %p): stub\n", hWnd, hIMC);
+    if (hIMC == (HIMC)root_context)
+        root_context->IMC.hWnd = NULL;
 
     return TRUE;
 }
-- 
1.4.4.3


More information about the wine-devel mailing list