From 04ef3c05f17d7ee289553ddc2c937869dec61cb9 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 30 Jul 2007 12:07:19 -0700 Subject: [PATCH] crypt32: Add CryptMsgControl stub. --- dlls/crypt32/crypt32.spec | 2 +- dlls/crypt32/msg.c | 8 ++++++++ include/wincrypt.h | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index cf85e7b630..c7c3c8d824 100644 --- a/dlls/crypt32/crypt32.spec +++ b/dlls/crypt32/crypt32.spec @@ -141,7 +141,7 @@ @ stdcall CryptMemRealloc(ptr long) @ stub CryptMsgCalculateEncodedLength @ stdcall CryptMsgClose(ptr) -@ stub CryptMsgControl +@ stdcall CryptMsgControl(ptr long long ptr) @ stub CryptMsgCountersign @ stub CryptMsgCountersignEncoded @ stdcall CryptMsgDuplicate(ptr) diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index 7e5a08060c..388821b17f 100644 --- a/dlls/crypt32/msg.c +++ b/dlls/crypt32/msg.c @@ -1994,3 +1994,11 @@ BOOL WINAPI CryptMsgGetParam(HCRYPTMSG hCryptMsg, DWORD dwParamType, pvData, pcbData); return msg->get_param(hCryptMsg, dwParamType, dwIndex, pvData, pcbData); } + +BOOL WINAPI CryptMsgControl(HCRYPTMSG hCryptMsg, DWORD dwFlags, + DWORD dwCtrlType, const void *pvCtrlPara) +{ + FIXME("(%p, %08x, %d, %p): stub\n", hCryptMsg, dwFlags, dwCtrlType, + pvCtrlPara); + return TRUE; +} diff --git a/include/wincrypt.h b/include/wincrypt.h index eb0cd16994..8ae00d61a8 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -3822,7 +3822,7 @@ DWORD WINAPI CryptMsgCalculateEncodedLength(DWORD dwMsgEncodingType, BOOL WINAPI CryptMsgClose(HCRYPTMSG hCryptMsg); -DWORD WINAPI CryptMsgControl(HCRYPTMSG hCryptMsg, DWORD dwFlags, +BOOL WINAPI CryptMsgControl(HCRYPTMSG hCryptMsg, DWORD dwFlags, DWORD dwCtrlType, const void *pvCtrlPara); BOOL WINAPI CryptMsgCountersign(HCRYPTMSG hCryptMsg, DWORD dwIndex,