cryptui: add CryptUIDlgSelectCertificateFromStore stub

Austin English austinenglish at gmail.com
Thu Feb 5 16:24:00 CST 2015


For https://bugs.winehq.org/show_bug.cgi?id=37250

-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150205/b2468f72/attachment.html>
-------------- next part --------------
diff --git a/dlls/cryptui/cryptui.spec b/dlls/cryptui/cryptui.spec
index bce5de0..c4b579a 100644
--- a/dlls/cryptui/cryptui.spec
+++ b/dlls/cryptui/cryptui.spec
@@ -3,7 +3,7 @@
 3 stub CryptUIDlgFreeCAContext
 4 stub CryptUIDlgSelectCA
 5 stdcall CryptUIDlgSelectCertificateA(ptr)
-6 stub CryptUIDlgSelectCertificateFromStore
+6 stdcall CryptUIDlgSelectCertificateFromStore(ptr ptr wstr wstr long long ptr)
 7 stdcall CryptUIDlgSelectCertificateW(ptr)
 8 stdcall CryptUIDlgSelectStoreA(ptr)
 9 stdcall CryptUIDlgSelectStoreW(ptr)
diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c
index 0aea379..9f76456 100644
--- a/dlls/cryptui/main.c
+++ b/dlls/cryptui/main.c
@@ -7049,3 +7049,11 @@ PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateA(PCCRYPTUI_SELECTCERTIFICATE_S
     FIXME("%p: stub\n", pcsc);
     return NULL;
 }
+
+PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateFromStore(HCERTSTORE hCertStore, HWND hwnd, LPCWSTR pwszTitle,
+                                                           LPCWSTR pwszDisplayString, DWORD dwDontUseColumn,
+                                                           DWORD dwFlags, void *pvReserved)
+{
+    FIXME("%p %p %s %s %d %d %p: stub\n", hCertStore, hwnd, debugstr_w(pwszTitle), debugstr_w(pwszDisplayString), dwDontUseColumn, dwFlags, pvReserved);
+    return NULL;
+}


More information about the wine-patches mailing list