Hi, Eli,

w32-get-ime-open-status() can be used for IME which fully comply with Microsoft IME api.  IME status is not changed if we set the status the same as the last status. It doesn't matter.


------------------ 原始邮件 ------------------
发件人: "Eli Zaretskii"<eliz@gnu.org>;
发送时间: 2020年4月13日(星期一) 晚上9:44
收件人: "Albert"<georgealbert@qq.com>;
抄送: "emacs-devel"<emacs-devel@gnu.org>;
主题: Re: [PATCH] Add IME status change support on windows natively

> From: "Albert" <georgealbert@qq.com>
> Date: Mon, 13 Apr 2020 21:15:16 +0800
> Cc: emacs-devel <emacs-devel@gnu.org>
>
> Thanks for your help. I will follow the emacs coding standard in the future.

Thanks, please try the latest master branch, I've modified the code a
little.  In particular, w32-get-ime-open-status now returns nil or t,
not 0 or 1.