PFN_CERT_STORE_PROV_DELETE_CERT callback function (wincrypt.h)

An application-defined callback function that is called by CertDeleteCertificateFromStore before deleting a certificate from the store.

Syntax

PFN_CERT_STORE_PROV_DELETE_CERT PfnCertStoreProvDeleteCert;

BOOL PfnCertStoreProvDeleteCert(
  [in] HCERTSTOREPROV hStoreProv,
  [in] PCCERT_CONTEXT pCertContext,
  [in] DWORD dwFlags
)
{...}

Parameters

[in] hStoreProv

Provider-specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.

[in] pCertContext

A pointer to the certificate context to be deleted.

[in] dwFlags

Reserved for future use and is set to zero.

Return value

Returns TRUE if it is okay to delete the certificate from the store. Otherwise, returns FALSE.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wincrypt.h

See also

Callback Functions