Opens or closes the IME.
Syntax
HRESULT SetOpenStatus( HIMC hIMC, BOOL fOpen );
Parameters
- hIMC
- [in] Handle to the input context.
- fOpen
- [in] Boolean value that contains the status. If TRUE, the IME is opened. Otherwise the IME is closed.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmSetOpenStatus function documented in the Microsoft® Platform Software Development Kit (SDK).