[PATCH] Added Typelib Support
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Thu Jan 24 04:38:46 CST 2008
---
dlls/msxml3/Makefile.in | 2 ++
dlls/msxml3/msxml3_v1.idl | 19 +++++++++++++++++++
dlls/msxml3/version.rc | 2 ++
include/msxml2.idl | 13 +++++++++++++
4 files changed, 36 insertions(+), 0 deletions(-)
create mode 100644 dlls/msxml3/msxml3_v1.idl
diff --git a/dlls/msxml3/Makefile.in b/dlls/msxml3/Makefile.in
index 16a2179..a75cd01 100644
--- a/dlls/msxml3/Makefile.in
+++ b/dlls/msxml3/Makefile.in
@@ -34,6 +34,8 @@ C_SRCS = \
RC_SRCS = version.rc
+IDL_TLB_SRCS = msxml3_v1.idl
+
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/dlls/msxml3/msxml3_v1.idl b/dlls/msxml3/msxml3_v1.idl
new file mode 100644
index 0000000..d80833f
--- /dev/null
+++ b/dlls/msxml3/msxml3_v1.idl
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2007 Alistair Leslie-Hughes
+ *
+ * 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
+ */
+
+#include "msxml2.idl"
diff --git a/dlls/msxml3/version.rc b/dlls/msxml3/version.rc
index a035174..a50166f 100644
--- a/dlls/msxml3/version.rc
+++ b/dlls/msxml3/version.rc
@@ -22,4 +22,6 @@
#define WINE_PRODUCTVERSION 8,30,9926,0
#define WINE_PRODUCTVERSION_STR "8.30.9926.0"
+1 TYPELIB LOADONCALL DISCARDABLE msxml3_v1.tlb
+
#include "wine/wine_common_ver.rc"
diff --git a/include/msxml2.idl b/include/msxml2.idl
index fb32a79..55c7550 100644
--- a/include/msxml2.idl
+++ b/include/msxml2.idl
@@ -23,6 +23,16 @@ import "unknwn.idl";
import "objidl.idl";
import "oaidl.idl";
+[
+ uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
+ version(3.0),
+ helpstring("Microsoft XML, v3.0")
+]
+library MSXML2
+{
+
+importlib("stdole2.tlb");
+
interface IXMLDOMImplementation;
interface IXMLDOMNode;
interface IXMLDOMDocumentFragment;
@@ -1052,3 +1062,6 @@ coclass XSLTemplate30
{
[default] interface IXSLTemplate;
}
+
+} /* Library MSXML */
+
--
1.5.3.7
--------------000308000305090600000109--
More information about the wine-patches
mailing list