The ImmSetOpenStatus function opens or closes the IME.
BOOL ImmSetOpenStatus(
| HIMC hIMC, | |
| BOOL fOpen | |
| ); | 
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.
This function causes a IMN_SETOPENSTATUS message to be sent to the application.