Platform SDK: International Features |
The ImmGetIMEFileName function gets the file name of the IME associated with the specified input locale.
UINT ImmGetIMEFileName( HKL hKL, LPTSTR lpszFileName, UINT uBufLen );
The function returns the number of bytes in the file name copied to the buffer, or if uBufLen is zero, the return value is the buffer size needed for the file name. In either case, the terminating null character is not included.
If Unicode, it returns the number of Unicode characters copied into the buffer specified with lpszFileName not including the Unicode NULL terminator.
In the registry, the system stores the file name as the IME name value in HKEY_LOCAL_MACHINE root under the \System\CurrentControlSet\control\keyboard layouts\hKL key.
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.