IStemmer::GenerateWordForms method
[Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.]
Generates alternative forms for a word and puts these forms in the WordFormSink.
Syntax
HRESULT GenerateWordForms(
[in] const WCHAR *pwcInBuf,
[in] ULONG cwc,
[in] IWordFormSink *pStemSink
);
Parameters
pwcInBuf [in]
A pointer to a buffer that contains the word to be stemmed.cwc [in]
The number of characters in pwcInBuf.pStemSink [in]
A pointer to a WordFormSink object that receives and handles the alternative word forms generated by this method.
Return value
This method can return one of these values.
Return code | Description |
---|---|
S_OK | The operation was completed successfully. |
E_INVALIDARG | Either pwcInBuf or pWordFormSink is NULL. |
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
End of client support |
Windows 7 |
End of server support |
Windows Server 2008 R2 |
Header |
Indexsrv.h |