wintrust: Move register related functions to a separate file.

This commit is contained in:
Paul Vriens 2006-08-28 16:52:38 +02:00 committed by Alexandre Julliard
parent 04a15af5dc
commit 8170d88509
3 changed files with 75 additions and 40 deletions

View File

@ -6,7 +6,9 @@ MODULE = wintrust.dll
IMPORTLIB = libwintrust.$(IMPLIBEXT)
IMPORTS = crypt32 kernel32
C_SRCS = wintrust_main.c
C_SRCS = \
register.c \
wintrust_main.c
RC_SRCS = \
version.rc

72
dlls/wintrust/register.c Normal file
View File

@ -0,0 +1,72 @@
/*
* Register related wintrust functions
*
* Copyright 2006 Paul Vriens
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "guiddef.h"
#include "wintrust.h"
#include "softpub.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
/***********************************************************************
* 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;
}
/***********************************************************************
* WintrustRemoveActionID (WINTRUST.@)
*/
BOOL WINAPI WintrustRemoveActionID( GUID* pgActionID )
{
FIXME("(%s)\n", debugstr_guid(pgActionID));
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* DllRegisterServer (WINTRUST.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
FIXME("stub\n");
return S_OK;
}
/***********************************************************************
* DllUnregisterServer (WINTRUST.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{
FIXME("stub\n");
return S_OK;
}

View File

@ -187,27 +187,6 @@ CRYPT_PROVIDER_DATA * WINAPI WTHelperProvDataFromStateData(HANDLE hStateData)
return NULL;
}
/***********************************************************************
* 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;
}
/***********************************************************************
* WintrustRemoveActionID (WINTRUST.@)
*/
BOOL WINAPI WintrustRemoveActionID( GUID* pgActionID )
{
FIXME("(%s)\n", debugstr_guid(pgActionID));
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* WintrustLoadFunctionPointers (WINTRUST.@)
*/
@ -236,21 +215,3 @@ BOOL WINAPI WintrustSetRegPolicyFlags( DWORD dwPolicyFlags)
FIXME("stub: %lx\n", dwPolicyFlags);
return TRUE;
}
/***********************************************************************
* DllRegisterServer (WINTRUST.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
FIXME("stub\n");
return S_OK;
}
/***********************************************************************
* DllUnregisterServer (WINTRUST.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{
FIXME("stub\n");
return S_OK;
}