29typedef void* PFNFILLTEXTBUFFER;
32typedef struct tagTEXT_SOURCE
34 PFNFILLTEXTBUFFER pfnFillTextBuffer;
35 const WCHAR *awcBuffer;
40typedef enum tagWORDREP_BREAK_TYPE
42 WORDREP_BREAK_EOW = 0,
43 WORDREP_BREAK_EOS = 1,
44 WORDREP_BREAK_EOP = 2,
53 uuid(cc907054-c058-101a-b554-08002b33b0e6),
57interface IWordSink : IUnknown
61 [size_is(cwcSrcLen)][in] const WCHAR *pwcInBuf,
63 [in] ULONG cwcSrcPos);
66 [size_is(cwcSrcLen)][in] const WCHAR *pwcInBuf,
68 [in] ULONG cwcSrcPos);
69 HRESULT StartAltPhrase(void);
70 HRESULT EndAltPhrase(void);
72 [in] WORDREP_BREAK_TYPE breakType);
79 uuid(cc906ff0-c058-101a-b554-08002b33b0e6),
83interface IPhraseSink: IUnknown
85 HRESULT PutSmallPhrase(
86 [size_is(cwcNoun)][in] const WCHAR *pwcNoun,
88 [size_is(cwcModifier)][in] const WCHAR *pwcModifier,
89 [in] ULONG cwcModifier,
90 [in] ULONG ulAttachmentType);
92 [size_is(cwcPhrase)][in] const WCHAR *pwcPhrase,
93 [in] ULONG cwcPhrase);
100 uuid(d53552c8-77e3-101a-b552-08002b33b0e6),
104interface IWordBreaker: IUnknown
108 [in] ULONG ulMaxTokenSize,
109 [out] BOOL *pfLicense);
111 [in] TEXT_SOURCE *pTextSource,
112 [in] IWordSink *pWordSink,
113 [in] IPhraseSink *pPhraseSink);
114 HRESULT ComposePhrase(
115 [size_is(cwcNoun)][in] const WCHAR *pwcNoun,
117 [size_is(cwcModifier)][in] const WCHAR *pwcModifier,
118 [in] ULONG cwcModifier,
119 [in] ULONG ulAttachmentType,
120 [size_is(*pcwcPhrase)][out] WCHAR *pwcPhrase,
121 [out][in] ULONG *pcwcPhrase);
122 HRESULT GetLicenseToUse(
123 [string][out] const WCHAR **ppwcsLicense);
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
HRESULT(WINAPI * PFNFILLTEXTBUFFER)(struct tagTEXT_SOURCE *pTextSource)