diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index cf85e7b630c..c7c3c8d824c 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 7e5a08060c7..388821b17fc 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 eb0cd16994f..8ae00d61a8b 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,