Juan Lang : crypt32: Add stub for CryptMsgGetAndVerifySigner.

Alexandre Julliard julliard at winehq.org
Mon Aug 18 10:46:36 CDT 2008


Module: wine
Branch: master
Commit: 35b126a0330594ecf2d2f7983acfc93175594419
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=35b126a0330594ecf2d2f7983acfc93175594419

Author: Juan Lang <juan.lang at gmail.com>
Date:   Mon Aug  4 22:13:56 2008 -0700

crypt32: Add stub for CryptMsgGetAndVerifySigner.

---

 dlls/crypt32/crypt32.spec |    2 +-
 dlls/crypt32/msg.c        |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index a5ef37d..485421f 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -148,7 +148,7 @@
 @ stub CryptMsgCountersignEncoded
 @ stdcall CryptMsgDuplicate(ptr)
 @ stub CryptMsgEncodeAndSignCTL
-@ stub CryptMsgGetAndVerifySigner
+@ stdcall CryptMsgGetAndVerifySigner(ptr long ptr long ptr ptr)
 @ stdcall CryptMsgGetParam(ptr long long ptr ptr)
 @ stdcall CryptMsgOpenToDecode(long long long long ptr ptr)
 @ stdcall CryptMsgOpenToEncode(long long long ptr str ptr)
diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c
index 4571607..1ad6a96 100644
--- a/dlls/crypt32/msg.c
+++ b/dlls/crypt32/msg.c
@@ -2445,3 +2445,13 @@ BOOL WINAPI CryptMsgControl(HCRYPTMSG hCryptMsg, DWORD dwFlags,
      pvCtrlPara);
     return msg->control(hCryptMsg, dwFlags, dwCtrlType, pvCtrlPara);
 }
+
+BOOL WINAPI CryptMsgGetAndVerifySigner(HCRYPTMSG hCryptMsg, DWORD cSignerStore,
+ HCERTSTORE *rghSignerStore, DWORD dwFlags, PCCERT_CONTEXT *ppSigner,
+ DWORD *pdwSignerIndex)
+{
+    FIXME("(%p, %d, %p, %08x, %p, %p): stub\n", hCryptMsg, cSignerStore,
+     rghSignerStore, dwFlags, ppSigner, pdwSignerIndex);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}




More information about the wine-cvs mailing list