Mike McCormack : wintrust:
Use the definition of WINTRUST_ACTION_GENERIC_VERIFY_V2 in softpub.h.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Mar 22 04:56:17 CST 2006
Module: wine
Branch: refs/heads/master
Commit: ee069f24ba2182a7447044834b4c08c1a8eea601
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ee069f24ba2182a7447044834b4c08c1a8eea601
Author: Mike McCormack <mike at codeweavers.com>
Date: Wed Mar 22 13:46:02 2006 +0900
wintrust: Use the definition of WINTRUST_ACTION_GENERIC_VERIFY_V2 in softpub.h.
---
dlls/wintrust/wintrust_main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/wintrust/wintrust_main.c b/dlls/wintrust/wintrust_main.c
index 09ddfed..044722c 100644
--- a/dlls/wintrust/wintrust_main.c
+++ b/dlls/wintrust/wintrust_main.c
@@ -25,6 +25,7 @@
#include "winerror.h"
#include "guiddef.h"
#include "wintrust.h"
+#include "softpub.h"
#include "mscat.h"
#include "objbase.h"
@@ -86,8 +87,7 @@ BOOL WINAPI CryptCATAdminReleaseContext(
*/
LONG WINAPI WinVerifyTrust( HWND hwnd, GUID *ActionID, WINTRUST_DATA* ActionData )
{
- static const GUID WINTRUST_ACTION_GENERIC_VERIFY_V2 = { 0xaac56b, 0xcd44, 0x11d0,
- { 0x8c,0xc2,0x00,0xc0,0x4f,0xc2,0x95,0xee }};
+ static const GUID gen_verify_v2 = WINTRUST_ACTION_GENERIC_VERIFY_V2;
FIXME("%p %s %p\n", hwnd, debugstr_guid(ActionID), ActionData);
@@ -104,7 +104,7 @@ LONG WINAPI WinVerifyTrust( HWND hwnd, G
*
*/
- if (IsEqualCLSID(ActionID, &WINTRUST_ACTION_GENERIC_VERIFY_V2))
+ if (IsEqualCLSID(ActionID, &gen_verify_v2))
return TRUST_E_PROVIDER_UNKNOWN;
return ERROR_SUCCESS;
More information about the wine-cvs
mailing list