PFN_CERT_STORE_PROV_CONTROL callback function (wincrypt.h)

The CertStoreProvControl callback function supports the CertControlStore API. All of the API's parameters are passed straight through to the callback. For details, see CertControlStore.

Syntax

PFN_CERT_STORE_PROV_CONTROL PfnCertStoreProvControl;

BOOL PfnCertStoreProvControl(
  [in, out]      HCERTSTOREPROV hStoreProv,
  [in]           DWORD dwFlags,
  [in]           DWORD dwCtrlType,
  [in, optional] void const *pvCtrlPara
)
{...}

Parameters

[in, out] hStoreProv

HCERTSTOREPROV handle to a certificate store passed from the call to CertControlStore.

[in] dwFlags

Passed from the call to CertControlStore.

[in] dwCtrlType

Control action to be taken. Passed from the call to CertControlStore.

[in, optional] pvCtrlPara

A pointer to a buffer whose structure and content is determined by the values of dwFlags and dwCtrlType. Passed from the call to CertControlStore.

Return value

Returns TRUE if the function succeeds or FALSE if it fails.

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