ISearchLanguageSupport::LoadStemmer Method

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

Syntax

HRESULT LoadStemmer(      
    LCID lcid,
    REFIID riid,
    void **ppStemmer,
    LCID *pLcidUsed
);

Parameters

  • lcid
    [in] The LCID requested.
  • riid
    [in] IID of the interface to be queried.
  • ppStemmer
    [out] On return, contains the address of a pointer to the interface of the LCID contained in pLcidUsed.
  • pLcidUsed
    [out] On return, contains a pointer to the actual LCID used.

Return Value

Returns S_OK if successful, or an error value otherwise.