अंग्रेज़ी में पढ़ें

इसके माध्यम से साझा किया गया


ISearchLanguageSupport::EnumerateExpandedTerms method

Gets an enumeration of thesaurus terms for a specified word.

Syntax

c++
HRESULT EnumerateExpandedTerms(
  [in]  LPCWSTR pszWord,
  [in]  LCID    lcid,
  [in]  REFIID  riid,
  [out] void    **ppWords
);

Parameters

  • pszWord [in]
    Type: LPCWSTR

    Pointer to the word.

  • lcid [in]
    Type: LCID

    The LCID of the word.

  • riid [in]
    Type: REFIID

    IID of the interface to be queried.

  • ppWords [out]
    Type: void**

    On return, contains the address of a pointer to the enumeration of thesaurus terms.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Searchapi.h

IDL

Searchlanguagesupport.idl