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"<address@hidden>;
????????: 2020??4??13??(??????) ????9:44
??????: "Albert"<address@hidden>;
????: "emacs-devel"<address@hidden>;
????: Re: [PATCH] Add IME status change support on windows natively
> From: "Albert" <address@hidden>
> Date: Mon, 13 Apr 2020 21:15:16 +0800
> Cc: emacs-devel <address@hidden>
>
> 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.