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
22 interface IAssemblyCache
;
23 interface IAssemblyCacheItem
;
25 typedef struct _FUSION_INSTALL_REFERENCE_
31 LPCWSTR szNonCannonicalData
;
32 } FUSION_INSTALL_REFERENCE
, *LPFUSION_INSTALL_REFERENCE
;
34 typedef struct _ASSEMBLY_INFO
37 DWORD dwAssemblyFlags
;
38 ULARGE_INTEGER uliAssemblySizeInKB
;
39 LPWSTR pszCurrentAssemblyPathBuf
;
43 typedef const struct _FUSION_INSTALL_REFERENCE_
*LPCFUSION_INSTALL_REFERENCE
;
47 uuid(e707dcde
-d1cd
-11d2
-bab9
-00c04f8eceae
),
48 pointer_default(unique),
51 interface IAssemblyCache
: IUnknown
53 HRESULT UninstallAssembly
(
56 [in] LPCFUSION_INSTALL_REFERENCE
ref,
57 [out, optional] ULONG
*disp
);
59 HRESULT QueryAssemblyInfo
(
62 [in, out] ASSEMBLY_INFO
*info
);
64 HRESULT CreateAssemblyCacheItem
(
67 [out] IAssemblyCacheItem
**item
,
68 [in, optional] LPCWSTR name
);
71 [out] IUnknown
**reserved
);
73 HRESULT InstallAssembly
(
76 [in] LPCFUSION_INSTALL_REFERENCE
ref);
81 uuid(9e3aaeb4
-d1cd
-11d2
-bab9
-00c04f8eceae
),
82 pointer_default(unique),
85 interface IAssemblyCacheItem
: IUnknown
91 [in] DWORD format_flags
,
92 [out] IStream
**stream
,
93 [in, optional] ULARGE_INTEGER
*max_size
);
97 [out, optional] ULONG
*disp
);
102 cpp_quote
("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);")