msctf: Define ITfContextOwnerCompositionSink. This is implemented by a tsf aware application.

oldstable
Aric Stewart 2009-02-05 14:17:50 -06:00 committed by Alexandre Julliard
parent 67d00e3ee6
commit 1adb1d8aea
1 changed files with 20 additions and 0 deletions

View File

@ -49,6 +49,7 @@ interface IEnumTfProperties;
interface ITfRangeBackup;
interface IEnumTfLanguageProfiles;
interface ITfEditRecord;
interface ITfCompositionView;
[
object,
@ -415,3 +416,22 @@ interface ITfTextEditSink : IUnknown
[in] TfEditCookie ecReadOnly,
[in] ITfEditRecord *pEditRecord);
};
[
object,
uuid(5F20AA40-B57A-4F34-96AB-3576F377CC79),
pointer_default(unique)
]
interface ITfContextOwnerCompositionSink : IUnknown
{
HRESULT OnStartComposition(
[in] ITfCompositionView *pComposition,
[out] BOOL *pfOk);
HRESULT OnUpdateComposition(
[in] ITfCompositionView *pComposition,
[in] ITfRange *pRangeNew);
HRESULT OnEndComposition(
[in] ITfCompositionView *pComposition);
};