PFN_CERT_ENUM_SYSTEM_STORE_LOCATION callback function (wincrypt.h)

The CertEnumSystemStoreLocationCallback callback function formats and presents information on each system store location found by a call to CertEnumSystemStoreLocation.

Syntax

PFN_CERT_ENUM_SYSTEM_STORE_LOCATION PfnCertEnumSystemStoreLocation;

BOOL PfnCertEnumSystemStoreLocation(
  [in] LPCWSTR pwszStoreLocation,
  [in] DWORD dwFlags,
  [in] void *pvReserved,
  [in] void *pvArg
)
{...}

Parameters

[in] pwszStoreLocation

String that contains information on the store location found.

[in] dwFlags

Flag used to call for an alteration of the presentation.

[in] pvReserved

Reserved for future use.

[in] pvArg

A pointer to information passed to the callback function in the pvArg passed to CertEnumSystemStoreLocation.

Return value

If the function succeeds, the function returns TRUE.

If the function fails, it 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