xpssvcs: Add stub dll.
Hans Leidekker
hans at codeweavers.com
Thu Nov 8 06:18:25 CST 2012
---
configure.ac | 1 +
dlls/xpssvcs/Makefile.in | 6 ++++++
dlls/xpssvcs/main.c | 38 ++++++++++++++++++++++++++++++++++++++
dlls/xpssvcs/xpssvcs.spec | 9 +++++++++
4 files changed, 54 insertions(+)
create mode 100644 dlls/xpssvcs/Makefile.in
create mode 100644 dlls/xpssvcs/main.c
create mode 100644 dlls/xpssvcs/xpssvcs.spec
diff --git a/configure.ac b/configure.ac
index 1adb6fd..a7fee50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3106,6 +3106,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
--
1.7.10.4
More information about the wine-patches
mailing list