[PATCH] imm32: Add stub for ImmDisableLegacyIME.

Aric Stewart aric at codeweavers.com
Wed Feb 14 08:05:20 CST 2018


Signed-off-by: Aric Stewart <aric at codeweavers.com>

On 2/13/18 10:35 PM, Alistair Leslie-Hughes wrote:
> From: Michael Müller <michael at fds-team.de>
> 
> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
> ---
>   dlls/imm32/imm.c      | 9 +++++++++
>   dlls/imm32/imm32.spec | 1 +
>   include/imm.h         | 1 +
>   3 files changed, 11 insertions(+)
> 
> diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
> index 3f8ad18..377a277 100644
> --- a/dlls/imm32/imm.c
> +++ b/dlls/imm32/imm.c
> @@ -3145,3 +3145,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 2be5d92..4197bb8 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)
> diff --git a/include/imm.h b/include/imm.h
> index aa2fa1d..500aea9 100644
> --- a/include/imm.h
> +++ b/include/imm.h
> @@ -493,6 +493,7 @@ BOOL   WINAPI ImmConfigureIMEW(HKL, HWND, DWORD, LPVOID);
>   HIMC   WINAPI ImmCreateContext(void);
>   BOOL   WINAPI ImmDestroyContext(HIMC hIMC);
>   BOOL   WINAPI ImmDisableIME(DWORD idThread);
> +BOOL   WINAPI ImmDisableLegacyIME(void);
>   BOOL   WINAPI ImmEnumInputContext(DWORD, IMCENUMPROC, LPARAM);
>   UINT   WINAPI ImmEnumRegisterWordA(HKL, REGISTERWORDENUMPROCA, LPCSTR, DWORD, LPCSTR, LPVOID);
>   UINT   WINAPI ImmEnumRegisterWordW(HKL, REGISTERWORDENUMPROCW, LPCWSTR, DWORD, LPCWSTR, LPVOID);
> 



More information about the wine-devel mailing list