Alex Henrie : include: Add CertRegisterSystemStore and CertUnregisterSystemStore.
Alexandre Julliard
julliard at winehq.org
Thu Feb 1 16:14:53 CST 2018
Module: wine
Branch: master
Commit: f0da42f7f622958b6954a1d94bcab9f30847383a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f0da42f7f622958b6954a1d94bcab9f30847383a
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Tue Jan 30 11:08:14 2018 -0700
include: Add CertRegisterSystemStore and CertUnregisterSystemStore.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 91a3cbc..bc4ebde 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 d688567..6e71fb9 100644
--- a/include/wincrypt.h
+++ b/include/wincrypt.h
@@ -4087,6 +4087,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);
More information about the wine-cvs
mailing list