IInputPersonalizationWordSink::AddText method
Called after the word breaker is done with the current chunk. This call lets the component examine the contents of the TEXT_SOURCE that is about to be refulled.
Syntax
HRESULT AddText(
[in] STAT_CHUNK *pStat,
[in] void *pReserved,
[in] TEXT_SOURCE *pTextSource,
[out] IUnknown **ppReserved
);
Parameters
pStat [in]
Describes the characteristics of a chunk.pReserved [in]
Reserved for future use.pTextSource [in]
Contains information about text for the word breaker to process. Not NULL only for string properties.ppReserved [out]
Reserved for future use.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.