Jacek Caban : msctf.idl: Added ITfContextOwnerServices declaration.

Alexandre Julliard julliard at winehq.org
Thu Mar 14 14:55:06 CDT 2013


Module: wine
Branch: master
Commit: 9e5b4eb0565028313bf7355d910f09388668a14b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9e5b4eb0565028313bf7355d910f09388668a14b

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Mar 14 13:03:50 2013 +0100

msctf.idl: Added ITfContextOwnerServices declaration.

---

 include/msctf.idl |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/include/msctf.idl b/include/msctf.idl
index a1a6f17..a67dbc1 100644
--- a/include/msctf.idl
+++ b/include/msctf.idl
@@ -106,6 +106,16 @@ cpp_quote("#if 0")
 typedef [uuid(4f5d560f-5ab5-4dde-8c4d-404592857ab0)] UINT_PTR HKL;
 cpp_quote("#endif")
 
+typedef [uuid(e26d9e1d-691e-4f29-90d7-338dcf1f8cef)] struct TF_PERSISTENT_PROPERTY_HEADER_ACP
+{
+    GUID guidType;
+    LONG ichStart;
+    LONG cch;
+    ULONG cb;
+    DWORD dwPrivate;
+    CLSID clsidTIP;
+} TF_PERSISTENT_PROPERTY_HEADER_ACP;
+
 typedef [uuid(e1b5808d-1e46-4c19-84dc-68c5f5978cc8)] struct TF_LANGUAGEPROFILE
 {
     CLSID clsid;
@@ -1301,6 +1311,51 @@ interface ITfContextOwnerCompositionServices : ITfContextComposition
 
 [
     object,
+    uuid(4ef89150-0807-11d3-8df0-00105a2799b5),
+    pointer_default(unique)
+]
+interface ITfPersistentPropertyLoaderACP : IUnknown
+{
+    HRESULT LoadProperty(
+            [in] const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
+            [out] IStream **ppStream);
+}
+
+[
+    object,
+    uuid(b23eb630-3e1c-11d3-a745-0050040ab407),
+    pointer_default(unique)
+]
+interface ITfContextOwnerServices : IUnknown
+{
+    HRESULT OnLayoutChange();
+
+    HRESULT OnStatusChange([in] DWORD dwFlags);
+
+    HRESULT OnAttributeChange([in] REFGUID rguidAttribute);
+
+    HRESULT Serialize(
+            [in] ITfProperty *pProp,
+            [in] ITfRange *pRange,
+            [out] TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
+            [in] IStream *pStream);
+
+    HRESULT Unserialize(
+            [in] ITfProperty *pProp,
+            [in] const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
+            [in] IStream *pStream,
+            [in] ITfPersistentPropertyLoaderACP *pLoader);
+
+    HRESULT ForceLoadProperty([in] ITfProperty *pProp);
+
+    HRESULT CreateRange(
+            [in] LONG acpStart,
+            [in] LONG acpEnd,
+            [out] ITfRangeACP **ppRange);
+}
+
+[
+    object,
     uuid(17d49a3d-f8b8-4b2f-b254-52319dd64c53),
     pointer_default(unique)
 ]




More information about the wine-cvs mailing list