ImmSetOpenStatus

This function opens or closes the IME.

At a Glance

Header file: Imm.h
Windows CE versions: 2.10 and later (Japanese version 1.0 and later)

Syntax

BOOL ImmSetOpenStatus(HIMC hIMC, BOOL fOpen);

Parameters

hIMC

[in] Handle to the input context. For Windows CE versions 2.10 and later, if hIMC is NULL, then the open status for the current active context is returned.

fOpen

[in] Open flag. If TRUE, the IME is opened; otherwise, it is closed.

Return Values

Nonzero indicates success. Zero indicates failure.

Remarks

This function causes a IMN_SETOPENSTATUS message to be sent to the application.

See Also

IMN_SETOPENSTATUS