Retrieves the file name of the IME associated with the specified keyboard layout. ANSI implementation.
Syntax
HRESULT GetIMEFileNameA( HKL hKL, UINT uBufLen, LPSTR szFileName, UINT *puCopied );
Parameters
- hKL
- [in] Handle to the keyboard layout.
- uBufLen
- [in] Unsigned integer value that contains the size, in bytes, of the buffer.
- szFileName
- [out] Address of a string value that receives the file name.
- puCopied
- [out] Address of an unsigned integer value that receives the number of bytes copied to the buffer. If uBufLen is zero, puCopied receives the buffer size, in bytes, required to receive the file name.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmGetIMEFileName function documented in the Microsoft® Platform Software Development Kit (SDK).