Share via


CERT_SYSTEM_STORE_RELOCATE_PARA

This structure contains data to be passed to the CertOpenStore function when that function's dwFlags parameter is set to CERT_SYSTEM_STORE_RELOCATE_FLAG. It allows the application to specify not only the name of the store to be opened, but also registry hKey information indicating a registry location other than the default location.

typedef struct _CERT_SYSTEM_STORE_RELOCATE_PARA {
union {
   HKEY hKeyBase;
   void *pvBase;
   };
union {
   void *pvSystemStore;
   LPCSTR pszSystemStore;
   LPCWSTR pwszSystemStore;
   };
} CERT_SYSTEM_STORE_RELOCATE_PARA,  *PCERT_SYSTEM_STORE_RELOCATE_PARA;

Members

  • hKeyBase
    Handle to the registry hKey.
  • pvBase
    Pointer to a void to allow the system store location's base to be passed in a number of different forms.
  • pvSystemStore
    Pointer to a void to allow the name of the system store to be passed in various forms.
  • pszSystemStore
    A NULL-terminated ASCII string that names the system store.
  • pwszSystemStore
    A NULL-terminated Unicode string that names the system store.

Remarks

The relocate capability is used to access system stores persisted in the group policy template (GPT). For example, the Group Policy Editor's MMC snap-in extension for managing group policy trust lists and certificates uses the GPT's base HKEY to call the CertOpenStore function.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CertOpenStore

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.