Platform SDK: International Features |
The ImmEscape function accesses capabilities of particular IMEs that are not available through other IMM APIs. and is used mainly for country-specific operations.
LRESULT ImmEscape( HKL hKL, HIMC hIMC, UINT uEscape, LPVOID lpData );
Returns zero on error; otherwise, returns an operation-specific value.
When uEscape is IME_ESC_QUERY_SUPPORT, lpData points to a buffer containing the IME escape value. For example, to see if the current IME supports IME_ESC_GETHELPFILENAME, you would use:
DWORD dwEsc = IME_ESC_GETHELPFILENAME; LRESULT lRet = ImmEscape(hKL, hIMC, IME_ESC_QUERYSUPPORT, (LPVOID)&dwEsc);
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Imm.h.
Library: Use Imm32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.