Hans Leidekker : crypt32: Add a stub implementation of CertUnregisterPhysicalStore.
Alexandre Julliard
julliard at winehq.org
Tue Jan 23 16:09:49 CST 2018
Module: wine
Branch: master
Commit: 9bafbe10861149b117104f748c329b21eee97bac
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9bafbe10861149b117104f748c329b21eee97bac
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Jan 23 09:43:49 2018 +0100
crypt32: Add a stub implementation of CertUnregisterPhysicalStore.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/crypt32/crypt32.spec | 1 +
dlls/crypt32/store.c | 7 +++++++
include/wincrypt.h | 3 +++
3 files changed, 11 insertions(+)
diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index 00a2d62..fc0955e 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -92,6 +92,7 @@
@ stdcall CertSetStoreProperty(ptr long long ptr)
@ stdcall CertStrToNameA(long str long ptr ptr ptr ptr)
@ stdcall CertStrToNameW(long wstr long ptr ptr ptr ptr)
+@ stdcall CertUnregisterPhysicalStore(ptr long wstr)
@ stdcall CertUnregisterSystemStore(ptr long)
@ stdcall CertVerifyCRLRevocation(long ptr long ptr)
@ stdcall CertVerifyCRLTimeValidity(ptr ptr)
diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c
index 19eca22..91a3cbc 100644
--- a/dlls/crypt32/store.c
+++ b/dlls/crypt32/store.c
@@ -1384,6 +1384,13 @@ BOOL WINAPI CertRegisterPhysicalStore(const void *pvSystemStore, DWORD dwFlags,
return FALSE;
}
+BOOL WINAPI CertUnregisterPhysicalStore(const void *pvSystemStore, DWORD dwFlags,
+ LPCWSTR pwszStoreName)
+{
+ FIXME("(%p, %08x, %s): stub\n", pvSystemStore, dwFlags, debugstr_w(pwszStoreName));
+ return TRUE;
+}
+
BOOL WINAPI CertRegisterSystemStore(const void *pvSystemStore, DWORD dwFlags,
PCERT_SYSTEM_STORE_INFO pStoreInfo, void *pvReserved)
{
diff --git a/include/wincrypt.h b/include/wincrypt.h
index 83db673..6986bd8 100644
--- a/include/wincrypt.h
+++ b/include/wincrypt.h
@@ -4090,6 +4090,9 @@ BOOL WINAPI CertEnumPhysicalStore(const void *pvSystemStore, DWORD dwFlags,
BOOL WINAPI CertRegisterPhysicalStore(const void *pvSystemStore, DWORD dwFlags,
LPCWSTR pwszStoreName, PCERT_PHYSICAL_STORE_INFO pStoreInfo, void *pvReserved);
+BOOL WINAPI CertUnregisterPhysicalStore(const void *pvSystemStore, DWORD dwFlags,
+ LPCWSTR pwszStoreName);
+
BOOL WINAPI CertSaveStore(HCERTSTORE hCertStore, DWORD dwMsgAndCertEncodingType,
DWORD dwSaveAs, DWORD dwSaveTo, void* pvSaveToPara, DWORD dwFlags);
More information about the wine-cvs
mailing list