ImmIsUIMessageA function (imm.h)

Checks for messages intended for the IME window and sends those messages to the window.


BOOL ImmIsUIMessageA(
       HWND   unnamedParam1,
       UINT   unnamedParam2,
       WPARAM unnamedParam3,
       LPARAM unnamedParam4






Return value

Returns a nonzero value if the message is processed by the IME window, or 0 otherwise.


An application typically uses this function to display a composition string or candidate list specified by the IME. If hWndIME is NULL, the function determines if the message is a user interface message.

Windows Me/98: This function has only an ANSI version. To receive Unicode characters from a Unicode-based IME, the application should use ImmGetCompositionString.


The imm.h header defines ImmIsUIMessage as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.


Minimum supported client Windows XP [desktop apps only],East Asian language support installed.
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imm.h (include Immdev.h, Windows.h)
Library Imm32.lib
DLL Imm32.dll

See also


Input Method Manager

Input Method Manager Functions