Registers an Input Method Editor (IME) for the specified language.
Syntax
HRESULT RegisterIME(
REFCLSID rclsid,
LANGID lgid,
LPCWSTR pszIconFile,
LPCWSTR pszDesc
);
Parameters
- rclsid
- [in] REFCLSID that contains the CLSID of the IME being registered.
- lgid
- [in] LANGID value that contains the natural language that is supported by the IME being registered.
- pszIconFile
- [in] Address of a string value that contains the path to the icon file associated with the IME being registered.
- pszDesc
- [in] Address of a string value that contains the description of the IME.
Return Value
Returns S_OK if successful, or an error code otherwise.