From 632ee62a3e452496a4e3c1c418b66a20037a60ca Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 1 Jun 2005 19:49:41 +0000 Subject: [PATCH] Add stubs and stub implementations. --- dlls/wintrust/wintrust.spec | 114 ++++++++++++++++++++++++++++++++++ dlls/wintrust/wintrust_main.c | 23 ++++++- 2 files changed, 135 insertions(+), 2 deletions(-) diff --git a/dlls/wintrust/wintrust.spec b/dlls/wintrust/wintrust.spec index 6acdde352a5..54f113a8d4f 100644 --- a/dlls/wintrust/wintrust.spec +++ b/dlls/wintrust/wintrust.spec @@ -1,4 +1,7 @@ +@ stub AddPersonalTrustDBPages +@ stub CatalogCompactHashDatabase @ stdcall CryptCATAdminAcquireContext(long ptr long) +@ stub CryptCATAdminAddCatalog @ stub CryptCATAdminCalcHashFromFileHandle @ stub CryptCATAdminEnumCatalogFromHash @ stub CryptCATAdminPauseServiceForBackup @@ -7,4 +10,115 @@ @ stub CryptCATAdminRemoveCatalog @ stub CryptCATAdminResolveCatalogPath @ stub CryptCATCatalogInfoFromContext +@ stub CryptCATCDFClose +@ stub CryptCATCDFEnumAttributes +@ stub CryptCATCDFEnumAttributesWithCDFTag +@ stub CryptCATCDFEnumCatAttributes +@ stub CryptCATCDFEnumMembers +@ stub CryptCATCDFEnumMembersByCDFTag +@ stub CryptCATCDFEnumMembersByCDFTagEx +@ stub CryptCATCDFOpen +@ stub CryptCATClose +@ stub CryptCATEnumerateAttr +@ stub CryptCATEnumerateCatAttr +@ stub CryptCATEnumerateMember +@ stub CryptCATGetAttrInfo +@ stub CryptCATGetCatAttrInfo +@ stub CryptCATGetMemberInfo +@ stub CryptCATHandleFromStore +@ stub CryptCATOpen +@ stub CryptCATPersistStore +@ stub CryptCATPutAttrInfo +@ stub CryptCATPutCatAttrInfo +@ stub CryptCATPutMemberInfo +@ stub CryptCATStoreFromHandle +@ stub CryptCATVerifyMember +@ stub CryptSIPCreateIndirectData +@ stub CryptSIPGetInfo +@ stub CryptSIPGetRegWorkingFlags +@ stub CryptSIPGetSignedDataMsg +@ stub CryptSIPPutSignedDataMsg +@ stub CryptSIPRemoveSignedDataMsg +@ stub CryptSIPVerifyIndirectData +@ stub DllRegisterServer +@ stub DllUnregisterServer +@ stub DriverCleanupPolicy +@ stub DriverFinalPolicy +@ stub DriverInitializePolicy +@ stub FindCertsByIssuer +@ stub GenericChainCertificateTrust +@ stub GenericChainFinalProv +@ stub HTTPSCertificateTrust +@ stub HTTPSFinalProv +@ stub IsCatalogFile +@ stub MsCatConstructHashTag +@ stub MsCatFreeHashTag +@ stub OfficeCleanupPolicy +@ stub OfficeInitializePolicy +@ stub OpenPersonalTrustDBDialog +@ stub SoftpubAuthenticode +@ stub SoftpubCheckCert +@ stub SoftpubCleanup +@ stub SoftpubDefCertInit +@ stub SoftpubDllRegisterServer +@ stub SoftpubDllUnregisterServer +@ stub SoftpubDumpStructure +@ stub SoftpubFreeDefUsageCallData +@ stub SoftpubInitialize +@ stub SoftpubLoadDefUsageCallData +@ stub SoftpubLoadMessage +@ stub SoftpubLoadSignature +@ stub TrustDecode +@ stub TrustFindIssuerCertificate +@ stub TrustFreeDecode +@ stub TrustIsCertificateSelfSigned +@ stub TrustOpenStores +@ stub WTHelperCertFindIssuerCertificate +@ stub WTHelperCertIsSelfSigned +@ stub WTHelperCheckCertUsage +@ stub WTHelperGetAgencyInfo +@ stub WTHelperGetFileHandle +@ stub WTHelperGetFileName +@ stub WTHelperGetKnownUsages +@ stub WTHelperGetProvCertFromChain +@ stub WTHelperGetProvPrivateDataFromChain +@ stub WTHelperGetProvSignerFromChain +@ stub WTHelperIsInRootStore +@ stub WTHelperOpenKnownStores +@ stub WTHelperProvDataFromStateData +@ stub WVTAsn1CatMemberInfoDecode +@ stub WVTAsn1CatMemberInfoEncode +@ stub WVTAsn1CatNameValueDecode +@ stub WVTAsn1CatNameValueEncode +@ stub WVTAsn1SpcFinancialCriteriaInfoDecode +@ stub WVTAsn1SpcFinancialCriteriaInfoEncode +@ stub WVTAsn1SpcIndirectDataContentDecode +@ stub WVTAsn1SpcIndirectDataContentEncode +@ stub WVTAsn1SpcLinkDecode +@ stub WVTAsn1SpcLinkEncode +@ stub WVTAsn1SpcMinimalCriteriaInfoDecode +@ stub WVTAsn1SpcMinimalCriteriaInfoEncode +@ stub WVTAsn1SpcPeImageDataDecode +@ stub WVTAsn1SpcPeImageDataEncode +@ stub WVTAsn1SpcSigInfoDecode +@ stub WVTAsn1SpcSigInfoEncode +@ stub WVTAsn1SpcSpAgencyInfoDecode +@ stub WVTAsn1SpcSpAgencyInfoEncode +@ stub WVTAsn1SpcSpOpusInfoDecode +@ stub WVTAsn1SpcSpOpusInfoEncode +@ stub WVTAsn1SpcStatementTypeDecode +@ stub WVTAsn1SpcStatementTypeEncode @ stdcall WinVerifyTrust(long ptr ptr) +@ stub WinVerifyTrustEx +@ stdcall WintrustAddActionID(ptr long ptr) +@ stub WintrustAddDefaultForUsage +@ stub WintrustCertificateTrust +@ stub WintrustGetDefaultForUsage +@ stdcall WintrustGetRegPolicyFlags(ptr) +@ stub WintrustLoadFunctionPointers +@ stub WintrustRemoveActionID +@ stub WintrustSetRegPolicyFlags +@ stub mscat32DllRegisterServer +@ stub mscat32DllUnregisterServer +@ stub mssip32DllRegisterServer +@ stub mssip32DllUnregisterServer diff --git a/dlls/wintrust/wintrust_main.c b/dlls/wintrust/wintrust_main.c index 9b7eb355a5a..50783aa38fa 100644 --- a/dlls/wintrust/wintrust_main.c +++ b/dlls/wintrust/wintrust_main.c @@ -57,7 +57,26 @@ BOOL WINAPI CryptCATAdminReleaseContext(HCATADMIN hCatAdmin, DWORD dwFlags ) */ LONG WINAPI WinVerifyTrust( HWND hwnd, GUID *ActionID, WINTRUST_DATA* ActionData ) { - FIXME("(hwnd %p ActionId %p ActionData %p): stub (nothing will be verified)\n", - hwnd, ActionID, ActionData); + FIXME("%p %p %p\n", hwnd, ActionID, ActionData); return ERROR_SUCCESS; } + +/*********************************************************************** + * WintrustAddActionID (WINTRUST.@) + */ +BOOL WINAPI WintrustAddActionID( GUID* pgActionID, DWORD fdwFlags, + CRYPT_REGISTER_ACTIONID* psProvInfo) +{ + FIXME("%p %lx %p\n", pgActionID, fdwFlags, psProvInfo); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + +/*********************************************************************** + * WintrustAddActionID (WINTRUST.@) + */ +void WINAPI WintrustGetRegPolicyFlags( DWORD* pdwPolicyFlags ) +{ + FIXME("%p\n", pdwPolicyFlags); + *pdwPolicyFlags = 0; +}