2 * Copyright 2002 Mike McCormack for Codeweavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 /* #include "mssip.h" */
23 #include "wine/debug.h"
25 WINE_DEFAULT_DEBUG_CHANNEL(crypt);
27 typedef struct SIP_DISPATCH_INFO_ SIP_DISPATCH_INFO, *LPSIP_DISPATCH_INFO;
28 typedef struct SIP_ADD_NEWPROVIDER_ SIP_ADD_NEWPROVIDER, *PSIP_ADD_NEWPROVIDER;
30 /* this function is called by Internet Explorer when it is about to verify a downloaded component */
31 BOOL WINAPI I_CryptCreateLruCache(DWORD x, DWORD y)
37 /* these functions all have an unknown number of args */
38 BOOL WINAPI I_CryptFindLruEntryData(DWORD x)
44 BOOL WINAPI I_CryptFlushLruCache(DWORD x)
50 BOOL WINAPI I_CryptFreeLruCache(DWORD x)
56 BOOL WINAPI CryptSIPRemoveProvider(GUID *pgProv)
62 BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *psNewProv)
68 BOOL WINAPI CryptSIPRetrieveSubjectGuid
69 (LPCWSTR FileName, OPTIONAL HANDLE hFileIn, GUID *pgSubject)
75 BOOL WINAPI CryptSIPLoad
76 (const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch)
82 BOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName,
83 LPCSTR pszOID, LPCWSTR pwszValueName,
84 DWORD *pdwValueType, BYTE *pbValueData,
87 FIXME("(%lx,%s,%s,%s,%p,%p,%p) stub!\n", dwEncodingType, pszFuncName, pszOID,
88 debugstr_w(pwszValueName), pdwValueType, pbValueData, pcbValueData);
92 BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
93 LPCSTR pszOID, LPCWSTR pwszDll, LPCSTR pszOverrideFuncName)
95 FIXME("(%lx,%s,%s,%s,%s) stub!\n", dwEncodingType, pszFuncName, pszOID,
96 debugstr_w(pwszDll), pszOverrideFuncName);