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

IFNDEF CRYPT32_INC
CRYPT32_INC equ <1>

CertAddCRLContextToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertAddCRLLinkToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertAddCTLContextToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertAddCTLLinkToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertAddCertificateContextToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertAddCertificateLinkToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertAddEncodedCRLToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertAddEncodedCTLToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertAddEncodedCertificateToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertAddEncodedCertificateToSystemStoreA PROTO :DWORD,:DWORD,:DWORD
CertAddEncodedCertificateToSystemStore equ <CertAddEncodedCertificateToSystemStoreA>

CertAddEncodedCertificateToSystemStoreW PROTO :DWORD,:DWORD,:DWORD
CertAddEnhancedKeyUsageIdentifier PROTO :DWORD,:DWORD
CertAddSerializedElementToStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertAddStoreToCollection PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertAlgIdToOID PROTO :DWORD
CertCloseStore PROTO :DWORD,:DWORD
CertCompareCertificate PROTO :DWORD,:DWORD,:DWORD
CertCompareCertificateName PROTO :DWORD,:DWORD,:DWORD
CertCompareIntegerBlob PROTO :DWORD,:DWORD
CertComparePublicKeyInfo PROTO :DWORD,:DWORD,:DWORD
CertControlStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertCreateCRLContext PROTO :DWORD,:DWORD,:DWORD
CertCreateCTLContext PROTO :DWORD,:DWORD,:DWORD
CertCreateCTLEntryFromCertificateContextProperties PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertCreateCertificateChainEngine PROTO :DWORD,:DWORD
CertCreateCertificateContext PROTO :DWORD,:DWORD,:DWORD
CertCreateContext PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertCreateSelfSignCertificate PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertDeleteCRLFromStore PROTO :DWORD
CertDeleteCTLFromStore PROTO :DWORD
CertDeleteCertificateFromStore PROTO :DWORD
CertDuplicateCRLContext PROTO :DWORD
CertDuplicateCTLContext PROTO :DWORD
CertDuplicateCertificateChain PROTO :DWORD
CertDuplicateCertificateContext PROTO :DWORD
CertDuplicateStore PROTO :DWORD
CertEnumCRLContextProperties PROTO :DWORD,:DWORD
CertEnumCRLsInStore PROTO :DWORD,:DWORD
CertEnumCTLContextProperties PROTO :DWORD,:DWORD
CertEnumCTLsInStore PROTO :DWORD,:DWORD
CertEnumCertificateContextProperties PROTO :DWORD,:DWORD
CertEnumCertificatesInStore PROTO :DWORD,:DWORD
CertEnumPhysicalStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertEnumSubjectInSortedCTL PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertEnumSystemStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertEnumSystemStoreLocation PROTO :DWORD,:DWORD,:DWORD
CertFindAttribute PROTO :DWORD,:DWORD,:DWORD
CertFindCRLInStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertFindCTLInStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertFindCertificateInCRL PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertFindCertificateInStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertFindChainInStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertFindExtension PROTO :DWORD,:DWORD,:DWORD
CertFindRDNAttr PROTO :DWORD,:DWORD
CertFindSubjectInCTL PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertFindSubjectInSortedCTL PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertFreeCRLContext PROTO :DWORD
CertFreeCTLContext PROTO :DWORD
CertFreeCertificateChain PROTO :DWORD
CertFreeCertificateChainEngine PROTO :DWORD
CertFreeCertificateContext PROTO :DWORD
CertGetCRLContextProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertGetCRLFromStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertGetCTLContextProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertGetCertificateChain PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertGetCertificateContextProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertGetEnhancedKeyUsage PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertGetIntendedKeyUsage PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertGetIssuerCertificateFromStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertGetNameStringA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertGetNameString equ <CertGetNameStringA>

CertGetNameStringW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertGetPublicKeyLength PROTO :DWORD,:DWORD
CertGetStoreProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertGetSubjectCertificateFromStore PROTO :DWORD,:DWORD,:DWORD
CertGetValidUsages PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertIsRDNAttrsInCertificateName PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertIsValidCRLForCertificate PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertNameToStrA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertNameToStr equ <CertNameToStrA>

CertNameToStrW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertOIDToAlgId PROTO :DWORD
CertOpenStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertOpenSystemStoreA PROTO :DWORD,:DWORD
CertOpenSystemStore equ <CertOpenSystemStoreA>

CertOpenSystemStoreW PROTO :DWORD,:DWORD
CertRDNValueToStrA PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertRDNValueToStr equ <CertRDNValueToStrA>

CertRDNValueToStrW PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertRegisterPhysicalStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertRegisterSystemStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertRemoveEnhancedKeyUsageIdentifier PROTO :DWORD,:DWORD
CertRemoveStoreFromCollection PROTO :DWORD,:DWORD
CertResyncCertificateChainEngine PROTO :DWORD
CertSaveStore PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertSerializeCRLStoreElement PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertSerializeCTLStoreElement PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertSerializeCertificateStoreElement PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertSetCRLContextProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertSetCTLContextProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertSetCertificateContextPropertiesFromCTLEntry PROTO :DWORD,:DWORD,:DWORD
CertSetCertificateContextProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertSetEnhancedKeyUsage PROTO :DWORD,:DWORD
CertSetStoreProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertStrToNameA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertStrToName equ <CertStrToNameA>

