wine/dlls/crypt32/main.c
2002-08-16 01:36:53 +00:00

99 lines
2.9 KiB
C

/*
* Copyright 2002 Mike McCormack for Codeweavers
*
* 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"
#include "winbase.h"
#include "wincrypt.h"
/* #include "mssip.h" */
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(crypt);
typedef struct SIP_DISPATCH_INFO_ SIP_DISPATCH_INFO, *LPSIP_DISPATCH_INFO;
typedef struct SIP_ADD_NEWPROVIDER_ SIP_ADD_NEWPROVIDER, *PSIP_ADD_NEWPROVIDER;
/* this function is called by Internet Explorer when it is about to verify a downloaded component */
BOOL WINAPI I_CryptCreateLruCache(DWORD x, DWORD y)
{
FIXME("stub!\n");
return FALSE;
}
/* these functions all have an unknown number of args */
BOOL WINAPI I_CryptFindLruEntryData(DWORD x)
{
FIXME("stub!\n");
return FALSE;
}
BOOL WINAPI I_CryptFlushLruCache(DWORD x)
{
FIXME("stub!\n");
return FALSE;
}
BOOL WINAPI I_CryptFreeLruCache(DWORD x)
{
FIXME("stub!\n");
return FALSE;
}
BOOL WINAPI CryptSIPRemoveProvider(GUID *pgProv)
{
FIXME("stub!\n");
return FALSE;
}
BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *psNewProv)
{
FIXME("stub!\n");
return FALSE;
}
BOOL WINAPI CryptSIPRetrieveSubjectGuid
(LPCWSTR FileName, OPTIONAL HANDLE hFileIn, GUID *pgSubject)
{
FIXME("stub!\n");
return FALSE;
}
BOOL WINAPI CryptSIPLoad
(const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch)
{
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;
}
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);
return FALSE;
}