softpub: Forward softpub functions to wintrust.

This commit is contained in:
Juan Lang 2008-04-10 10:27:04 -07:00 committed by Alexandre Julliard
parent 8dcde49a53
commit 7267c0772b
3 changed files with 22 additions and 71 deletions

View File

@ -3,10 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = softpub.dll MODULE = softpub.dll
IMPORTS = kernel32 IMPORTS = wintrust kernel32
C_SRCS = \
main.c
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@

View File

@ -1,46 +0,0 @@
/*
* Copyright 2008 Maarten Lankhorst
*
* 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(softpub);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
break;
default:
break;
}
return TRUE;
}

View File

@ -1,24 +1,24 @@
1 stub GenericChainCertificateTrust 1 stdcall GenericChainCertificateTrust(ptr) wintrust.GenericChainCertificateTrust
2 stub GenericChainFinalProv 2 stdcall GenericChainFinalProv(ptr) wintrust.GenericChainFinalProv
3 stub HTTPSCertificateTrust 3 stdcall HTTPSCertificateTrust(ptr) wintrust.HTTPSCertificateTrust
4 stub SoftpubDefCertInit 4 stdcall SoftpubDefCertInit(ptr) wintrust.SoftpubDefCertInit
5 stub SoftpubFreeDefUsageCallData 5 stub SoftpubFreeDefUsageCallData
6 stub SoftpubLoadDefUsageCallData 6 stub SoftpubLoadDefUsageCallData
7 stub AddPersonalTrustDBPages 7 stub AddPersonalTrustDBPages
8 stub DllRegisterServer 8 stdcall -private DllRegisterServer() wintrust.SoftpubDllRegisterServer
9 stub DllUnregisterServer 9 stdcall -private DllUnregisterServer() wintrust.SoftpubDllUnregisterServer
10 stub DriverCleanupPolicy 10 stdcall DriverCleanupPolicy(ptr) wintrust.DriverCleanupPolicy
11 stub DriverFinalPolicy 11 stdcall DriverFinalPolicy(ptr) wintrust.DriverFinalPolicy
12 stub DriverInitializePolicy 12 stdcall DriverInitializePolicy(ptr) wintrust.DriverInitializePolicy
13 stub FindCertsByIssuer 13 stdcall FindCertsByIssuer(ptr ptr ptr ptr long wstr long) wintrust.FindCertsByIssuer
14 stub HTTPSFinalProv 14 stdcall HTTPSFinalProv(ptr) wintrust.HTTPSFinalProv
15 stub OfficeCleanupPolicy 15 stdcall OfficeCleanupPolicy(ptr) wintrust.OfficeCleanupPolicy
16 stub OfficeInitializePolicy 16 stdcall OfficeInitializePolicy(ptr) wintrust.OfficeInitializePolicy
17 stub OpenPersonalTrustDBDialog 17 stdcall OpenPersonalTrustDBDialog(long) wintrust.OpenPersonalTrustDBDialog
18 stub SoftpubAuthenticode 18 stdcall SoftpubAuthenticode(ptr) wintrust.SoftpubAuthenticode
19 stub SoftpubCheckCert 19 stdcall SoftpubCheckCert(ptr long long long) wintrust.SoftpubCheckCert
20 stub SoftpubCleanup 20 stdcall SoftpubCleanup(ptr) wintrust.SoftpubCleanup
21 stub SoftpubDumpStructure 21 stdcall SoftpubDumpStructure(ptr) wintrust.SoftpubDumpStructure
22 stub SoftpubInitialize 22 stdcall SoftpubInitialize(ptr) wintrust.SoftpubInitialize
23 stub SoftpubLoadMessage 23 stdcall SoftpubLoadMessage(ptr) wintrust.SoftpubLoadMessage
24 stub SoftpubLoadSignature 24 stdcall SoftpubLoadSignature(ptr) wintrust.SoftpubLoadSignature