IInputPersonalizationWordSink interface
An input personalization word sink with the ability to sink words and chunks.
The IInputPersonalizationWordSink interface inherits from the IUnknown interface. IInputPersonalizationWordSink also has these types of members:
- Methods
The IInputPersonalizationWordSink interface has these methods.
Method | Description |
---|---|
AddCompleted | Called when text adding has completed. |
AddProperty | Called to add generic properties. |
AddText | Called to add full text to the component. |
TextISCompleted | 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. |
This interface is not declared in a public header. Applications must define it themselves. The following Interface Definition Language (IDL) fragment describes this interface, including its IID.
[
object,
uuid(c7310597-ac80-11d1-8df3-00c04fb6ef4f),
public,
local,
pointer_default(unique)
]
interface IInputPersonalizationWordSink: IUnknown
{
HRESULT AddProperty([in] const STAT_CHUNK * pStat,
[in] const void * pReserved,
[in] const PROPVARIANT *pVar,
[in] const TEXT_SOURCE *pTextSource,
[out, annotation("__deref_out")] IUnknown **ppReserved);
HRESULT AddText([in] const STAT_CHUNK * pStat,
[in] const void * pReserved,
[in] const TEXT_SOURCE *pTextSource, [out, annotation("__deref_out")] IUnknown **ppReserved);
HRESULT TextIsCompleted([in] ULONG iStart,
[in] ULONG iEnd);
HRESULT AddCompleted([in] HRESULT hr, [in] DWORD dwCompletionPhase);
};