2002-04-03 21:55:13 +02:00
|
|
|
/*
|
2003-09-08 21:38:45 +02:00
|
|
|
* Copyright 2002 Mike McCormack for CodeWeavers
|
2002-04-03 21:55:13 +02:00
|
|
|
*
|
|
|
|
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h"
|
2003-09-06 01:08:26 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
2002-04-03 21:55:13 +02:00
|
|
|
#include "winbase.h"
|
2002-06-14 00:02:17 +02:00
|
|
|
#include "wincrypt.h"
|
2002-09-09 21:35:42 +02:00
|
|
|
#include "mssip.h"
|
2002-08-16 03:36:53 +02:00
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(crypt);
|
2002-06-14 00:02:17 +02:00
|
|
|
|
2002-04-03 21:55:13 +02:00
|
|
|
/* this function is called by Internet Explorer when it is about to verify a downloaded component */
|
2002-04-11 19:34:46 +02:00
|
|
|
BOOL WINAPI I_CryptCreateLruCache(DWORD x, DWORD y)
|
2002-04-03 21:55:13 +02:00
|
|
|
{
|
2002-08-16 03:36:53 +02:00
|
|
|
FIXME("stub!\n");
|
2002-04-03 21:55:13 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* these functions all have an unknown number of args */
|
2002-04-11 19:34:46 +02:00
|
|
|
BOOL WINAPI I_CryptFindLruEntryData(DWORD x)
|
2002-04-03 21:55:13 +02:00
|
|
|
{
|
2002-08-16 03:36:53 +02:00
|
|
|
FIXME("stub!\n");
|
2002-04-03 21:55:13 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2002-04-11 19:34:46 +02:00
|
|
|
BOOL WINAPI I_CryptFlushLruCache(DWORD x)
|
2002-04-03 21:55:13 +02:00
|
|
|
{
|
2002-08-16 03:36:53 +02:00
|
|
|
FIXME("stub!\n");
|
2002-04-03 21:55:13 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2002-04-11 19:34:46 +02:00
|
|
|
BOOL WINAPI I_CryptFreeLruCache(DWORD x)
|
2002-04-03 21:55:13 +02:00
|
|
|
{
|
2002-08-16 03:36:53 +02:00
|
|
|
FIXME("stub!\n");
|
2002-04-03 21:55:13 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
2002-06-14 00:02:17 +02:00
|
|
|
|
2002-10-25 05:48:49 +02:00
|
|
|
/*
|
|
|
|
* (0x1001350, %eax, 0, 0, 9);
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
BOOL WINAPI CertOpenStore(LPSTR dw1, DWORD dw2, DWORD dw3, DWORD dw4, DWORD dw5)
|
|
|
|
{
|
|
|
|
FIXME("(%s, %ld, %ld, %ld, %ld), stub.\n", debugstr_a(dw1), dw2, dw3, dw4, dw5);
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2002-06-14 00:02:17 +02:00
|
|
|
BOOL WINAPI CryptSIPRemoveProvider(GUID *pgProv)
|
|
|
|
{
|
2002-08-16 03:36:53 +02:00
|
|
|
FIXME("stub!\n");
|
2002-06-14 00:02:17 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *psNewProv)
|
|
|
|
{
|
2002-08-16 03:36:53 +02:00
|
|
|
FIXME("stub!\n");
|
2002-06-14 00:02:17 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL WINAPI CryptSIPRetrieveSubjectGuid
|
2002-09-09 21:35:42 +02:00
|
|
|
(LPCWSTR FileName, HANDLE hFileIn, GUID *pgSubject)
|
2002-06-14 00:02:17 +02:00
|
|
|
{
|
2002-08-16 03:36:53 +02:00
|
|
|
FIXME("stub!\n");
|
2002-06-14 00:02:17 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL WINAPI CryptSIPLoad
|
|
|
|
(const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch)
|
|
|
|
{
|
2002-08-16 03:36:53 +02:00
|
|
|
FIXME("stub!\n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName,
|
|
|
|
LPCSTR pszOID, LPCWSTR pwszValueName,
|
|
|
|
DWORD *pdwValueType, BYTE *pbValueData,
|
|
|
|
DWORD *pcbValueData)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%s,%s,%s,%p,%p,%p) stub!\n", dwEncodingType, pszFuncName, pszOID,
|
|
|
|
debugstr_w(pwszValueName), pdwValueType, pbValueData, pcbValueData);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2002-10-15 04:14:30 +02:00
|
|
|
BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,
|
|
|
|
LPCSTR pszFuncName, DWORD dwIndex,
|
|
|
|
LPCWSTR pwszDll)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%s,%lx,%s) stub!\n", dwEncodingType, pszFuncName, dwIndex,
|
|
|
|
debugstr_w(pwszDll));
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2002-08-16 03:36:53 +02:00
|
|
|
BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
|
|
|
|
LPCSTR pszOID, LPCWSTR pwszDll, LPCSTR pszOverrideFuncName)
|
|
|
|
{
|
|
|
|
FIXME("(%lx,%s,%s,%s,%s) stub!\n", dwEncodingType, pszFuncName, pszOID,
|
|
|
|
debugstr_w(pwszDll), pszOverrideFuncName);
|
2002-06-14 00:02:17 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
2003-05-12 05:21:45 +02:00
|
|
|
|
|
|
|
PCCERT_CONTEXT WINAPI CertEnumCertificatesInStore(HCERTSTORE hCertStore, PCCERT_CONTEXT pPrev)
|
|
|
|
{
|
|
|
|
FIXME("(%p,%p)\n", hCertStore, pPrev);
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
BOOL WINAPI CertSaveStore(HCERTSTORE hCertStore, DWORD dwMsgAndCertEncodingType,
|
|
|
|
DWORD dwSaveAs, DWORD dwSaveTo, void* pvSaveToPara, DWORD dwFlags)
|
|
|
|
{
|
|
|
|
FIXME("(%p,%ld,%ld,%ld,%p,%08lx) stub!\n", hCertStore,
|
|
|
|
dwMsgAndCertEncodingType, dwSaveAs, dwSaveTo, pvSaveToPara, dwFlags);
|
|
|
|
return TRUE;
|
|
|
|
}
|