Platform SDK: International Features

ImmSetOpenStatus

The ImmSetOpenStatus function opens or closes the IME.

BOOL ImmSetOpenStatus(
  HIMC hIMC,  
  BOOL fOpen  
);

Parameters

hIMC
[in] Handle to the input context.
fOpen
[in] Specifies the open state. If TRUE, the IME is opened; otherwise, it is closed.

Return Values

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero.

Remarks

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

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Imm.h.
  Library: Use Imm32.lib.

See Also

Input Method Editor Overview, Input Method Editor Functions, IMN_SETOPENSTATUS