次の方法で共有


IFEDictionary::GetHeader (Windows Embedded CE 6.0)

1/6/2010

This method obtains the dictionary header from a dictionary file.

Syntax

HRESULT IFEDictionary::GetHeader(
  CHAR* pchFileName,
  IMESHF* pShf,
  IMEFMT* pjfmt,
  ULONG* pdicat
);

Parameters

  • pchFileName
    [in] Pointer to the path to the dictionary file.
  • pShf
    [out] Pointer to an IMESHF structure that receives the header information of the dictionary.
  • pjfmt
    [out] Pointer to an IMEFMT variable that receives information about the dictionary format.

    The following table shows the valid dictionary formats.

    IME type Description

    IFED_UNKNOWN

    Dictionary type is unknown.

    IFED_PIME2_BIN_USER

    Dictionary is user type.

    IFED_PIME2_BIN_SYSTEM

    Dictionary is compact type.

    IFED_PIME2_BIN_STANDARD_SYSTEM

    Dictionary is standard type.

  • pdicat
    [out] Pointer to a ULONG variable that receives information about the type of the dictionary.

    The following table shows the valid dictionary types.

    Dictionary type Description

    dicatNone

    Dictionary type undefined.

    dicatGeneral

    General dictionary.

Return Value

The following table shows the Return Values for this method.

Return value Description

S_OK

Dictionary header successfully obtained.

IFED_E_INVALID_FORMAT

Invalid file format.

E_FAIL

An unexpected error has occurred.

Requirements

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

See Also

Reference

IFEDictionary
IMESHF