imm32: If ImmNotifyIME fails, ImmSetOpenStatus should also fail.

ByeongSik Jeon bsjeon at hanmail.net
Thu Apr 24 02:13:52 CDT 2008


Kusanagi Kouichi wrote:
>      if (!fOpen != !data->IMC.fOpen)
>      {
> +        if (!ImmNotifyIME( hIMC, NI_CONTEXTUPDATED, 0, IMC_SETOPENSTATUS))
> +            return FALSE;
>          data->IMC.fOpen = fOpen;
> -        ImmNotifyIME( hIMC, NI_CONTEXTUPDATED, 0, IMC_SETOPENSTATUS);
>          ImmInternalSendIMENotify(data, IMN_SETSENTENCEMODE, 0);
Hi,

MS Windows's native imm32.dll return TRUE although NotifyIME return
FALSE. I have tested it with the DDK's Japanese FakeIME.




More information about the wine-devel mailing list