Justin Chevrier : include: Add ITfLangBarMgr Interface.
Alexandre Julliard
julliard at winehq.org
Wed Feb 17 10:12:04 CST 2010
Module: wine
Branch: master
Commit: a0499b0ad552b597679e39af1ba8969dc8ec2eba
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a0499b0ad552b597679e39af1ba8969dc8ec2eba
Author: Justin Chevrier <jchevrier at gmail.com>
Date: Tue Feb 16 21:31:02 2010 -0500
include: Add ITfLangBarMgr Interface.
---
.gitignore | 1 +
include/Makefile.in | 1 +
include/ctfutb.idl | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++
include/msctf.idl | 4 ++-
4 files changed, 78 insertions(+), 1 deletions(-)
diff --git a/.gitignore b/.gitignore
index e496cae..5be3433 100644
--- a/.gitignore
+++ b/.gitignore
@@ -136,6 +136,7 @@ include/comcat.h
include/commoncontrols.h
include/config.h
include/control.h
+include/ctfutb.h
include/ctxtcall.h
include/d3d10.h
include/ddstream.h
diff --git a/include/Makefile.in b/include/Makefile.in
index 1ce4a04..514cebe 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -22,6 +22,7 @@ PUBLIC_IDL_H_SRCS = \
comcat.idl \
commoncontrols.idl \
control.idl \
+ ctfutb.idl \
ctxtcall.idl \
d3d10.idl \
ddstream.idl \
diff --git a/include/ctfutb.idl b/include/ctfutb.idl
new file mode 100644
index 0000000..6d80b38
--- /dev/null
+++ b/include/ctfutb.idl
@@ -0,0 +1,73 @@
+/*
+ * Copyright 2010 Justin Chevrier
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef DO_NO_IMPORTS
+import "oaidl.idl";
+#endif
+
+interface ITfLangBarEventSink;
+interface ITfLangBarItemMgr;
+interface ITfInputProcessorProfiles;
+
+[
+ object,
+ uuid(87955690-e627-11d2-8ddb-00105a2799b5),
+ pointer_default(unique)
+]
+interface ITfLangBarMgr: IUnknown
+{
+ HRESULT AdviseEventSink(
+ [in] ITfLangBarEventSink *pSink,
+ [in] HWND hwnd,
+ [in] DWORD dwflags,
+ [in] DWORD *pdwCookie);
+
+ HRESULT UnAdviseEventSink(
+ [in] DWORD dwCookie);
+
+ HRESULT GetThreadMarshalInterface(
+ [in] DWORD dwThreadId,
+ [in] DWORD dwType,
+ [in] REFIID riid,
+ [out] IUnknown **ppunk);
+
+ HRESULT GetThreadLangBarItemMgr(
+ [in] DWORD dwThreadId,
+ [out] ITfLangBarItemMgr **pplbie,
+ [out] DWORD *pdwThreadid);
+
+ HRESULT GetInputProcessorProfiles(
+ [in] DWORD dwThreadId,
+ [out] ITfInputProcessorProfiles **ppaip,
+ [out] DWORD *pdwThreadid);
+
+ HRESULT RestoreLastFocus(
+ [out] DWORD *dwThreadId,
+ [in] BOOL fPrev);
+
+ HRESULT SetModalInput(
+ [in] ITfLangBarEventSink *pSink,
+ [in] DWORD dwThreadId,
+ [in] DWORD dwFlags);
+
+ HRESULT ShowFloating(
+ [in] DWORD dwFlags);
+
+ HRESULT GetShowFloatingStatus(
+ [out] DWORD *pdwFlags);
+};
diff --git a/include/msctf.idl b/include/msctf.idl
index f78289b..fcb568e 100644
--- a/include/msctf.idl
+++ b/include/msctf.idl
@@ -20,7 +20,7 @@
import "oaidl.idl";
import "comcat.idl";
import "textstor.idl";
-/* import "ctfutb.idl"; */
+import "ctfutb.idl";
#endif
cpp_quote("#include <winuser.h>")
@@ -32,6 +32,7 @@ cpp_quote("#define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_IT
cpp_quote("HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);")
cpp_quote("HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);")
cpp_quote("HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);")
+cpp_quote("HRESULT WINAPI TF_CreateLangBarMgr(ITfLangBarMgr **pppbm);")
cpp_quote("EXTERN_C const GUID GUID_PROP_TEXTOWNER;")
cpp_quote("DEFINE_GUID(GUID_PROP_ATTRIBUTE,0x34b45670,0x7526,0x11d2,0xa1,0x47,0x00,0x10,0x5a,0x27,0x99,0xb5);")
@@ -41,6 +42,7 @@ cpp_quote("EXTERN_C const GUID GUID_PROP_COMPOSING;")
cpp_quote("EXTERN_C const CLSID CLSID_TF_ThreadMgr;")
cpp_quote("EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles;")
+cpp_quote("EXTERN_C const CLSID CLSID_TF_LangBarMgr;")
cpp_quote("EXTERN_C const CLSID CLSID_TF_CategoryMgr;")
cpp_quote("DEFINE_GUID(CLSID_TF_DisplayAttributeMgr,0x3ce74de4,0x53d3,0x4d74,0x8b,0x83,0x43,0x1b,0x38,0x28,0xba,0x53);")
More information about the wine-cvs
mailing list