2 * Copyright 2008 James Hawkins
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;
23 interface IAssemblyEnum;
24 interface IAssemblyName;
30 ASM_CACHE_DOWNLOAD = 0x4,
41 peInvalid = 0xffffffff
44 typedef enum _tagAssemblyComparisonResult
47 ACR_EquivalentFullMatch,
48 ACR_EquivalentWeakNamed,
49 ACR_EquivalentFXUnified,
50 ACR_EquivalentUnified,
51 ACR_NonEquivalentVersion,
53 ACR_EquivalentPartialMatch,
54 ACR_EquivalentPartialWeakNamed,
55 ACR_EquivalentPartialUnified,
56 ACR_EquivalentPartialFXUnified,
57 ACR_NonEquivalentPartialVersion
58 } AssemblyComparisonResult;
63 uuid(e707dcde-d1cd-11d2-bab9-00c04f8eceae),
64 pointer_default(unique)
66 interface IAssemblyCache : IUnknown
74 uuid(9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae),
75 pointer_default(unique)
77 interface IAssemblyCacheItem : IUnknown
85 uuid(CD193BC0-B4BC-11d2-9833-00C04FC31D2E),
86 pointer_default(unique)
88 interface IAssemblyName: IUnknown
90 typedef [unique] IAssemblyName *LPASSEMBLYNAME;
96 uuid(21b8916c-f28e-11d2-a473-00c04f8ef448),
97 pointer_default(unique)
99 interface IAssemblyEnum : IUnknown
107 uuid(582dac66-e678-449f-aba6-6faaec8a9394),
108 pointer_default(unique)
110 interface IInstallReferenceItem : IUnknown
118 uuid(56b1a988-7c0c-4aa2-8639-c3eb5a90226f),
119 pointer_default(unique)
121 interface IInstallReferenceEnum : IUnknown
126 cpp_quote("HRESULT WINAPI ClearDownloadCache(void);")
127 cpp_quote("HRESULT WINAPI CompareAssemblyIdentity(LPCWSTR,BOOL,LPCWSTR,BOOL,BOOL*,AssemblyComparisonResult*);")
128 cpp_quote("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);")
129 cpp_quote("HRESULT WINAPI CreateAssemblyEnum(IAssemblyEnum**,IUnknown*,IAssemblyName*,DWORD,LPVOID);")
130 cpp_quote("HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME*,LPCWSTR,DWORD,LPVOID);")
131 cpp_quote("HRESULT WINAPI CreateInstallReferenceEnum(IInstallReferenceEnum**,IAssemblyName*,DWORD,LPVOID);")
132 cpp_quote("HRESULT WINAPI GetAssemblyIdentityFromFile(LPCWSTR,REFIID,IUnknown**);")
133 cpp_quote("HRESULT WINAPI GetCachePath(ASM_CACHE_FLAGS,LPWSTR,PDWORD);")