CERT_SYSTEM_STORE_RELOCATE_PARA (Compact 2013)

3/28/2014

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

Syntax

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

None.

Requirements

Header

wincrypt.h

See Also

Reference

Cryptography Structures
CertOpenStore