xpsprint: Add stub dll.

This commit is contained in:
Austin English 2012-01-11 11:13:08 -08:00 committed by Alexandre Julliard
parent e3fb078329
commit 1c92d20225
6 changed files with 87 additions and 0 deletions

1
configure vendored
View File

@ -15416,6 +15416,7 @@ wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
wine_fn_config_dll xmllite enable_xmllite wine_fn_config_dll xmllite enable_xmllite
wine_fn_config_test dlls/xmllite/tests xmllite_test wine_fn_config_test dlls/xmllite/tests xmllite_test
wine_fn_config_dll xolehlp enable_xolehlp wine_fn_config_dll xolehlp enable_xolehlp
wine_fn_config_dll xpsprint enable_xpsprint
wine_fn_config_makefile documentation enable_documentation wine_fn_config_makefile documentation enable_documentation
wine_fn_config_makefile fonts enable_fonts install-lib wine_fn_config_makefile fonts enable_fonts install-lib
wine_fn_config_makefile include enable_include install-dev wine_fn_config_makefile include enable_include install-dev

View File

@ -2925,6 +2925,7 @@ WINE_CONFIG_DLL(xinput9_1_0)
WINE_CONFIG_DLL(xmllite) WINE_CONFIG_DLL(xmllite)
WINE_CONFIG_TEST(dlls/xmllite/tests) WINE_CONFIG_TEST(dlls/xmllite/tests)
WINE_CONFIG_DLL(xolehlp) WINE_CONFIG_DLL(xolehlp)
WINE_CONFIG_DLL(xpsprint)
WINE_CONFIG_MAKEFILE([documentation]) WINE_CONFIG_MAKEFILE([documentation])
WINE_CONFIG_MAKEFILE([fonts],,[install-lib]) WINE_CONFIG_MAKEFILE([fonts],,[install-lib])
WINE_CONFIG_MAKEFILE([include],,[install-dev]) WINE_CONFIG_MAKEFILE([include],,[install-dev])

View File

@ -0,0 +1,8 @@
MODULE = xpsprint.dll
C_SRCS = \
main.c
RC_SRCS = xpsprint.rc
@MAKE_DLL_RULES@

43
dlls/xpsprint/main.c Normal file
View File

@ -0,0 +1,43 @@
/*
* XPS printing support
*
* Copyright 2012 Austin English
*
* 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"
#include "wine/debug.h"
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

28
dlls/xpsprint/xpsprint.rc Normal file
View File

@ -0,0 +1,28 @@
/*
* Resources for XPS Print
*
* Copyright 2012 Austin English
*
* 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
*/
#define WINE_FILEDESCRIPTION_STR "Wine XPS Print dll"
#define WINE_FILENAME_STR "xpsprint.dll"
#define WINE_FILEVERSION 7,0,6002,18363
#define WINE_FILEVERSION_STR "7.0.6002.18363"
#define WINE_PRODUCTVERSION 7,0,6002,18363
#define WINE_PRODUCTVERSION_STR "7.0.6002.18363"
#include "wine/wine_common_ver.rc"

View File

@ -0,0 +1,6 @@
3 stub @
5 stub @
@ stub DllMain
@ stub StartXpsPrintJob1
@ stub StartXpsPrintJob