cryptui: Add a stub implementation of CryptUIDlgViewCertificateW.

Hans Leidekker hans at codeweavers.com
Thu Sep 11 04:47:14 CDT 2008


Google Chrome calls this function.

 -Hans

diff --git a/dlls/cryptui/cryptui.spec b/dlls/cryptui/cryptui.spec
index b023ed2..ad5cb4b 100644
--- a/dlls/cryptui/cryptui.spec
+++ b/dlls/cryptui/cryptui.spec
@@ -14,7 +14,7 @@
 14 stub CryptUIDlgViewCertificateA
 15 stub CryptUIDlgViewCertificatePropertiesA
 16 stub CryptUIDlgViewCertificatePropertiesW
-17 stub CryptUIDlgViewCertificateW
+17 stdcall CryptUIDlgViewCertificateW(ptr ptr)
 18 stub CryptUIDlgViewContext
 19 stub CryptUIDlgViewSignerInfoA
 20 stub CryptUIDlgViewSignerInfoW
diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c
index 8784915..4bf456a 100644
--- a/dlls/cryptui/main.c
+++ b/dlls/cryptui/main.c
@@ -55,3 +55,11 @@ BOOL WINAPI CryptUIDlgCertMgr(PCCRYPTUI_CERT_MGR_STRUCT pCryptUICertMgr)
     FIXME("(%p): stub\n", pCryptUICertMgr);
     return FALSE;
 }
+
+BOOL WINAPI CryptUIDlgViewCertificateW(PCCRYPTUI_VIEWCERTIFICATE_STRUCTW pCertViewInfo,
+                                       BOOL *pfPropertiesChanged)
+{
+    FIXME("(%p, %p): stub\n", pCertViewInfo, pfPropertiesChanged);
+    if (pfPropertiesChanged) *pfPropertiesChanged = FALSE;
+    return TRUE;
+}



More information about the wine-patches mailing list