Nikolay Sivov : Add stub msxml4.dll.

Alexandre Julliard julliard at winehq.org
Wed Feb 3 09:33:07 CST 2010


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

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Wed Feb  3 03:49:37 2010 +0300

Add stub msxml4.dll.

---

 configure               |    9 +++++++++
 configure.ac            |    1 +
 dlls/msxml4/Makefile.in |   14 ++++++++++++++
 dlls/msxml4/main.c      |   39 +++++++++++++++++++++++++++++++++++++++
 dlls/msxml4/msxml4.spec |    4 ++++
 5 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 2cd384d..f60272d 100755
--- a/configure
+++ b/configure
@@ -16222,6 +16222,14 @@ ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
 dlls/msxml3/tests/Makefile: dlls/msxml3/tests/Makefile.in dlls/Maketest.rules config.status"
 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
 
+ALL_MAKEFILES="$ALL_MAKEFILES \\
+	dlls/msxml4/Makefile"
+test "x$enable_msxml4" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
+	msxml4"
+ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
+dlls/msxml4/Makefile: dlls/msxml4/Makefile.in dlls/Makedll.rules config.status"
+ac_config_files="$ac_config_files dlls/msxml4/Makefile"
+
 ALL_IMPORT_LIBS="$ALL_IMPORT_LIBS \\
 	nddeapi/libnddeapi.$IMPLIBEXT"
 ALL_IMPORTLIB_RULES="$ALL_IMPORTLIB_RULES
@@ -19896,6 +19904,7 @@ do
     "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
     "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
     "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
+    "dlls/msxml4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml4/Makefile" ;;
     "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
     "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
     "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 8016dd7..24aac13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2391,6 +2391,7 @@ WINE_CONFIG_DLL(msvideo.dll16,enable_win16)
 WINE_CONFIG_DLL(mswsock,,[mswsock])
 WINE_CONFIG_DLL(msxml3)
 WINE_CONFIG_TEST(dlls/msxml3/tests)
+WINE_CONFIG_DLL(msxml4)
 WINE_CONFIG_DLL(nddeapi,,[nddeapi])
 WINE_CONFIG_DLL(netapi32,,[netapi32])
 WINE_CONFIG_TEST(dlls/netapi32/tests)
diff --git a/dlls/msxml4/Makefile.in b/dlls/msxml4/Makefile.in
new file mode 100644
index 0000000..093e67d
--- /dev/null
+++ b/dlls/msxml4/Makefile.in
@@ -0,0 +1,14 @@
+EXTRADEFS = -DCOM_NO_WINDOWS_H
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = msxml4.dll
+IMPORTS   = kernel32
+
+C_SRCS = \
+	main.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/msxml4/main.c b/dlls/msxml4/main.c
new file mode 100644
index 0000000..761184b
--- /dev/null
+++ b/dlls/msxml4/main.c
@@ -0,0 +1,39 @@
+/*
+ *    MSXML4 entry point
+ *
+ * Copyright 2010 Nikolay Sivov
+ *
+ * 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 <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+HRESULT WINAPI DllCanUnloadNow(void)
+{
+    return S_FALSE;
+}
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
+{
+    switch (reason)
+    {
+    case DLL_PROCESS_ATTACH:
+        DisableThreadLibraryCalls(instance);
+        break;
+    }
+    return TRUE;
+}
diff --git a/dlls/msxml4/msxml4.spec b/dlls/msxml4/msxml4.spec
new file mode 100644
index 0000000..3685aa2
--- /dev/null
+++ b/dlls/msxml4/msxml4.spec
@@ -0,0 +1,4 @@
+@ stdcall -private DllCanUnloadNow()
+@ stub -private DllGetClassObject
+@ stub -private DllRegisterServer
+@ stub -private DllUnregisterServer




More information about the wine-cvs mailing list