Hans Leidekker : crypt32: Add a stub for CryptQueryObject.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 13 07:03:23 CST 2006


Module: wine
Branch: refs/heads/master
Commit: c27526743bcdffd9449d68f3ccb735037b0029f4
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=c27526743bcdffd9449d68f3ccb735037b0029f4

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Mon Feb 13 13:22:25 2006 +0100

crypt32: Add a stub for CryptQueryObject.

---

 dlls/crypt32/crypt32.spec |    1 +
 dlls/crypt32/main.c       |   13 +++++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index 34973e5..6a0b2d6 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -137,6 +137,7 @@
 @ stub CryptMsgUpdate
 @ stub CryptMsgVerifyCountersignatureEncoded
 @ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
+@ stdcall CryptQueryObject(long ptr long long long ptr ptr ptr ptr ptr ptr)
 @ stdcall CryptRegisterDefaultOIDFunction(long str long wstr)
 @ stdcall CryptRegisterOIDFunction(long str str wstr str)
 @ stub CryptRegisterOIDInfo
diff --git a/dlls/crypt32/main.c b/dlls/crypt32/main.c
index 7a9c6f1..4a7de5f 100644
--- a/dlls/crypt32/main.c
+++ b/dlls/crypt32/main.c
@@ -364,3 +364,16 @@ BOOL WINAPI I_CryptInstallOssGlobal(DWOR
     FIXME("%08lx %08lx %08lx\n", x, y, z);
     return FALSE;
 }
+
+BOOL WINAPI CryptQueryObject(DWORD dwObjectType, const void* pvObject,
+    DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags,
+    DWORD dwFlags, DWORD* pdwMsgAndCertEncodingType, DWORD* pdwContentType,
+    DWORD* pdwFormatType, HCERTSTORE* phCertStore, HCRYPTMSG* phMsg,
+    const void** ppvContext)
+{
+    FIXME( "%08lx %p %08lx %08lx %08lx %p %p %p %p %p %p", dwObjectType,
+           pvObject, dwExpectedContentTypeFlags, dwExpectedFormatTypeFlags,
+           dwFlags, pdwMsgAndCertEncodingType, pdwContentType, pdwFormatType,
+           phCertStore, phMsg, ppvContext);
+    return FALSE;
+}




More information about the wine-cvs mailing list