2 * Copyright 2010 Hans Leidekker for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 interface IAssemblyCache;
22 interface IAssemblyCacheItem;
24 typedef struct _FUSION_INSTALL_REFERENCE_
30 LPCWSTR szNonCannonicalData;
31 } FUSION_INSTALL_REFERENCE, *LPFUSION_INSTALL_REFERENCE;
33 typedef struct _ASSEMBLY_INFO
36 DWORD dwAssemblyFlags;
37 ULARGE_INTEGER uliAssemblySizeInKB;
38 LPWSTR pszCurrentAssemblyPathBuf;
42 typedef const struct _FUSION_INSTALL_REFERENCE_ *LPCFUSION_INSTALL_REFERENCE;
46 uuid(e707dcde-d1cd-11d2-bab9-00c04f8eceae),
47 pointer_default(unique),
50 interface IAssemblyCache : IUnknown
52 HRESULT UninstallAssembly(
55 [in] LPCFUSION_INSTALL_REFERENCE ref,
56 [out, optional] ULONG *disp);
58 HRESULT QueryAssemblyInfo(
61 [in, out] ASSEMBLY_INFO *info);
63 HRESULT CreateAssemblyCacheItem(
66 [out] IAssemblyCacheItem **item,
67 [in, optional] LPCWSTR name);
70 [out] IUnknown **reserved);
72 HRESULT InstallAssembly(
75 [in] LPCFUSION_INSTALL_REFERENCE ref);
80 uuid(9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae),
81 pointer_default(unique),
84 interface IAssemblyCacheItem : IUnknown
90 [in] DWORD format_flags,
91 [out] IStream **stream,
92 [in, optional] ULARGE_INTEGER *max_size);
96 [out, optional] ULONG *disp);
101 cpp_quote("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);")