CertStrToNameW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertUnregisterPhysicalStore PROTO :DWORD,:DWORD,:DWORD
CertUnregisterSystemStore PROTO :DWORD,:DWORD
CertVerifyCRLRevocation PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertVerifyCRLTimeValidity PROTO :DWORD,:DWORD
CertVerifyCTLUsage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertVerifyCertificateChainPolicy PROTO :DWORD,:DWORD,:DWORD,:DWORD
CertVerifyRevocation PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CertVerifySubjectCertificateContext PROTO :DWORD,:DWORD,:DWORD
CertVerifyTimeValidity PROTO :DWORD,:DWORD
CertVerifyValidityNesting PROTO :DWORD,:DWORD
CryptAcquireCertificatePrivateKey PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptBinaryToStringA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptBinaryToString equ <CryptBinaryToStringA>

CryptBinaryToStringW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptCloseAsyncHandle PROTO :DWORD
CryptCreateAsyncHandle PROTO :DWORD,:DWORD
CryptCreateKeyIdentifierFromCSP PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptDecodeMessage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptDecodeObject PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptDecodeObjectEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptDecryptAndVerifyMessageSignature PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptDecryptMessage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptEncodeObject PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptEncodeObjectEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptEncryptMessage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptEnumKeyIdentifierProperties PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptEnumOIDFunction PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptEnumOIDInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptExportPKCS8 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptExportPublicKeyInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptExportPublicKeyInfoEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptFindCertificateKeyProvInfo PROTO :DWORD,:DWORD,:DWORD
CryptFindLocalizedName PROTO :DWORD
CryptFindOIDInfo PROTO :DWORD,:DWORD,:DWORD
CryptFormatObject PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptFreeOIDFunctionAddress PROTO :DWORD,:DWORD
CryptGetAsyncParam PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptGetDefaultOIDDllList PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptGetDefaultOIDFunctionAddress PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptGetKeyIdentifierProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptGetMessageCertificates PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptGetMessageSignerCount PROTO :DWORD,:DWORD,:DWORD
CryptGetOIDFunctionAddress PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptGetOIDFunctionValue PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptHashCertificate PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptHashMessage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptHashPublicKeyInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptHashToBeSigned PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptImportPKCS8 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptImportPublicKeyInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptImportPublicKeyInfoEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptInitOIDFunctionSet PROTO :DWORD,:DWORD
CryptInstallDefaultContext PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptInstallOIDFunctionAddress PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptLoadSip PROTO :DWORD,:DWORD,:DWORD
CryptMemAlloc PROTO :DWORD
CryptMemFree PROTO :DWORD
CryptMemRealloc PROTO :DWORD,:DWORD
CryptMsgCalculateEncodedLength PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptMsgClose PROTO :DWORD
CryptMsgControl PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptMsgCountersign PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptMsgCountersignEncoded PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptMsgDuplicate PROTO :DWORD
CryptMsgEncodeAndSignCTL PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptMsgGetAndVerifySigner PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptMsgGetParam PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptMsgOpenToDecode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptMsgOpenToEncode PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptMsgSignCTL PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptMsgUpdate PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptMsgVerifyCountersignatureEncoded PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptMsgVerifyCountersignatureEncodedEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptProtectData PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptQueryObject PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptRegisterDefaultOIDFunction PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptRegisterOIDFunction PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptRegisterOIDInfo PROTO :DWORD,:DWORD
CryptSIPAddProvider PROTO :DWORD
CryptSIPCreateIndirectData PROTO :DWORD,:DWORD,:DWORD
CryptSIPGetSignedDataMsg PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSIPLoad PROTO :DWORD,:DWORD,:DWORD
CryptSIPPutSignedDataMsg PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSIPRemoveProvider PROTO :DWORD
CryptSIPRemoveSignedDataMsg PROTO :DWORD,:DWORD
CryptSIPRetrieveSubjectGuid PROTO :DWORD,:DWORD,:DWORD
CryptSIPRetrieveSubjectGuidForCatalogFile PROTO :DWORD,:DWORD,:DWORD
CryptSIPVerifyIndirectData PROTO :DWORD,:DWORD
CryptSetAsyncParam PROTO :DWORD,:DWORD,:DWORD,:DWORD
CryptSetKeyIdentifierProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSetOIDFunctionValue PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSignAndEncodeCertificate PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSignAndEncryptMessage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSignCertificate PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSignMessage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptSignMessageWithKey PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptStringToBinaryA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptStringToBinary equ <CryptStringToBinaryA>

CryptStringToBinaryW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptUninstallDefaultContext PROTO :DWORD,:DWORD,:DWORD
CryptUnprotectData PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptUnregisterDefaultOIDFunction PROTO :DWORD,:DWORD,:DWORD
CryptUnregisterOIDFunction PROTO :DWORD,:DWORD,:DWORD
CryptUnregisterOIDInfo PROTO :DWORD
CryptVerifyCertificateSignature PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptVerifyCertificateSignatureEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptVerifyDetachedMessageHash PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptVerifyDetachedMessageSignature PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptVerifyMessageHash PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptVerifyMessageSignature PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CryptVerifyMessageSignatureWithKey PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DbgInitOSS PROTO :DWORD
PFXExportCertStore PROTO :DWORD,:DWORD,:DWORD,:DWORD
PFXExportCertStoreEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PFXImportCertStore PROTO :DWORD,:DWORD,:DWORD
PFXIsPFXBlob PROTO :DWORD
PFXVerifyPassword PROTO :DWORD,:DWORD,:DWORD

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