IFEDictionary::Open (Windows CE 5.0)
This method opens an existing dictionary file and associates it with the IFEDictionary object.
HRESULT IFEDictionary::Open(CHAR* pchFileName,IMESHF* pShf);
Parameters
- pchFileName
[in] Pointer to the path to the dictionary file. If pchFileName is NULL, the method opens the user dictionary that the Input Method Editor (IME) kernel is currently using. - pShf
[out] Pointer to an IMESHF structure that receives the header information of the dictionary file. This parameter can be NULL.
Return Values
The following table shows the Return Values for this method.
Return value | Description |
---|---|
S_OK | User dictionary successfully opened. |
IFED_E_INVALID_FORMAT | File has invalid format. |
IFED_E_OPEN_FAILED | File failed to open. |
E_FAIL | An unexpected error has occurred. |
Remarks
This method opens the Microsoft Pocket IME 2.0 dictionary file and associates it with the IFEDictionary object. This method does not support other dictionary formats such as Microsoft IME 98.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msime.h.
Link Library: Uuid.lib.
See Also
Send Feedback on this topic to the authors