Expand Minimize

CertEnumSystemStoreCallback callback function

The CertEnumSystemStoreCallback callback function formats and presents information on each system store found by a call to CertEnumSystemStore.

Syntax


BOOL WINAPI CertEnumSystemStoreCallback(
  _In_  const void *pvSystemStore,
  _In_  DWORD dwFlags,
  _In_  PCERT_SYSTEM_STORE_INFO pStoreInfo,
  _In_  void *pvReserved,
  _In_  void *pvArg
);

typedef void (WINAPI *PFN_CERT_ENUM_SYSTEM_STORE)();

Parameters

pvSystemStore [in]

A pointer to information on the system store found by a call to CertEnumSystemStore. Where appropriate, this argument will contain a leading computer name or service name prefix.

dwFlags [in]

Flag used to call for an alteration of the presentation. This can be a bitwise OR of the following values.

ValueMeaning
CERT_SYSTEM_STORE_LOCATION_MASK

Specifies the location of the system store.

CERT_SYSTEM_STORE_RELOCATE_FLAG

If set, the pvSystemStore parameter points to a CERT_SYSTEM_STORE_RELOCATE_PARA structure. If not set, pvSystemStore points to a NULL-terminated Unicode string.

 

pStoreInfo [in]

A pointer to a CERT_SYSTEM_STORE_INFO structure that contains information about the store.

pvReserved [in]

Reserved for future use.

pvArg [in]

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

Return value

If the function succeeds, the function returns TRUE.

To stop the enumeration, the function must return FALSE.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.