Share via


IFEDictionary::Open (Windows Embedded CE 6.0)

1/6/2010

This method opens an existing dictionary file and associates it with the IFEDictionary object.

Syntax

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 Value

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

Header msime.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IFEDictionary
IMESHF