IWordFormSink::PutAltWord 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.]
Puts an alternative form of a word in the WordFormSink.
Syntax
HRESULT PutAltWord(
[in] const WCHAR *pwcInBuf ,
[in] ULONG cwc
);
Parameters
pwcInBuf [in]
A pointer to a buffer that contains an alternative form of a word.cwc [in]
The number of characters in pwcInBuf.
Return value
This method can return one of these values.
Return code | Description |
---|---|
S_OK | The operation was completed successfully. |
LANGUAGE_S_LARGE_WORD | Value of cwc is larger than the value for ulMaxTokenSize that is specified in IStemmer::Init. |
Remarks
This method is called from the GenerateWordForms method of the IStemmer implementation. All alternative forms for a word, except the last, are put in the WordFormSink by calling PutAltWord. The final alternative form of a word is handled by calling PutWord.
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 |