2 * WinTrust Cryptography functions
4 * Copyright 2006 James Hawkins
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
28 #include "wine/debug.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
32 /***********************************************************************
33 * CryptCATAdminAcquireContext (WINTRUST.@)
35 * Get a catalog administrator context handle.
38 * catAdmin [O] Pointer to the context handle.
39 * sysSystem [I] Pointer to a GUID for the needed subsystem.
40 * dwFlags [I] Reserved.
43 * Success: TRUE. catAdmin contains the context handle.
47 BOOL WINAPI CryptCATAdminAcquireContext(HCATADMIN* catAdmin,
48 const GUID *sysSystem, DWORD dwFlags )
50 FIXME("%p %s %lx\n", catAdmin, debugstr_guid(sysSystem), dwFlags);
51 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
55 /***********************************************************************
56 * CryptCATAdminCalcHashFromFileHandle (WINTRUST.@)
58 BOOL WINAPI CryptCATAdminCalcHashFromFileHandle(HANDLE hFile, DWORD* pcbHash,
59 BYTE* pbHash, DWORD dwFlags )
61 FIXME("%p %p %p %lx\n", hFile, pcbHash, pbHash, dwFlags);
62 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
66 /***********************************************************************
67 * CryptCATAdminEnumCatalogFromHash (WINTRUST.@)
69 HCATINFO WINAPI CryptCATAdminEnumCatalogFromHash(HCATADMIN hCatAdmin,
73 HCATINFO* phPrevCatInfo )
75 FIXME("%p %p %ld %ld %p\n", hCatAdmin, pbHash, cbHash, dwFlags, phPrevCatInfo);
76 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
80 /***********************************************************************
81 * CryptCATAdminReleaseContext (WINTRUST.@)
83 * Release a catalog administrator context handle.
86 * catAdmin [I] Pointer to the context handle.
87 * dwFlags [I] Reserved.
94 BOOL WINAPI CryptCATAdminReleaseContext(HCATADMIN hCatAdmin, DWORD dwFlags )
96 FIXME("%p %lx\n", hCatAdmin, dwFlags);
97 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
101 /***********************************************************************
102 * CryptCATClose (WINTRUST.@)
104 BOOL WINAPI CryptCATClose(HANDLE hCatalog)
106 FIXME("(%p) stub\n", hCatalog);
110 /***********************************************************************
111 * CryptCATEnumerateMember (WINTRUST.@)
113 CRYPTCATMEMBER *WINAPI CryptCATEnumerateMember(HANDLE hCatalog, CRYPTCATMEMBER* pPrevMember)
115 FIXME("(%p, %p) stub\n", hCatalog, pPrevMember);
119 /***********************************************************************
120 * CryptCATOpen (WINTRUST.@)
122 HANDLE WINAPI CryptCATOpen(LPWSTR pwszFileName, DWORD fdwOpenFlags, HCRYPTPROV hProv,
123 DWORD dwPublicVersion, DWORD dwEncodingType)
125 FIXME("(%s, %ld, %ld, %ld, %ld) stub\n", debugstr_w(pwszFileName), fdwOpenFlags,
126 hProv, dwPublicVersion, dwEncodingType);