Module: wine
Branch: master
Commit: b8416b9ccb9b9071b149d97090ce41a09a563837
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b8416b9ccb9b9071b149d9709…
Author: Aric Stewart <aric(a)codeweavers.com>
Date: Tue Jan 27 14:15:23 2009 -0600
msctf: Add definition of CLSID_TF_ThreadMgr.
---
.gitignore | 1 +
dlls/msctf/regsvr.c | 8 ++++++++
dlls/uuid/uuid.c | 1 +
include/Makefile.in | 1 +
include/msctf.idl | 26 ++++++++++++++++++++++++++
5 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 65a0470..d9c831e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -165,6 +165,7 @@ include/mimeole.h
include/mlang.h
include/mmstream.h
include/mscoree.h
+include/msctf.h
include/mshtmhst.h
include/mshtml.h
include/msinkaut.h
diff --git a/dlls/msctf/regsvr.c b/dlls/msctf/regsvr.c
index f1d3b48..c461cd8 100644
--- a/dlls/msctf/regsvr.c
+++ b/dlls/msctf/regsvr.c
@@ -30,6 +30,7 @@
#include "ole2.h"
#include "shlguid.h"
+#include "msctf.h"
#include "wine/debug.h"
@@ -440,6 +441,13 @@ error_close_progid_key:
* coclass list
*/
static struct regsvr_coclass const coclass_list[] = {
+ {
+ &CLSID_TF_ThreadMgr,
+ "TF_ThreadMgr",
+ NULL,
+ "msctf.dll",
+ "Apartment"
+ },
{ NULL } /* list terminator */
};
diff --git a/dlls/uuid/uuid.c b/dlls/uuid/uuid.c
index 94f345e..1196080 100644
--- a/dlls/uuid/uuid.c
+++ b/dlls/uuid/uuid.c
@@ -109,3 +109,4 @@ DEFINE_GUID(CLSID_StdEvent, 0x0000032b,0x0000,0x0000,0xc0,0x00,0x0
DEFINE_GUID(CLSID_ManualResetEvent, 0x0000032c,0x0000,0x0000,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
DEFINE_GUID(CLSID_SynchronizeContainer, 0x0000032d,0x0000,0x0000,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
DEFINE_GUID(CLSID_InProcFreeMarshaler, 0x0000033a,0x0000,0x0000,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(CLSID_TF_ThreadMgr, 0x529a9e6b,0x6587,0x4f23,0xab,0x9e,0x9c,0x7d,0x68,0x3e,0x3c,0x50);
diff --git a/include/Makefile.in b/include/Makefile.in
index d6109ab..5056c3f 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -43,6 +43,7 @@ PUBLIC_IDL_H_SRCS = \
mlang.idl \
mmstream.idl \
mscoree.idl \
+ msctf.idl \
mshtmhst.idl \
mshtml.idl \
msinkaut.idl \
diff --git a/include/msctf.idl b/include/msctf.idl
new file mode 100644
index 0000000..52683d3
--- /dev/null
+++ b/include/msctf.idl
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2008 Aric Stewart, CodeWeavers
+ *
+ * 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";
+import "comcat.idl";
+/* import "textstor.idl"; */
+/* import "ctfutb.idl"; */
+#endif
+
+cpp_quote("EXTERN_C const CLSID CLSID_TF_ThreadMgr;")