; --------------------------------------------------------------------------------------------------
;                          wintrust.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF WINTRUST_INC
WINTRUST_INC equ <1>

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

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