Share via


ImmSetOpenStatus

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function opens or closes the IME.

Syntax

BOOL ImmSetOpenStatus(
  HIMC hIMC,
  BOOL fOpen
);

Parameters

  • hIMC
    [in] Handle to the input context. For Windows CE 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 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
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IMN_SETOPENSTATUS