Share via


IFEDictionary::RegisterWord (Windows Embedded CE 6.0)

1/6/2010

This method registers a word in the dictionary associated with the object.

Syntax

HRESULT::RegisterWord(
  IMEREG reg,
  IMEWRD* pWrd
);

Parameters

  • reg
    [in] Register type, The following table shows the values this parameter can take.

    Value Description

    JDIC_REG_HEAD

    Registers the word.

    IFED_REG_DEL

    Deletes the word.

  • pWrd
    [in] Pointer to an IMEWRD structure.

Return Value

The following table shows the Return Values for this method.

Return value Description

S_OK

Word successfully registered in dictionary.

IFED_S_WORD_EXISTS

The word is already registered.

S_FALSE

Failure to register or delete a word.

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
IMEWRD