Hans Leidekker : xpssvcs: Add stub dll.

Alexandre Julliard julliard at winehq.org
Thu Nov 8 15:39:55 CST 2012


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Nov  8 13:18:25 2012 +0100

xpssvcs: Add stub dll.

---

 configure                 |    1 +
 configure.ac              |    1 +
 dlls/xpssvcs/Makefile.in  |    6 ++++++
 dlls/xpssvcs/main.c       |   38 ++++++++++++++++++++++++++++++++++++++
 dlls/xpssvcs/xpssvcs.spec |    9 +++++++++
 5 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 991026d..0f55611 100755
--- a/configure
+++ b/configure
@@ -15810,6 +15810,7 @@ wine_fn_config_dll xmllite enable_xmllite
 wine_fn_config_test dlls/xmllite/tests xmllite_test
 wine_fn_config_dll xolehlp enable_xolehlp
 wine_fn_config_dll xpsprint enable_xpsprint
+wine_fn_config_dll xpssvcs enable_xpssvcs
 wine_fn_config_makefile documentation enable_documentation
 wine_fn_config_makefile fonts enable_fonts install-lib
 wine_fn_config_makefile include enable_include install-dev
diff --git a/configure.ac b/configure.ac
index 6a63e6e..cc32c24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3076,6 +3076,7 @@ WINE_CONFIG_DLL(xmllite)
 WINE_CONFIG_TEST(dlls/xmllite/tests)
 WINE_CONFIG_DLL(xolehlp)
 WINE_CONFIG_DLL(xpsprint)
+WINE_CONFIG_DLL(xpssvcs)
 WINE_CONFIG_MAKEFILE([documentation])
 WINE_CONFIG_MAKEFILE([fonts],,[install-lib])
 WINE_CONFIG_MAKEFILE([include],,[install-dev])
diff --git a/dlls/xpssvcs/Makefile.in b/dlls/xpssvcs/Makefile.in
new file mode 100644
index 0000000..206cbcb
--- /dev/null
+++ b/dlls/xpssvcs/Makefile.in
@@ -0,0 +1,6 @@
+MODULE = xpssvcs.dll
+
+C_SRCS = \
+	main.c
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/xpssvcs/main.c b/dlls/xpssvcs/main.c
new file mode 100644
index 0000000..98e4643
--- /dev/null
+++ b/dlls/xpssvcs/main.c
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2012 Hans Leidekker for 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
+ */
+
+#include "config.h"
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
+{
+    switch (reason)
+    {
+    case DLL_WINE_PREATTACH:
+        return FALSE;    /* prefer native version */
+    case DLL_PROCESS_ATTACH:
+        DisableThreadLibraryCalls( hinst );
+        break;
+    case DLL_PROCESS_DETACH:
+        break;
+    }
+    return TRUE;
+}
diff --git a/dlls/xpssvcs/xpssvcs.spec b/dlls/xpssvcs/xpssvcs.spec
new file mode 100644
index 0000000..335259e
--- /dev/null
+++ b/dlls/xpssvcs/xpssvcs.spec
@@ -0,0 +1,9 @@
+@ stub CreateContainerConsumer
+@ stub CreateContainerProducer
+@ stub CreateReachPackageReceiver
+@ stub CreateReachPackageSender
+@ stub CreateSeekableBuffer
+@ stub CreateStreamReceiverOnFileHandle
+@ stub CreateStreamSenderOnFileHandle
+@ stub CreateStreamSenderOnIStream
+@ stub DDLogHelper




More information about the wine-cvs mailing list