Add stub msxml4.dll
Nikolay Sivov
bunglehead at gmail.com
Tue Feb 2 18:49:37 CST 2010
---
configure.ac | 1 +
dlls/msxml4/Makefile.in | 14 ++++++++++++++
dlls/msxml4/main.c | 39 +++++++++++++++++++++++++++++++++++++++
dlls/msxml4/msxml4.spec | 4 ++++
4 files changed, 58 insertions(+), 0 deletions(-)
create mode 100644 dlls/msxml4/Makefile.in
create mode 100644 dlls/msxml4/main.c
create mode 100644 dlls/msxml4/msxml4.spec
diff --git a/configure.ac b/configure.ac
index f823045..8799643 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2384,6 +2384,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
--
1.5.6.5
--=-TZBQOvD4q0iGKVWR/It8--
More information about the wine-patches
mailing list