Added patch with stub for imm32.IMMDisableLegacyIME.

This commit is contained in:
Sebastian Lackner 2016-01-21 01:20:21 +01:00
parent 76eb462240
commit 295e6d21eb
3 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,42 @@
From 2f48b5b48caac9a9260577114fd9813aa499d01f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Thu, 21 Jan 2016 00:26:24 +0100
Subject: imm32: Add stub for ImmDisableLegacyIME.
---
dlls/imm32/imm.c | 9 +++++++++
dlls/imm32/imm32.spec | 1 +
2 files changed, 10 insertions(+)
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index 3fab6fc..87c2fcd 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -3036,3 +3036,12 @@ BOOL WINAPI ImmGetHotKey(DWORD hotkey, UINT *modifiers, UINT *key, HKL hkl)
FIXME("%x, %p, %p, %p: stub\n", hotkey, modifiers, key, hkl);
return FALSE;
}
+
+/***********************************************************************
+ * IMMDisableLegacyIME(IMM32.@)
+ */
+BOOL WINAPI ImmDisableLegacyIME(void)
+{
+ FIXME("stub\n");
+ return TRUE;
+}
diff --git a/dlls/imm32/imm32.spec b/dlls/imm32/imm32.spec
index 0bee92a..b92cc1b 100644
--- a/dlls/imm32/imm32.spec
+++ b/dlls/imm32/imm32.spec
@@ -11,6 +11,7 @@
@ stdcall ImmDestroySoftKeyboard(long)
@ stdcall ImmDisableIME(long)
@ stdcall ImmDisableIme(long) ImmDisableIME
+@ stdcall ImmDisableLegacyIME()
@ stdcall ImmDisableTextFrameService(long)
@ stdcall ImmEnumInputContext(long ptr long)
@ stdcall ImmEnumRegisterWordA(long ptr str long str ptr)
--
2.6.4

View File

@ -0,0 +1 @@
Fixes: Add stub for imm32.IMMDisableLegacyIME

View File

@ -148,6 +148,7 @@ patch_enable_all ()
enable_imagehlp_BindImageEx="$1"
enable_imagehlp_Cleanup="$1"
enable_imagehlp_ImageLoad="$1"
enable_imm32_IMMDisableLegacyIME="$1"
enable_inetcpl_Default_Home="$1"
enable_iphlpapi_System_Ping="$1"
enable_iphlpapi_TCP_Table="$1"
@ -578,6 +579,9 @@ patch_enable ()
imagehlp-ImageLoad)
enable_imagehlp_ImageLoad="$2"
;;
imm32-IMMDisableLegacyIME)
enable_imm32_IMMDisableLegacyIME="$2"
;;
inetcpl-Default_Home)
enable_inetcpl_Default_Home="$2"
;;
@ -3597,6 +3601,18 @@ if test "$enable_imagehlp_ImageLoad" -eq 1; then
) >> "$patchlist"
fi
# Patchset imm32-IMMDisableLegacyIME
# |
# | Modified files:
# | * dlls/imm32/imm.c, dlls/imm32/imm32.spec
# |
if test "$enable_imm32_IMMDisableLegacyIME" -eq 1; then
patch_apply imm32-IMMDisableLegacyIME/0001-imm32-Add-stub-for-ImmDisableLegacyIME.patch
(
echo '+ { "Michael Müller", "imm32: Add stub for ImmDisableLegacyIME.", 1 },';
) >> "$patchlist"
fi
# Patchset inetcpl-Default_Home
# |
# | Modified files: