Share via


IWordFormSink::PutWord 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 the original word form in the WordFormSink.

Syntax

HRESULT PutWord(
  [in] const WCHAR *pwcInBuf ,
  [in]       ULONG cwc
);

Parameters

  • pwcInBuf [in]
    A pointer to a buffer that contains the final 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.

 

Remarks

PutWord is called from the GenerateWordForms method of the IStemmer implementation. This method handles the original form of a word and is called last. All preceding alternative forms for a word are put in the WordFormSink by calling PutAltWord.

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

See also

IWordFormSink