Partager via


IFEDictionary::GetWords (Windows Embedded CE 6.0)

1/6/2010

This method obtains word entries from the dictionary associated with the object.

Syntax

HRESULT IFEDictionary::GetWords(
  WCHAR* pwchFirst,
  WCHAR* pwchLast,
  WCHAR* pwchDisplay,
  ULONG ulPos,
  ULONG ulSelect,
  ULONG ulWordSrc,
  UCHAR* pchBuffer,
  ULONG cbBuffer,
  ULONG* pcWrd
);

Parameters

  • pwchFirst
    [in] Ignored. Set the value to NULL.
  • pwchLast
    [in] Ignored. Set the value to NULL.
  • pwchDisplay
    [in] Ignored. Set the value to NULL.
  • ulPos
    [in] Ignored. Set the value to zero.
  • ulSelect
    [in] Ignored. Set the value to zero.
  • ulWordSrc
    [in] Ignored. Set the value to zero.
  • pchBuffer
    [in, out] Pointer to the buffer that receives the IMEWRD structures.
  • cbBuffer
    [in] Size of pchBuffer.
  • pcWrd
    [out] Pointer to a ULONG variable that receives the number of IMEWRD structures returned in buffer.

Return Value

The following table shows the Return Values for this method.

Return value Description

S_OK

Word entries successfully obtained.

IFED_S_MORE_ENTRIES

Client must call the NextWords method to get further IMEWRD structures.

IFED_E_NO_ENTRY

No word registered in a dictionary.

E_FAIL

An unexpected error has occurred.

Remarks

This method attempts to return all words registered in the user dictionary.

Requirements

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

See Also

Reference

IFEDictionary
IMEWRD