[This is preliminary documentation and subject to change.]
The CertEnumSystemStoreLocation function enumerates all of the locations that have an available system store.
#include <wincrypt.h>
BOOL WINAPI CertEnumSystemStoreLocation(
DWORD dwFlags, //in
void *pvArg, //in
PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum //in
);
BOOL WINAPI CertEnumStoreLocationCallback(
const void *pvSystemStore, // in
DWORD dwFlags, // in
PCERT_SYSTEM_STORE_INFO pStoreInfo, // in
void *pvReserved, // in, optional
void *pvArg // in, optional
);
The pvArg passed to the callback function is the pvArg pointer passed to CertEnumSystemStoreLocation.
TRUE if the function succeeded. FALSE if the function failed.
Call GetLastError to see the reason for any failures.
To use CertEnumSystemStoreLocation, an application must declare and define the ENUM_ARG data structure and an enumeration callback function.
See Example Code for Listing System and Physical Stores.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in wincrypt.h.
Import Library: Use crypt32.lib.
CertRegisterSystemStore, CertRegisterPhysicalStore, CertUnregisterSystemStore, CertUnregisterPhysicalStore, CertEnumPhysicalStore, CertEnumSystemStore