Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
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 or later versions and Windows NT® version 5.0 or later. This method maps to the ImmDisableIME function documented in the Microsoft® Platform Software Development Kit (SDK).
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.