Export (0) Print
Expand All

IWordFormSink::PutWord method

Puts the original word form in the IWordFormSink object.

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, which is always the original word.

cwc [in]

The number of characters in pwcInBuf.

Return value

This method can return one of these values.

Return codeDescription
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 IWordFormSink object by calling IWordFormSink::PutAltWord.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Search.h

See also

IWordFormSink

 

 

Community Additions

ADD
Show:
© 2014 Microsoft