From dff501236aad78562131d9d69ed31fa1fad2dc17 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Thu, 8 Nov 2012 13:18:25 +0100 Subject: [PATCH] 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(+) 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 b/configure index 991026dc9f..0f55611edf 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 6a63e6eef8..cc32c24115 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 0000000000..206cbcbb9e --- /dev/null +++ b/dlls/xpssvcs/Makefile.in @@ -0,0 +1,6 @@ +MODULE = xpssvcs.dll + +C_SRCS = \ + main.c + +@MAKE_DLL_RULES@ diff --git a/dlls/xpssvcs/main.c b/dlls/xpssvcs/main.c new file mode 100644 index 0000000000..98e4643617 --- /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 + +#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 0000000000..335259ec77 --- /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