The ImmGetIMEFileName function gets the filename of the IME associated with the specified keyboard layout.
BOOL ImmGetIMEFileName(
HKL hKL,
LPTSTR lpszFileName,
UINT uBufLen
);
The return value is the number of bytes in the filename copied to the buffer, or if uBufLen is zero, the return value is the buffer size needed for the filename. In either case, the terminating null character is not included.
In the registry, the system stores the filename as the IME name value in HKEY_LOCAL_MACHINE root under the \System\CurrentControlSet\control\keyboard layouts\hKL key.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in imm.h.
Import Library: Use imm32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Input Method Editor Overview, Input Method Editor Functions