Disables the input method editor (IME) for a thread or all threads in a process.
Syntax
HRESULT DisableIME( DWORD idThread );
Parameters
- idThread
- [in] Unsigned long integer value that contains the thread identifier for which the IME will be disabled. If idThread is zero, the IME for the current thread is disabled. If idThread is -1, the IME is disabled for all threads in the current process.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method is only available for Microsoft® Windows® 98 and Windows NT® 4.0. This method maps to the ImmDisableIME function documented in the Microsoft® Platform Software Development Kit (SDK).