[PATCH] wintrust: Add a stub for OpenPersonalTrustDBDialog

Detlef Riekenberg wine.dev at web.de
Mon Sep 29 09:31:00 CDT 2008


---
 dlls/wintrust/softpub.c     |   21 +++++++++++++++++++++
 dlls/wintrust/wintrust.spec |    2 +-
 2 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/dlls/wintrust/softpub.c b/dlls/wintrust/softpub.c
index 52df73d..18ea6cb 100644
--- a/dlls/wintrust/softpub.c
+++ b/dlls/wintrust/softpub.c
@@ -24,6 +24,7 @@
 #include "wintrust.h"
 #include "mssip.h"
 #include "softpub.h"
+#include "winuser.h"
 #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
@@ -977,3 +978,23 @@ HRESULT WINAPI SoftpubCleanup(CRYPT_PROVIDER_DATA *data)
 
     return S_OK;
 }
+
+/* **********************************************************
+ * OpenPersonalTrustDBDialog (WINTRUST.@)
+ *
+ * A Dialog to manage trusted Software Publisher
+ *
+ * PARAMS
+ *  hwnd [I] HANDLE of parent window
+ *
+ * RETURNS
+ *  Success: TRUE (The Dialog was opened)
+ *  Failure: FALSE
+ *
+ */
+BOOL WINAPI OpenPersonalTrustDBDialog(HWND hwnd)
+{
+    FIXME("(%p) stub\n", hwnd);
+    return TRUE;
+}
+
diff --git a/dlls/wintrust/wintrust.spec b/dlls/wintrust/wintrust.spec
index 191e3d1..d3dbd54 100644
--- a/dlls/wintrust/wintrust.spec
+++ b/dlls/wintrust/wintrust.spec
@@ -55,7 +55,7 @@
 @ stub MsCatFreeHashTag
 @ stub OfficeCleanupPolicy
 @ stub OfficeInitializePolicy
-@ stub OpenPersonalTrustDBDialog
+@ stdcall OpenPersonalTrustDBDialog(long)
 @ stdcall SoftpubAuthenticode(ptr)
 @ stdcall SoftpubCheckCert(ptr long long long)
 @ stdcall SoftpubCleanup(ptr)
-- 
1.5.6.3


--=-------------12226988777789594338--



More information about the wine-patches mailing list