Paul Vriens : wintrust: Move register related functions to a separate
file.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Aug 29 07:19:36 CDT 2006
Module: wine
Branch: master
Commit: 8170d885091973c185f5747c62375ee702354e1d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8170d885091973c185f5747c62375ee702354e1d
Author: Paul Vriens <Paul.Vriens at xs4all.nl>
Date: Mon Aug 28 16:52:38 2006 +0200
wintrust: Move register related functions to a separate file.
---
dlls/wintrust/Makefile.in | 4 ++
dlls/wintrust/register.c | 72 +++++++++++++++++++++++++++++++++++++++++
dlls/wintrust/wintrust_main.c | 39 ----------------------
3 files changed, 75 insertions(+), 40 deletions(-)
create mode 100644 dlls/wintrust/register.c
diff --git a/dlls/wintrust/Makefile.in b/dlls/wintrust/Makefile.in
index de2b25e..153c7c1 100644
--- a/dlls/wintrust/Makefile.in
+++ b/dlls/wintrust/Makefile.in
@@ -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
diff --git a/dlls/wintrust/register.c b/dlls/wintrust/register.c
new file mode 100644
index 0000000..b2e883b
--- /dev/null
+++ b/dlls/wintrust/register.c
@@ -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;
+}
diff --git a/dlls/wintrust/wintrust_main.c b/dlls/wintrust/wintrust_main.c
index d3b4dab..8a9a2f5 100644
--- a/dlls/wintrust/wintrust_main.c
+++ b/dlls/wintrust/wintrust_main.c
@@ -188,27 +188,6 @@ CRYPT_PROVIDER_DATA * WINAPI WTHelperPro
}
/***********************************************************************
- * 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.@)
*/
BOOL WINAPI WintrustLoadFunctionPointers( GUID* pgActionID,
@@ -236,21 +215,3 @@ BOOL WINAPI WintrustSetRegPolicyFlags( D
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;
-}
More information about the wine-cvs
mailing list