From 295e6d21eb34c9f9e1150307be18206425840422 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 21 Jan 2016 01:20:21 +0100 Subject: [PATCH] Added patch with stub for imm32.IMMDisableLegacyIME. --- ...m32-Add-stub-for-ImmDisableLegacyIME.patch | 42 +++++++++++++++++++ patches/imm32-IMMDisableLegacyIME/definition | 1 + patches/patchinstall.sh | 16 +++++++ 3 files changed, 59 insertions(+) create mode 100644 patches/imm32-IMMDisableLegacyIME/0001-imm32-Add-stub-for-ImmDisableLegacyIME.patch create mode 100644 patches/imm32-IMMDisableLegacyIME/definition diff --git a/patches/imm32-IMMDisableLegacyIME/0001-imm32-Add-stub-for-ImmDisableLegacyIME.patch b/patches/imm32-IMMDisableLegacyIME/0001-imm32-Add-stub-for-ImmDisableLegacyIME.patch new file mode 100644 index 00000000..6104e6ba --- /dev/null +++ b/patches/imm32-IMMDisableLegacyIME/0001-imm32-Add-stub-for-ImmDisableLegacyIME.patch @@ -0,0 +1,42 @@ +From 2f48b5b48caac9a9260577114fd9813aa499d01f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +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 + diff --git a/patches/imm32-IMMDisableLegacyIME/definition b/patches/imm32-IMMDisableLegacyIME/definition new file mode 100644 index 00000000..2f5d3593 --- /dev/null +++ b/patches/imm32-IMMDisableLegacyIME/definition @@ -0,0 +1 @@ +Fixes: Add stub for imm32.IMMDisableLegacyIME diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 7c667d8b..55930fbe 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -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: