Partager via


IME Escapes (Compact 2013)

3/28/2014

The following table shows the values that are used with the ImmEscape function.

Value

Description

IME_ESC_DOCKEDCAND_RECT

Alerts GWES to the height of the IME Candidate Window, so that GWES can determine the correct height for the working area and notify the applications.

When ImmEscape is called with this value, the lpData parameter should be LPRECT. If IME is using a docked Candidate Window, lpData should hold a rectangle which indicates the Candidate Window. If IME is not using a docked Candidate Window, the Rect is not changed.

IME_ESC_GET_EUDC_DICTIONARY

Retrieves the path of the EUDC dictionary file. On input, the lpData parameter must be the pointer to the buffer to receive the path. This buffer must be no less than 80 characters in length. On return, the buffer contains the null-terminated string specifying the full path. For use by only the Chinese EUDC editor.

IME_ESC_HANJA_MODE

Converts from Hangeul to Hanja. On input, lpData must be the pointer to the buffer that contains the Hangeul character to convert; on output, it receives the converted Hanja as a null-terminated string. For use by only the Korean editor.

IME_ESC_IME_NAME

Retrieves the name of the IME. On input, the lpData parameter must be the pointer to the buffer to receive the name. This buffer must be no less than 64 characters in length. On return, the buffer contains the null-terminated string specifying the IME name. For use by only the Chinese EUDC editor.

IME_ESC_MAX_KEY

Returns the maximum number of key stokes for an EUDC character. For use by only the Chinese EUDC editor.

IME_ESC_QUERY_SUPPORT

Checks for implementation. Returns zero if the escape is not implemented.

IME_ESC_SEQUENCE_TO_INTERNAL

Returns the character code that matches the given sequence code. On input, the lpData parameter is the pointer to a 32-bit variable that contains the sequence code. For use by only the Chinese EUDC editor. Typically, the Chinese IME will encode its reading character codes into sequence 1 to n.

IME_ESC_SET_EUDC_DICTIONARY

Sets the EUDC dictionary file. On input, the lpData parameter is the pointer to a null-terminated string specifying the full path. For use by only the Chinese EUDC editor.

The system reserves the escapes in the range IME_ESC_RESERVED_FIRST to IME_ESC_RESERVED_LAST for its own use.

The system reserves the escapes in the range IME_ESC_PRIVATE_FIRST to IME_ESC_PRIVATE_LAST for private use by IMEs.

See Also

Reference

Input Method Editor (IME) Constants

Other Resources

ImmEscape