  ; ===========================================
  ; wintrust.inc copyright MASM32 1998 - 2005
  ; ===========================================

IFNDEF WINTRUST_INC
WINTRUST_INC equ <1>

AddPersonalTrustDBPages PROTO :DWORD,:DWORD,:DWORD
CatalogCompactHashDatabase PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptCATAdminAcquireContext PROTO :DWORD,:DWORD,:DWORD
CryptCATAdminAddCatalog PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptCATAdminCalcHashFromFileHandle PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptCATAdminEnumCatalogFromHash PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptCATAdminPauseServiceForBackup PROTO :DWORD,:DWORD
CryptCATAdminReleaseCatalogContext PROTO :DWORD,:DWORD,:DWORD
CryptCATAdminReleaseContext PROTO :DWORD,:DWORD
CryptCATAdminRemoveCatalog PROTO :DWORD,:DWORD,:DWORD
CryptCATAdminResolveCatalogPath PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptCATCDFClose PROTO :DWORD
CryptCATCDFEnumAttributes PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptCATCDFEnumAttributesWithCDFTag PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptCATCDFEnumCatAttributes PROTO :DWORD,:DWORD,:DWORD
CryptCATCDFEnumMembers PROTO :DWORD,:DWORD,:DWORD
CryptCATCDFEnumMembersByCDFTag PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptCATCDFEnumMembersByCDFTagEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptCATCDFOpen PROTO :DWORD,:DWORD
CryptCATCatalogInfoFromContext PROTO :DWORD,:DWORD,:DWORD
CryptCATClose PROTO :DWORD
CryptCATEnumerateAttr PROTO :DWORD,:DWORD,:DWORD
CryptCATEnumerateCatAttr PROTO :DWORD,:DWORD
CryptCATEnumerateMember PROTO :DWORD,:DWORD
CryptCATGetAttrInfo PROTO :DWORD,:DWORD,:DWORD
CryptCATGetCatAttrInfo PROTO :DWORD,:DWORD
CryptCATGetMemberInfo PROTO :DWORD,:DWORD
CryptCATHandleFromStore PROTO :DWORD
CryptCATOpen PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptCATPersistStore PROTO :DWORD
CryptCATPutAttrInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptCATPutCatAttrInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptCATPutMemberInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptCATStoreFromHandle PROTO :DWORD
CryptSIPCreateIndirectData PROTO :DWORD,:DWORD,:DWORD
CryptSIPGetSignedDataMsg PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSIPPutSignedDataMsg PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSIPRemoveSignedDataMsg PROTO :DWORD,:DWORD
CryptSIPVerifyIndirectData PROTO :DWORD,:DWORD
DriverCleanupPolicy PROTO :DWORD
DriverFinalPolicy PROTO :DWORD
DriverInitializePolicy PROTO :DWORD
FindCertsByIssuer PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HTTPSFinalProv PROTO :DWORD
I_CryptCatAdminMigrateToNewCatDB PROTO 
IsCatalogFile PROTO :DWORD,:DWORD
MsCatConstructHashTag PROTO :DWORD,:DWORD,:DWORD
MsCatFreeHashTag PROTO :DWORD
OfficeCleanupPolicy PROTO :DWORD
OfficeInitializePolicy PROTO :DWORD
OpenPersonalTrustDBDialog PROTO :DWORD
OpenPersonalTrustDBDialogEx PROTO :DWORD,:DWORD,:DWORD
SoftpubAuthenticode PROTO :DWORD
SoftpubCheckCert PROTO :DWORD,:DWORD,:DWORD,:DWORD
SoftpubCleanup PROTO :DWORD
SoftpubDllRegisterServer PROTO 
SoftpubDllUnregisterServer PROTO 
SoftpubDumpStructure PROTO :DWORD
SoftpubInitialize PROTO :DWORD
SoftpubLoadMessage PROTO :DWORD
SoftpubLoadSignature PROTO :DWORD
TrustDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
TrustFindIssuerCertificate PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
TrustFreeDecode PROTO :DWORD,:DWORD
TrustIsCertificateSelfSigned PROTO :DWORD,:DWORD,:DWORD
TrustOpenStores PROTO :DWORD,:DWORD,:DWORD,:DWORD
WTHelperCertCheckValidSignature PROTO :DWORD
WTHelperCertIsSelfSigned PROTO :DWORD,:DWORD
WTHelperCheckCertUsage PROTO :DWORD,:DWORD
WTHelperGetAgencyInfo PROTO :DWORD,:DWORD,:DWORD
WTHelperGetFileHandle PROTO :DWORD
WTHelperGetFileHash PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WTHelperGetFileName PROTO :DWORD
WTHelperGetKnownUsages PROTO :DWORD,:DWORD
WTHelperGetProvCertFromChain PROTO :DWORD,:DWORD
WTHelperGetProvPrivateDataFromChain PROTO :DWORD,:DWORD
WTHelperGetProvSignerFromChain PROTO :DWORD,:DWORD,:DWORD,:DWORD
WTHelperIsInRootStore PROTO :DWORD,:DWORD
WTHelperOpenKnownStores PROTO :DWORD
WTHelperProvDataFromStateData PROTO :DWORD
WVTAsn1CatMemberInfoDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1CatMemberInfoEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1CatNameValueDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1CatNameValueEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcFinancialCriteriaInfoDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcFinancialCriteriaInfoEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcIndirectDataContentDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcIndirectDataContentEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcLinkDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcLinkEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcMinimalCriteriaInfoDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcMinimalCriteriaInfoEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcPeImageDataDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcPeImageDataEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcSigInfoDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcSigInfoEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcSpAgencyInfoDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcSpAgencyInfoEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcSpOpusInfoDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcSpOpusInfoEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcStatementTypeDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WVTAsn1SpcStatementTypeEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WinVerifyTrust PROTO :DWORD,:DWORD,:DWORD
WinVerifyTrustEx PROTO :DWORD,:DWORD,:DWORD
WintrustAddActionID PROTO :DWORD,:DWORD,:DWORD
WintrustAddDefaultForUsage PROTO :DWORD,:DWORD
WintrustCertificateTrust PROTO :DWORD
WintrustGetDefaultForUsage PROTO :DWORD,:DWORD,:DWORD
WintrustGetRegPolicyFlags PROTO :DWORD
WintrustLoadFunctionPointers PROTO :DWORD,:DWORD
WintrustRemoveActionID PROTO :DWORD
WintrustSetRegPolicyFlags PROTO :DWORD
mscat32DllRegisterServer PROTO 
mscat32DllUnregisterServer PROTO 
mssip32DllRegisterServer PROTO 
mssip32DllUnregisterServer PROTO 

ELSE
echo -----------------------------------------
echo WARNING Duplicate include file wintrust.inc
echo -----------------------------------------
ENDIF
