The ImmIsUIMessage function checks for messages intended for the IME window and sends those messages to the specified window.
BOOL ImmIsUIMessage(
HWND hWndIME,
UINT msg,
WPARAM wParam,
LPARAM lParam
);
If the message is processed by the IME window, the return value is a nonzero value.
If the message is not processed by the IME window, the return value is zero.
An application typically uses this function to display any composition string or candidate list specified by IME. If hWndIME is NULL, the function checks whether the message is a user interface message.
Windows CE: The hWndIME parameter is a handle to a default IME window.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 2.0 or later (FE).
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