Skip to content

Latest commit

 

History

History
115 lines (74 loc) · 4.07 KB

nc-wincrypt-pfn_cert_store_prov_write_cert.md

File metadata and controls

115 lines (74 loc) · 4.07 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NC:wincrypt.PFN_CERT_STORE_PROV_WRITE_CERT
PFN_CERT_STORE_PROV_WRITE_CERT (wincrypt.h)
An application-defined callback function that is called by CertAddEncodedCertificateToStore, CertAddCertificateContextToStore and CertAddSerializedElementToStore before adding to the store.
CertStoreProvWriteCertCallback
PFN_CERT_STORE_PROV_WRITE_CERT
PFN_CERT_STORE_PROV_WRITE_CERT callback
PFN_CERT_STORE_PROV_WRITE_CERT callback function [Security]
_crypto2_certstoreprovwritecertcallback
security.certstoreprovwritecertcallback
wincrypt/PFN_CERT_STORE_PROV_WRITE_CERT
security\certstoreprovwritecertcallback.htm
security
97cc488a-7993-4b48-a4b4-cb13c6168226
12/05/2018
CertStoreProvWriteCertCallback, PFN_CERT_STORE_PROV_WRITE_CERT, PFN_CERT_STORE_PROV_WRITE_CERT callback, PFN_CERT_STORE_PROV_WRITE_CERT callback function [Security], _crypto2_certstoreprovwritecertcallback, security.certstoreprovwritecertcallback, wincrypt/PFN_CERT_STORE_PROV_WRITE_CERT
wincrypt.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
PFN_CERT_STORE_PROV_WRITE_CERT
wincrypt/PFN_CERT_STORE_PROV_WRITE_CERT
c++
APIRef
kbSyntax
UserDefined
Wincrypt.h
PFN_CERT_STORE_PROV_WRITE_CERT

PFN_CERT_STORE_PROV_WRITE_CERT callback function

-description

An application-defined callback function that is called by CertAddEncodedCertificateToStore, CertAddCertificateContextToStore and CertAddSerializedElementToStore before adding to the store. In addition to the encoded certificate, the added pCertContext might also have properties.

-parameters

-param hStoreProv [in]

Provider specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.

-param pCertContext [in]

See CertAddCertificateContextToStore.

-param dwFlags [in]

CERT_STORE_PROV_WRITE_ADD_FLAG is set when this function is called by the following functions that add a certificate to the store:

CertAddEncodedCertificateToStore

CertAddCertificateContextToStore

CertAddSerializedElementToStore

-returns

Returns TRUE if it is okay to update the store.

-see-also

CERT_STORE_PROV_INFO

Callback Functions

CertAddCertificateContextToStore

CertAddEncodedCertificateToStore

CertAddSerializedElementToStore

CertDllOpenStoreProv