2002-03-09 23:29:33 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2001 Rein Klazes
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2001-04-16 19:36:12 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
2003-09-05 23:08:26 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2001-04-16 19:36:12 +00:00
|
|
|
#include "windef.h"
|
2003-09-05 23:08:26 +00:00
|
|
|
#include "winbase.h"
|
2001-04-16 19:36:12 +00:00
|
|
|
#include "winerror.h"
|
|
|
|
#include "guiddef.h"
|
2004-10-21 21:00:29 +00:00
|
|
|
#include "wintrust.h"
|
|
|
|
#include "mscat.h"
|
2001-04-16 19:36:12 +00:00
|
|
|
|
2002-03-09 23:29:33 +00:00
|
|
|
#include "wine/debug.h"
|
2001-04-16 19:36:12 +00:00
|
|
|
|
2004-02-26 05:30:54 +00:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
|
2001-04-16 19:36:12 +00:00
|
|
|
|
2004-10-18 21:19:46 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* CryptCATAdminAcquireContext (WINTRUST.@)
|
|
|
|
*/
|
2004-10-21 21:00:29 +00:00
|
|
|
BOOL WINAPI CryptCATAdminAcquireContext(HCATADMIN* catAdmin,
|
|
|
|
const GUID *sysSystem, DWORD dwFlags )
|
2004-10-18 21:19:46 +00:00
|
|
|
{
|
|
|
|
FIXME("%p %s %lx\n", catAdmin, debugstr_guid(sysSystem), dwFlags);
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2005-02-23 12:43:12 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* CryptCATAdminReleaseContext (WINTRUST.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI CryptCATAdminReleaseContext(HCATADMIN hCatAdmin, DWORD dwFlags )
|
|
|
|
{
|
|
|
|
FIXME("%p %lx\n", hCatAdmin, dwFlags);
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2001-04-25 19:54:21 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* WinVerifyTrust (WINTRUST.@)
|
|
|
|
*/
|
2004-10-21 21:00:29 +00:00
|
|
|
LONG WINAPI WinVerifyTrust( HWND hwnd, GUID *ActionID, WINTRUST_DATA* ActionData )
|
2001-04-16 19:36:12 +00:00
|
|
|
{
|
2005-06-01 19:49:41 +00:00
|
|
|
FIXME("%p %p %p\n", hwnd, ActionID, ActionData);
|
2001-04-16 19:36:12 +00:00
|
|
|
return ERROR_SUCCESS;
|
|
|
|
}
|
2005-06-01 19:49:41 +00:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* WintrustAddActionID (WINTRUST.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI WintrustAddActionID( GUID* pgActionID, DWORD fdwFlags,
|
|
|
|
CRYPT_REGISTER_ACTIONID* psProvInfo)
|
|
|
|
{
|
|
|
|
FIXME("%p %lx %p\n", pgActionID, fdwFlags, psProvInfo);
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* WintrustAddActionID (WINTRUST.@)
|
|
|
|
*/
|
|
|
|
void WINAPI WintrustGetRegPolicyFlags( DWORD* pdwPolicyFlags )
|
|
|
|
{
|
|
|
|
FIXME("%p\n", pdwPolicyFlags);
|
|
|
|
*pdwPolicyFlags = 0;
|
|
|
|
}
|