ISearchLanguageSupport::LoadStemmer method

Retrieves an interface to the word stemmer registered for the specified language code identifier (LCID).

Syntax


HRESULT LoadStemmer(
  [in]  LCID   lcid,
  [in]  REFIID riid,
  [out] void   **ppStemmer,
  [out] LCID   *pLcidUsed
);

Parameters

lcid [in]

Type: LCID

The LCID requested.

riid [in]

Type: REFIID

IID of the interface to be queried.

ppStemmer [out]

Type: void**

On return, contains the address of a pointer to the interface of the LCID contained in pLcidUsed.

pLcidUsed [out]

Type: LCID*

On return, contains a pointer to the actual LCID used.

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

 

 

Community Additions

ADD
Show: