Share via


ImmSetOpenStatus (Compact 2013)

3/28/2014

This function opens or closes the IME.

Syntax

BOOL ImmSetOpenStatus(
  HIMC hIMC,
  BOOL fOpen
);

Parameters

  • hIMC
    [in] Handle to the input context. 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 Value

Nonzero indicates success. Zero indicates failure.

Remarks

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

Requirements

Header

imm.h

Library

Coreimm.lib

See Also

Reference

Input Method Manager (IMM) Functions
IMN_SETOPENSTATUS