[This is preliminary documentation and subject to change.]
The ImmDisableIME function disables the input method editor (IME) for a thread or all threads in a process.
BOOL ImmDisableIME(
DWORD idThread // thread to disable IME
);
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE.
The application must call this function before the first top-level window in the thread receives the WM_CREATE message. This means the application must call this function in one of the following places:
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.
Input Method Editor Overview, Input Method Editor Functions