From a89db155d8aa9e70216ee8baae921deca653a8a0 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Wed, 13 Sep 2006 17:11:24 -0700 Subject: [PATCH] wintrust: Add a stub implementation of CryptCATOpen. --- dlls/wintrust/Makefile.in | 1 + dlls/wintrust/crypt.c | 40 ++++++++++++++++++++++++++++++++++++++++ dlls/wintrust/wintrust.spec | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 dlls/wintrust/crypt.c diff --git a/dlls/wintrust/Makefile.in b/dlls/wintrust/Makefile.in index 92085f4d958..d547dc49475 100644 --- a/dlls/wintrust/Makefile.in +++ b/dlls/wintrust/Makefile.in @@ -7,6 +7,7 @@ IMPORTLIB = libwintrust.$(IMPLIBEXT) IMPORTS = crypt32 user32 advapi32 kernel32 C_SRCS = \ + crypt.c \ register.c \ wintrust_main.c diff --git a/dlls/wintrust/crypt.c b/dlls/wintrust/crypt.c new file mode 100644 index 00000000000..0e912631c1f --- /dev/null +++ b/dlls/wintrust/crypt.c @@ -0,0 +1,40 @@ +/* + * WinTrust Cryptography functions + * + * Copyright 2006 James Hawkins + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include + +#include "windef.h" +#include "winbase.h" +#include "wintrust.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(wintrust); + +/*********************************************************************** + * CryptCATOpen (WINTRUST.@) + */ +HANDLE WINAPI CryptCATOpen(LPWSTR pwszFileName, DWORD fdwOpenFlags, HCRYPTPROV hProv, + DWORD dwPublicVersion, DWORD dwEncodingType) +{ + FIXME("(%s, %ld, %ld, %ld, %ld) stub\n", debugstr_w(pwszFileName), fdwOpenFlags, + hProv, dwPublicVersion, dwEncodingType); + return 0; +} diff --git a/dlls/wintrust/wintrust.spec b/dlls/wintrust/wintrust.spec index 5335605ff6c..eb3c9bb0b0b 100644 --- a/dlls/wintrust/wintrust.spec +++ b/dlls/wintrust/wintrust.spec @@ -26,7 +26,7 @@ @ stub CryptCATGetCatAttrInfo @ stub CryptCATGetMemberInfo @ stub CryptCATHandleFromStore -@ stub CryptCATOpen +@ stdcall CryptCATOpen(wstr long long long long) @ stub CryptCATPersistStore @ stub CryptCATPutAttrInfo @ stub CryptCATPutCatAttrInfo -- 2.11.4.GIT