James Hawkins : fusion: Add a few fusion stubs.
Alexandre Julliard
julliard at winehq.org
Mon Mar 24 07:55:10 CDT 2008
Module: wine
Branch: master
Commit: 87b970cedcaa6e0403a651c9afff3a883a3188db
URL: http://source.winehq.org/git/wine.git/?a=commit;h=87b970cedcaa6e0403a651c9afff3a883a3188db
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Sun Mar 23 18:48:48 2008 -0700
fusion: Add a few fusion stubs.
---
dlls/fusion/Makefile.in | 1 +
dlls/fusion/fusion.c | 121 +++++++++++++++++++++++++++++++++++++++++++++++
dlls/fusion/fusion.spec | 12 ++--
3 files changed, 128 insertions(+), 6 deletions(-)
diff --git a/dlls/fusion/Makefile.in b/dlls/fusion/Makefile.in
index 2d1a37f..e33712c 100644
--- a/dlls/fusion/Makefile.in
+++ b/dlls/fusion/Makefile.in
@@ -6,6 +6,7 @@ MODULE = fusion.dll
IMPORTS = kernel32
C_SRCS = \
+ fusion.c \
fusion_main.c
@MAKE_DLL_RULES@
diff --git a/dlls/fusion/fusion.c b/dlls/fusion/fusion.c
new file mode 100644
index 0000000..43f0d15
--- /dev/null
+++ b/dlls/fusion/fusion.c
@@ -0,0 +1,121 @@
+/*
+ * Implementation of the Fusion API
+ *
+ * Copyright 2008 James Hawkins
+ *
+ * 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>
+
+#define COBJMACROS
+
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "ole2.h"
+#include "fusion.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(fusion);
+
+/******************************************************************
+ * ClearDownloadCache (FUSION.@)
+ */
+HRESULT WINAPI ClearDownloadCache(void)
+{
+ FIXME("stub!\n");
+ return E_NOTIMPL;
+}
+
+/******************************************************************
+ * CompareAssemblyIdentity (FUSION.@)
+ */
+HRESULT WINAPI CompareAssemblyIdentity(LPCWSTR pwzAssemblyIdentity1, BOOL fUnified1,
+ LPCWSTR pwzAssemblyIdentity2, BOOL fUnified2,
+ BOOL *pfEquivalent, AssemblyComparisonResult *pResult)
+{
+ FIXME("(%s, %d, %s, %d, %p, %p) stub!\n", debugstr_w(pwzAssemblyIdentity1),
+ fUnified1, debugstr_w(pwzAssemblyIdentity2), fUnified2, pfEquivalent, pResult);
+
+ return E_NOTIMPL;
+}
+
+/******************************************************************
+ * CreateAssemblyCache (FUSION.@)
+ */
+HRESULT WINAPI CreateAssemblyCache(IAssemblyCache **ppAsmCache, DWORD dwReserved)
+{
+ FIXME("(%p, %d) stub!\n", ppAsmCache, dwReserved);
+ return E_NOTIMPL;
+}
+
+/******************************************************************
+ * CreateAssemblyEnum (FUSION.@)
+ */
+HRESULT WINAPI CreateAssemblyEnum(IAssemblyEnum **pEnum, IUnknown *pUnkReserved,
+ IAssemblyName *pName, DWORD dwFlags, LPVOID pvReserved)
+{
+ FIXME("(%p, %p, %p, %08x, %p) stub!\n", pEnum, pUnkReserved,
+ pName, dwFlags, pvReserved);
+
+ return E_NOTIMPL;
+}
+
+/******************************************************************
+ * CreateAssemblyNameObject (FUSION.@)
+ */
+HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME *ppAssemblyNameObj,
+ LPCWSTR szAssemblyName, DWORD dwFlags,
+ LPVOID pvReserved)
+{
+ FIXME("(%p, %s, %08x, %p) stub!\n", ppAssemblyNameObj,
+ debugstr_w(szAssemblyName), dwFlags, pvReserved);
+
+ return E_NOTIMPL;
+}
+
+/******************************************************************
+ * CreateInstallReferenceEnum (FUSION.@)
+ */
+HRESULT WINAPI CreateInstallReferenceEnum(IInstallReferenceEnum **ppRefEnum,
+ IAssemblyName *pName, DWORD dwFlags,
+ LPVOID pvReserved)
+{
+ FIXME("(%p, %p, %08x, %p) stub!\n", ppRefEnum, pName, dwFlags, pvReserved);
+ return E_NOTIMPL;
+}
+
+/******************************************************************
+ * GetAssemblyIdentityFromFile (FUSION.@)
+ */
+HRESULT WINAPI GetAssemblyIdentityFromFile(LPCWSTR pwzFilePath, REFIID riid,
+ IUnknown **ppIdentity)
+{
+ FIXME("(%s, %s, %p) stub!\n", debugstr_w(pwzFilePath), debugstr_guid(riid),
+ ppIdentity);
+
+ return E_NOTIMPL;
+}
+
+/******************************************************************
+ * GetCachePath (FUSION.@)
+ */
+HRESULT WINAPI GetCachePath(ASM_CACHE_FLAGS dwCacheFlags, LPWSTR pwzCachePath,
+ PDWORD pcchPath)
+{
+ FIXME("(%08x, %s, %p) stub!\n", dwCacheFlags, debugstr_w(pwzCachePath), pcchPath);
+ return E_NOTIMPL;
+}
diff --git a/dlls/fusion/fusion.spec b/dlls/fusion/fusion.spec
index 210dd09..e589ad1 100644
--- a/dlls/fusion/fusion.spec
+++ b/dlls/fusion/fusion.spec
@@ -1,12 +1,12 @@
@ stub CopyPDBs
-@ stub ClearDownloadCache
+@ stdcall ClearDownloadCache()
@ stub CreateApplicationContext
-@ stub CreateAssemblyCache
-@ stub CreateAssemblyEnum
-@ stub CreateAssemblyNameObject
+@ stdcall CreateAssemblyCache(ptr long)
+@ stdcall CreateAssemblyEnum(ptr ptr ptr long ptr)
+@ stdcall CreateAssemblyNameObject(ptr wstr long ptr)
@ stub CreateHistoryReader
-@ stub CreateInstallReferenceEnum
-@ stub GetCachePath
+@ stdcall CreateInstallReferenceEnum(ptr ptr long ptr)
+@ stdcall GetCachePath(long wstr ptr)
@ stub GetHistoryFileDirectory
@ stub InitializeFusion
@ stub InstallCustomAssembly
More information about the wine-cvs
mailing list