Aric Stewart : msctf: Define ITfContextOwnerCompositionSink. This is implemented by a tsf aware application.
Alexandre Julliard
julliard at winehq.org
Fri Feb 6 09:55:59 CST 2009
Module: wine
Branch: master
Commit: 1adb1d8aeaf50283f9fa69d08027f0df8ff0bd02
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1adb1d8aeaf50283f9fa69d08027f0df8ff0bd02
Author: Aric Stewart <aric at codeweavers.com>
Date: Thu Feb 5 14:17:50 2009 -0600
msctf: Define ITfContextOwnerCompositionSink. This is implemented by a tsf aware application.
---
include/msctf.idl | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/include/msctf.idl b/include/msctf.idl
index 47bec71..49fa875 100644
--- a/include/msctf.idl
+++ b/include/msctf.idl
@@ -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);
+};
More information about the wine-cvs
mailing list