[This is preliminary documentation and subject to change.]
The ImmGetImeMenuItems function retrieves the menu items that are registered in the IME menu.
DWORD WINAPI ImmGetImeMenuItems(
HIMC hIMC,
DWORD dwFlags,
DWORD dwType,
LPIMEMENUITEMINFO lpImeParentMenu,
LPIMEMENUITEMINFO lpImeMenu,
DWORD dwSize
);
Value | Meaning |
---|---|
IGIMIF_RIGHTMENU | If set, the function returns the menu items for the context menu (obtained by a right mouse click). |
Value | Meaning |
---|---|
IGIMII_CMODE | Returns the menu items that control the conversion mode. |
IGIMII_SMODE | Returns the menu items that control sentence mode. |
IGIMII_CONFIGURE | Returns the menu items that are related to configuration. |
IGIMII_TOOLS | Returns the menu items that are related to tools. |
IGIMII_HELP | Returns the menu items that control help. |
IGIMII_OTHER | Returns the menu items that control other IME functions. |
IGIMII_INPUTTOOLS | Returns the menu items that control input tools. |
The return value is the number of menu items that were copied into lpImeMenu. If lpImeMenu is NULL, the function returns the number of registered menu items.
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in imm.h.
Import Library: Use imm32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Input Method Editor Overview, Input Method Editor Functions, IMEMENUITEMINFO