wined3d: We want to compare the old and the new format and not the old with the old.
[wine] / dlls / fusion / fusion.c
1 /*
2  * Implementation of the Fusion API
3  *
4  * Copyright 2008 James Hawkins
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #include <stdarg.h>
22
23 #define COBJMACROS
24
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winuser.h"
28 #include "ole2.h"
29 #include "fusion.h"
30 #include "wine/debug.h"
31
32 WINE_DEFAULT_DEBUG_CHANNEL(fusion);
33
34 /******************************************************************
35  *  ClearDownloadCache   (FUSION.@)
36  */
37 HRESULT WINAPI ClearDownloadCache(void)
38 {
39     FIXME("stub!\n");
40     return E_NOTIMPL;
41 }
42
43 /******************************************************************
44  *  CompareAssemblyIdentity   (FUSION.@)
45  */
46 HRESULT WINAPI CompareAssemblyIdentity(LPCWSTR pwzAssemblyIdentity1, BOOL fUnified1,
47                                        LPCWSTR pwzAssemblyIdentity2, BOOL fUnified2,
48                                        BOOL *pfEquivalent, AssemblyComparisonResult *pResult)
49 {
50     FIXME("(%s, %d, %s, %d, %p, %p) stub!\n", debugstr_w(pwzAssemblyIdentity1),
51           fUnified1, debugstr_w(pwzAssemblyIdentity2), fUnified2, pfEquivalent, pResult);
52
53     return E_NOTIMPL;
54 }
55
56 /******************************************************************
57  *  CreateAssemblyCache   (FUSION.@)
58  */
59 HRESULT WINAPI CreateAssemblyCache(IAssemblyCache **ppAsmCache, DWORD dwReserved)
60 {
61     FIXME("(%p, %d) stub!\n", ppAsmCache, dwReserved);
62     return E_NOTIMPL;
63 }
64
65 /******************************************************************
66  *  CreateAssemblyEnum   (FUSION.@)
67  */
68 HRESULT WINAPI CreateAssemblyEnum(IAssemblyEnum **pEnum, IUnknown *pUnkReserved,
69                                   IAssemblyName *pName, DWORD dwFlags, LPVOID pvReserved)
70 {
71     FIXME("(%p, %p, %p, %08x, %p) stub!\n", pEnum, pUnkReserved,
72           pName, dwFlags, pvReserved);
73
74     return E_NOTIMPL;
75 }
76
77 /******************************************************************
78  *  CreateAssemblyNameObject   (FUSION.@)
79  */
80 HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME *ppAssemblyNameObj,
81                                         LPCWSTR szAssemblyName, DWORD dwFlags,
82                                         LPVOID pvReserved)
83 {
84     FIXME("(%p, %s, %08x, %p) stub!\n", ppAssemblyNameObj,
85           debugstr_w(szAssemblyName), dwFlags, pvReserved);
86
87     return E_NOTIMPL;
88 }
89
90 /******************************************************************
91  *  CreateInstallReferenceEnum   (FUSION.@)
92  */
93 HRESULT WINAPI CreateInstallReferenceEnum(IInstallReferenceEnum **ppRefEnum,
94                                           IAssemblyName *pName, DWORD dwFlags,
95                                           LPVOID pvReserved)
96 {
97     FIXME("(%p, %p, %08x, %p) stub!\n", ppRefEnum, pName, dwFlags, pvReserved);
98     return E_NOTIMPL;
99 }
100
101 /******************************************************************
102  *  GetAssemblyIdentityFromFile   (FUSION.@)
103  */
104 HRESULT WINAPI GetAssemblyIdentityFromFile(LPCWSTR pwzFilePath, REFIID riid,
105                                            IUnknown **ppIdentity)
106 {
107     FIXME("(%s, %s, %p) stub!\n", debugstr_w(pwzFilePath), debugstr_guid(riid),
108           ppIdentity);
109
110     return E_NOTIMPL;
111 }
112
113 /******************************************************************
114  *  GetCachePath   (FUSION.@)
115  */
116 HRESULT WINAPI GetCachePath(ASM_CACHE_FLAGS dwCacheFlags, LPWSTR pwzCachePath,
117                             PDWORD pcchPath)
118 {
119     FIXME("(%08x, %s, %p) stub!\n", dwCacheFlags, debugstr_w(pwzCachePath), pcchPath);
120     return E_NOTIMPL;
121 }