Share via


IFEDictionary::GetHeader Method

Gets a dictionary header from dictionary file. This method obtains the header of a dictionary without opening the dictionary.

Parameters

Parameter Description

CHAR * pchFileName

(IN) Points to a file name (NULL terminated) string

IMESHF * pSHF

(OUT) Header of the dictionary is stored at pSHF; can be NULL

IMEFMT *pjfmt

IFED_UNKNOWN,

IFED_MSIME2_BIN_SYSTEM,

IFED_MSIME2_BIN_USER,

IFED_MSIME2_TEXT_USER,

IFED_MSIME95_BIN_SYSTEM,

IFED_MSIME95_BIN_USER,

IFED_MSIME95_TEXT_USER,

IFED_MSIME97_BIN_SYSTEM,

IFED_MSIME97_BIN_USER,

IFED_MSIME97_TEXT_USER,

IFED_MSIME98_BIN_SYSTEM,

IFED_MSIME98_BIN_USER,

IFED_MSIME98_TEST_USER,

IFED_ACTIVE_DICT,

IFED_ATOK9,

IFED_ATOK10,

IFED_NEC_AI_,

IFED_WX_II,

IFED_WX_III,

IFED_VJE_20,

IFED_MSIME98_SYSTEM_CE

IFED_MSIME_BIN_SYSTEM,

IFED_MSIME_BIN_USER,

IFED_MSIME_TEXT_USER

IFED_PIME2_BIN_USER

IFED_PIME2_BIN_SYSTEM

IFED_PIME2_BIN_STANDARD_SYSTEM

ULONG *pdicat

(OUT) Dictionary type is returned
dicatNone  Undefined
dicatGeneral  General dictionary
dicatNamePlace  Name/place dictionary
dicatSpeech  Speech dictionary
dicatReverse  Reverse dictionary
dicatEnglish  English dictionary
dicatALL  Or of above flags

Return Values


Return

Values

HRESULT

S_OK
IFED_E_INVALID_FORMAT
E_FAIL