From 7645f321d9d9f97ecc5dcd37b90e7f0f922b1628 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 24 Jan 2008 21:38:46 +1100 Subject: [PATCH] gmsxml3: Added typelib support. --- .gitignore | 1 + dlls/msxml3/Makefile.in | 2 ++ dlls/msxml3/msxml3_v1.idl | 19 +++++++++++++++++++ dlls/msxml3/version.rc | 2 ++ include/msxml2.idl | 12 ++++++++++++ 5 files changed, 36 insertions(+) create mode 100644 dlls/msxml3/msxml3_v1.idl diff --git a/.gitignore b/.gitignore index d1b2f5759cf..193ead661b7 100644 --- a/.gitignore +++ b/.gitignore @@ -305,6 +305,7 @@ dlls/msvidc32/rsrc.res dlls/msvideo.dll16 dlls/mswsock/libmswsock.def dlls/mswsock/version.res +dlls/msxml3/msxml3_v1.tlb dlls/msxml3/tests/*.ok dlls/msxml3/tests/msxml3_crosstest.exe dlls/msxml3/tests/testlist.c diff --git a/dlls/msxml3/Makefile.in b/dlls/msxml3/Makefile.in index 16a21792cb2..a75cd014d06 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 00000000000..d80833fafb6 --- /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 a035174b48a..0d82c311d1e 100644 --- a/dlls/msxml3/version.rc +++ b/dlls/msxml3/version.rc @@ -14,6 +14,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +1 TYPELIB LOADONCALL DISCARDABLE msxml3_v1.tlb + #define WINE_OLESELFREGISTER #define WINE_FILEDESCRIPTION_STR "Wine MSXML 3.0" #define WINE_FILENAME_STR "msxml3.dll" diff --git a/include/msxml2.idl b/include/msxml2.idl index fb32a79cff9..9aa56458cf3 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,5 @@ coclass XSLTemplate30 { [default] interface IXSLTemplate; } + +} /* Library MSXML */