Expand Minimize

CertEnumSystemStoreLocation function

The CertEnumSystemStoreLocation function retrieves all of the system store locations. The function calls the provided callback function for each system store location found.

Syntax


BOOL WINAPI CertEnumSystemStoreLocation(
  _In_  DWORD dwFlags,
  _In_  void *pvArg,
  _In_  PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum
);

Parameters

dwFlags [in]

Reserved for future use; must be zero.

pvArg [in]

A pointer to a void that allows the application to declare, define, and initialize a structure to hold any information to be passed to the callback enumeration function.

pfnEnum [in]

A pointer to the callback function used to show the details for each store location. This callback function determines the content and format for the presentation of information on each store location. For the signature and parameters of the callback function, see CertEnumSystemStoreLocationCallback.

Return value

If the function succeeds, the function returns TRUE.

If the function fails, it returns FALSE.

Remarks

To use CertEnumSystemStoreLocation, an application must declare and define the ENUM_ARG structure and an enumeration callback function.

Examples

For an example that uses this function, see Example C Program: Listing System and Physical Stores.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

Library

Crypt32.lib

DLL

Crypt32.dll

See also

Certificate Store Functions
CertEnumPhysicalStore
CertEnumSystemStore
CertRegisterPhysicalStore
CertRegisterSystemStore
CertUnregisterPhysicalStore
CertUnregisterSystemStore

 

 

Community Additions

ADD
Show:
© 2014 Microsoft