Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CertStoreProvSetCertPropertyCallback callback function

An application-defined callback function that is called by CertSetCertificateContextProperty before setting the certificate's property. It is also called by CertGetCertificateContextProperty when getting a hash property that needs to be created and then persisted through the set.

Upon input, the property has not been set for the pCertContext parameter.

Syntax


BOOL WINAPI CertStoreProvSetCertPropertyCallback(
  _In_  HCERTSTOREPROV hStoreProv,
  _In_  PCCERT_CONTEXT pCertContext,
  _In_  DWORD dwPropId,
  _In_  DWORD dwFlags,
  _In_  const void *pvData
);

typedef void (*PFN_CERT_STORE_PROV_SET_CERT_PROPERTY)();

Parameters

hStoreProv [in]

Provider-specific value returned in CERT_STORE_PROV_INFO by CertDllOpenStoreProv.

pCertContext [in]

See CertSetCertificateContextProperty.

dwPropId [in]

See CertSetCertificateContextProperty.

dwFlags [in]

Copy of the dwFlags passed as a parameter to CertSetCertificateContextProperty.

pvData [in]

See CertSetCertificateContextProperty.

Return value

Returns TRUE if it is okay to set the property.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

See also

Callback Functions
CERT_STORE_PROV_INFO
CertDllOpenStoreProv
CertGetCertificateContextProperty
CertSetCertificateContextProperty

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.