PFN_CERT_STORE_PROV_WRITE_CTL fonction de rappel (wincrypt.h)

La fonction de rappel CertStoreProvWriteCTL peut être appelée par CertAddEncodedCTLToStore, CertAddCTLContextToStore ou CertAddSerializedElementToStore avant l’ajout d’une CTL au magasin.

Syntaxe

PFN_CERT_STORE_PROV_WRITE_CTL PfnCertStoreProvWriteCtl;

BOOL PfnCertStoreProvWriteCtl(
  [in] HCERTSTOREPROV hStoreProv,
  [in] PCCTL_CONTEXT pCtlContext,
  [in] DWORD dwFlags
)
{...}

Paramètres

[in] hStoreProv

Gestion HCERTSTOREPROV dans un magasin de certificats.

[in] pCtlContext

Pointeur vers une structure CTL_CONTEXT .

[in] dwFlags

Toutes les valeurs d’indicateur nécessaires.

Valeur retournée

Retourne TRUE si des éléments peuvent être ajoutés au magasin.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows XP [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2003 [applications de bureau uniquement]
Plateforme cible Windows
En-tête wincrypt.h

Voir aussi

CTL_CONTEXT

CertAddCTLContextToStore

CertAddEncodedCTLToStore

CertAddSerializedElementToStore