[PATCH 1/2] include: Add CertRegisterSystemStore and CertUnregisterSystemStore

Alex Henrie alexhenrie24 at gmail.com
Tue Jan 30 12:08:14 CST 2018


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 dlls/crypt32/store.c | 2 +-
 include/wincrypt.h   | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c
index 91a3cbc0dc..bc4ebde5f6 100644
--- a/dlls/crypt32/store.c
+++ b/dlls/crypt32/store.c
@@ -1414,7 +1414,7 @@ BOOL WINAPI CertRegisterSystemStore(const void *pvSystemStore, DWORD dwFlags,
     return FALSE;
 }
 
-BOOL WINAPI CertUnregisterSystemStore(void *pvSystemStore, DWORD dwFlags)
+BOOL WINAPI CertUnregisterSystemStore(const void *pvSystemStore, DWORD dwFlags)
 {
     HCERTSTORE hstore;
 
diff --git a/include/wincrypt.h b/include/wincrypt.h
index 6986bd819e..a793e8ad22 100644
--- a/include/wincrypt.h
+++ b/include/wincrypt.h
@@ -4084,6 +4084,11 @@ BOOL WINAPI CertEnumSystemStoreLocation(DWORD dwFlags, void *pvArg,
 BOOL WINAPI CertEnumSystemStore(DWORD dwFlags, void *pvSystemStoreLocationPara,
  void *pvArg, PFN_CERT_ENUM_SYSTEM_STORE pfnEnum);
 
+BOOL WINAPI CertRegisterSystemStore(const void *store, DWORD flags,
+ CERT_SYSTEM_STORE_INFO *info, void *reserved);
+
+BOOL WINAPI CertUnregisterSystemStore(const void *store, DWORD flags);
+
 BOOL WINAPI CertEnumPhysicalStore(const void *pvSystemStore, DWORD dwFlags,
  void *pvArg, PFN_CERT_ENUM_PHYSICAL_STORE pfnEnum);
 
-- 
2.16.1




More information about the wine-devel mailing list