SendIMEMessageExW function (ime.h)
[This function is obsolete and should not be used.]
Specifies an action or processing for the Input Method Editor (IME) through a specified subfunction.
Syntax
LRESULT SendIMEMessageExW(
HWND unnamedParam1,
LPARAM unnamedParam2
);
Parameters
unnamedParam1
unnamedParam2
Return value
The result of processing of the subfunction. If the result is not success, one of the following error codes is stored into the wParam of the IMESTRUCT structure.
Return code | Description |
---|---|
|
Disk error. |
|
General error. |
|
Contains an illegal character. |
|
Invalid subfunction. |
|
Subfunction is nested and, therefore, cannot be used. |
|
The IME has not been selected (has not been installed). |
|
Short of area. |
|
No candidate found. |
|
Windows is in system mode, data cannot be passed to the IME. |
|
Characters too long. |
Remarks
SendIMEMessageEx guarantees the action stipulated in the specifications only for IMEs that support the WM_CONVERTREQUESTEX message. For an IME that does not support WM_CONVERTREQUESTEX, SendIMEMessageEx sends a WM_CONVERTREQUEST message to the IME and returns the contents of the wParam member of the IMESTRUCT structure. If the processing of the subfunction has not been completed normally, these functions set IME_RS_ERROR into wParam.
Note
The ime.h header defines SendIMEMessageEx as an alias that 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 is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ime.h (include Windows.h) |
Library | User32.lib |
DLL | User32.dll |