From c27526743bcdffd9449d68f3ccb735037b0029f4 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 13 Feb 2006 13:22:25 +0100 Subject: [PATCH] crypt32: Add a stub for CryptQueryObject. --- dlls/crypt32/crypt32.spec | 1 + dlls/crypt32/main.c | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index 34973e55c7d..6a0b2d6a453 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 7a9c6f1edfd..4a7de5f0bc0 100644 --- a/dlls/crypt32/main.c +++ b/dlls/crypt32/main.c @@ -364,3 +364,16 @@ BOOL WINAPI I_CryptInstallOssGlobal(DWORD x, DWORD y, DWORD z) 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; +}