prntvpt: Add stub dll.
This commit is contained in:
parent
b48e74749d
commit
16ab1bdd5f
2
configure
vendored
2
configure
vendored
@ -1180,6 +1180,7 @@ enable_photometadatahandler
|
|||||||
enable_pidgen
|
enable_pidgen
|
||||||
enable_powrprof
|
enable_powrprof
|
||||||
enable_printui
|
enable_printui
|
||||||
|
enable_prntvpt
|
||||||
enable_propsys
|
enable_propsys
|
||||||
enable_psapi
|
enable_psapi
|
||||||
enable_pstorec
|
enable_pstorec
|
||||||
@ -17224,6 +17225,7 @@ wine_fn_config_dll photometadatahandler enable_photometadatahandler
|
|||||||
wine_fn_config_dll pidgen enable_pidgen
|
wine_fn_config_dll pidgen enable_pidgen
|
||||||
wine_fn_config_dll powrprof enable_powrprof implib
|
wine_fn_config_dll powrprof enable_powrprof implib
|
||||||
wine_fn_config_dll printui enable_printui
|
wine_fn_config_dll printui enable_printui
|
||||||
|
wine_fn_config_dll prntvpt enable_prntvpt
|
||||||
wine_fn_config_dll propsys enable_propsys clean,implib
|
wine_fn_config_dll propsys enable_propsys clean,implib
|
||||||
wine_fn_config_test dlls/propsys/tests propsys_test
|
wine_fn_config_test dlls/propsys/tests propsys_test
|
||||||
wine_fn_config_dll psapi enable_psapi implib
|
wine_fn_config_dll psapi enable_psapi implib
|
||||||
|
@ -3108,6 +3108,7 @@ WINE_CONFIG_DLL(photometadatahandler)
|
|||||||
WINE_CONFIG_DLL(pidgen)
|
WINE_CONFIG_DLL(pidgen)
|
||||||
WINE_CONFIG_DLL(powrprof,,[implib])
|
WINE_CONFIG_DLL(powrprof,,[implib])
|
||||||
WINE_CONFIG_DLL(printui)
|
WINE_CONFIG_DLL(printui)
|
||||||
|
WINE_CONFIG_DLL(prntvpt)
|
||||||
WINE_CONFIG_DLL(propsys,,[clean,implib])
|
WINE_CONFIG_DLL(propsys,,[clean,implib])
|
||||||
WINE_CONFIG_TEST(dlls/propsys/tests)
|
WINE_CONFIG_TEST(dlls/propsys/tests)
|
||||||
WINE_CONFIG_DLL(psapi,,[implib])
|
WINE_CONFIG_DLL(psapi,,[implib])
|
||||||
|
4
dlls/prntvpt/Makefile.in
Normal file
4
dlls/prntvpt/Makefile.in
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
MODULE = prntvpt.dll
|
||||||
|
|
||||||
|
C_SRCS = \
|
||||||
|
main.c
|
43
dlls/prntvpt/main.c
Normal file
43
dlls/prntvpt/main.c
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
/*
|
||||||
|
* Print Ticket Services Module
|
||||||
|
*
|
||||||
|
* Copyright 2014 Jactry Zeng 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"
|
||||||
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(prntvpt);
|
||||||
|
|
||||||
|
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
|
||||||
|
{
|
||||||
|
TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
|
||||||
|
|
||||||
|
switch(reason)
|
||||||
|
{
|
||||||
|
case DLL_WINE_PREATTACH:
|
||||||
|
return FALSE; /* prefer native version */
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
DisableThreadLibraryCalls(hinst);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return TRUE;
|
||||||
|
}
|
27
dlls/prntvpt/prntvpt.spec
Normal file
27
dlls/prntvpt/prntvpt.spec
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
1 stub PTQuerySchemaVersionSupport
|
||||||
|
2 stub PTOpenProvider
|
||||||
|
3 stub PTOpenProviderEx
|
||||||
|
4 stub PTCloseProvider
|
||||||
|
5 stub BindPTProviderThunk
|
||||||
|
6 stub PTGetPrintCapabilities
|
||||||
|
7 stub PTMergeAndValidatePrintTicket
|
||||||
|
8 stub PTConvertPrintTicketToDevMode
|
||||||
|
9 stub PTConvertDevModeToPrintTicket
|
||||||
|
10 stub PTReleaseMemory
|
||||||
|
11 stub ConvertDevModeToPrintTicketThunk2
|
||||||
|
12 stub ConvertDevModeToPrintTicketThunk
|
||||||
|
13 stub ConvertPrintTicketToDevModeThunk2
|
||||||
|
14 stub ConvertPrintTicketToDevModeThunk
|
||||||
|
15 stub DllCanUnloadNow
|
||||||
|
16 stub DllGetClassObject
|
||||||
|
17 stdcall -private DllMain(long long ptr)
|
||||||
|
18 stub DllRegisterServer
|
||||||
|
19 stub DllUnregisterServer
|
||||||
|
20 stub GetDeviceDefaultPrintTicketThunk
|
||||||
|
21 stub GetDeviceNamespacesThunk
|
||||||
|
22 stub GetPrintCapabilitiesThunk2
|
||||||
|
23 stub GetPrintCapabilitiesThunk
|
||||||
|
24 stub GetSchemaVersionThunk
|
||||||
|
25 stub MergeAndValidatePrintTicketThunk2
|
||||||
|
26 stub MergeAndValidatePrintTicketThunk
|
||||||
|
27 stub UnbindPTProviderThunk
|
Loading…
x
Reference in New Issue
Block a user