Job Management Partner 1/Software Distribution Automatic Installation Tool Description and Reference
Description
Simulates a specified IME hot key.
Format
bool AIT_IMESimulateHotKey ( integer nWndHandle, // Window handle integer nHotKeyId // Hot key ID );
Parameters
nWndHandle (input)
Specify a window handle.
nHotKeyId (input)
Specify the ID of an IME hot key, which must be one of the following values.
| Value | Description |
|---|---|
| IME_CHOTKEY_IME_NONIME_TOGGLE | This hot key used in the simplified Chinese version switches between IME operation and non-IME operation. |
| IME_CHOTKEY_SHAPE_TOGGLE | This hot key used in the simplified Chinese version selects appropriate IME shape conversion mode. |
| IME_CHOTKEY_SYMBOL_TOGGLE | This hot key used in the simplified Chinese version selects appropriate IME shape conversion mode. You can enter Chinese segmentations and two-byte symbols if you assign the keyboard them. |
| IME_JHOTKEY_CLOSE_OPEN | This hot key used in the Japanese version opens and closes the IME. |
| IME_KHOTKEY_ENGLISH | This hot key used in the Korean version translates into English. |
| IME_KHOTKEY_SHAPE_TOGGLE | This hot key used in the Korean version selects appropriate IME shape conversion mode. |
| IME_KHOTKEY_HANJACONVERT | This hot key used in the Korean version selects conversion to Hanja mode. |
| IME_THOTKEY_IME_NONIME_TOGGLE | This hot key used in the traditional Chinese version switches between IME operation and non-IME operation. |
| IME_THOTKEY_SHAPE_TOGGLE | This hot key used in the traditional Chinese version selects appropriate IME shape conversion mode. |
| IME_THOTKEY_SYMBOL_TOGGLE | This hot key used in the traditional Chinese version selects appropriate IME symbol conversion mode. |
Return values
The return value is true if the function was executed normally, and false if not. If the function has returned false, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError may return.
| Extended error number | Error code |
|---|---|
| 87 | ERROR_INVALID_PARAMETER |
| 1400 | ERROR_INVALID_WINDOW_HANDLE |
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.