CertEnumSystemStoreLocation (Compact 2013)

3/28/2014

This function retrieves the first or next system store location. Used in a loop, this function can retrieve in sequence all system store locations.

Syntax

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

Parameters

  • dwFlags
    [in] Reserved; must be set to 0 (zero).
  • pvArg
    [in] Pointer to a void allowing the application to declare, define, and initialize a structure to hold any information to be passed to the callback enumeration function.
  • pfnEnum
    [in] Pointer to the application-defined 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 details about the callback function, see PFN_CERT_ENUM_SYSTEM_STORE_LOCATION.

Return Value

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE.

Remarks

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

Requirements

Header

wincrypt.h

Library

crypt32.lib

See Also

Reference

Certificates Functions
CertEnumSystemStore