1// Licensed to the .NET Foundation under one or more agreements.
2// The .NET Foundation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4
5
6
7/* this ALWAYS GENERATED file contains the definitions for the interfaces */
8
9
10 /* File created by MIDL compiler version 8.00.0603 */
11/* @@MIDL_FILE_HEADING( ) */
12
13#pragma warning( disable: 4049 ) /* more than 64k source lines */
14
15
16/* verify that the <rpcndr.h> version is high enough to compile this file*/
17#ifndef __REQUIRED_RPCNDR_H_VERSION__
18#define __REQUIRED_RPCNDR_H_VERSION__ 475
19#endif
20
21#include "rpc.h"
22#include "rpcndr.h"
23
24#ifndef __RPCNDR_H_VERSION__
25#error this stub requires an updated version of <rpcndr.h>
26#endif // __RPCNDR_H_VERSION__
27
28#ifndef COM_NO_WINDOWS_H
29#include "windows.h"
30#include "ole2.h"
31#endif /*COM_NO_WINDOWS_H*/
32
33#ifndef __fusion_h__
34#define __fusion_h__
35
36#if defined(_MSC_VER) && (_MSC_VER >= 1020)
37#pragma once
38#endif
39
40/* Forward Declarations */
41
42#ifndef __IAssemblyName_FWD_DEFINED__
43#define __IAssemblyName_FWD_DEFINED__
44typedef interface IAssemblyName IAssemblyName;
45
46#endif /* __IAssemblyName_FWD_DEFINED__ */
47
48
49/* header files for imported files */
50#include "objidl.h"
51
52#ifdef __cplusplus
53extern "C"{
54#endif
55
56
57/* interface __MIDL_itf_fusion_0000_0000 */
58/* [local] */
59
60
61#ifdef _MSC_VER
62#pragma comment(lib,"uuid.lib")
63#endif
64
65//---------------------------------------------------------------------------=
66// Fusion Interfaces.
67
68#ifdef _MSC_VER
69#pragma once
70#endif
71
72
73
74
75#ifndef PEKIND_ENUM_DEFINED
76#define PEKIND_ENUM_DEFINED
77typedef
78enum _tagPEKIND
79 {
80 peNone = 0,
81 peMSIL = 0x1,
82 peI386 = 0x2,
83 peIA64 = 0x3,
84 peAMD64 = 0x4,
85 peARM = 0x5,
86 peARM64 = 0x6,
87 peInvalid = 0xffffffff
88 } PEKIND;
89
90#endif
91typedef
92enum _tagAssemblyContentType
93 {
94 AssemblyContentType_Default = 0,
95 AssemblyContentType_WindowsRuntime = 0x1,
96 AssemblyContentType_Invalid = 0xffffffff
97 } AssemblyContentType;
98
99// {CD193BC0-B4BC-11d2-9833-00C04FC31D2E}
100EXTERN_GUID(IID_IAssemblyName, 0xCD193BC0, 0xB4BC, 0x11d2, 0x98, 0x33, 0x00, 0xC0, 0x4F, 0xC3, 0x1D, 0x2E);
101
102
103extern RPC_IF_HANDLE __MIDL_itf_fusion_0000_0000_v0_0_c_ifspec;
104extern RPC_IF_HANDLE __MIDL_itf_fusion_0000_0000_v0_0_s_ifspec;
105
106#ifndef __IAssemblyName_INTERFACE_DEFINED__
107#define __IAssemblyName_INTERFACE_DEFINED__
108
109/* interface IAssemblyName */
110/* [unique][uuid][object][local] */
111
112typedef /* [unique] */ IAssemblyName *LPASSEMBLYNAME;
113
114typedef /* [public] */
115enum __MIDL_IAssemblyName_0001
116 {
117 CANOF_PARSE_DISPLAY_NAME = 0x1,
118 CANOF_SET_DEFAULT_VALUES = 0x2,
119 CANOF_VERIFY_FRIEND_ASSEMBLYNAME = 0x4,
120 CANOF_PARSE_FRIEND_DISPLAY_NAME = ( CANOF_PARSE_DISPLAY_NAME | CANOF_VERIFY_FRIEND_ASSEMBLYNAME )
121 } CREATE_ASM_NAME_OBJ_FLAGS;
122
123typedef /* [public] */
124enum __MIDL_IAssemblyName_0002
125 {
126 ASM_NAME_PUBLIC_KEY = 0,
127 ASM_NAME_PUBLIC_KEY_TOKEN = ( ASM_NAME_PUBLIC_KEY + 1 ) ,
128 ASM_NAME_HASH_VALUE = ( ASM_NAME_PUBLIC_KEY_TOKEN + 1 ) ,
129 ASM_NAME_NAME = ( ASM_NAME_HASH_VALUE + 1 ) ,
130 ASM_NAME_MAJOR_VERSION = ( ASM_NAME_NAME + 1 ) ,
131 ASM_NAME_MINOR_VERSION = ( ASM_NAME_MAJOR_VERSION + 1 ) ,
132 ASM_NAME_BUILD_NUMBER = ( ASM_NAME_MINOR_VERSION + 1 ) ,
133 ASM_NAME_REVISION_NUMBER = ( ASM_NAME_BUILD_NUMBER + 1 ) ,
134 ASM_NAME_CULTURE = ( ASM_NAME_REVISION_NUMBER + 1 ) ,
135 ASM_NAME_PROCESSOR_ID_ARRAY = ( ASM_NAME_CULTURE + 1 ) ,
136 ASM_NAME_OSINFO_ARRAY = ( ASM_NAME_PROCESSOR_ID_ARRAY + 1 ) ,
137 ASM_NAME_HASH_ALGID = ( ASM_NAME_OSINFO_ARRAY + 1 ) ,
138 ASM_NAME_ALIAS = ( ASM_NAME_HASH_ALGID + 1 ) ,
139 ASM_NAME_CODEBASE_URL = ( ASM_NAME_ALIAS + 1 ) ,
140 ASM_NAME_CODEBASE_LASTMOD = ( ASM_NAME_CODEBASE_URL + 1 ) ,
141 ASM_NAME_NULL_PUBLIC_KEY = ( ASM_NAME_CODEBASE_LASTMOD + 1 ) ,
142 ASM_NAME_NULL_PUBLIC_KEY_TOKEN = ( ASM_NAME_NULL_PUBLIC_KEY + 1 ) ,
143 ASM_NAME_CUSTOM = ( ASM_NAME_NULL_PUBLIC_KEY_TOKEN + 1 ) ,
144 ASM_NAME_NULL_CUSTOM = ( ASM_NAME_CUSTOM + 1 ) ,
145 ASM_NAME_MVID = ( ASM_NAME_NULL_CUSTOM + 1 ) ,
146 ASM_NAME_FILE_MAJOR_VERSION = ( ASM_NAME_MVID + 1 ) ,
147 ASM_NAME_FILE_MINOR_VERSION = ( ASM_NAME_FILE_MAJOR_VERSION + 1 ) ,
148 ASM_NAME_FILE_BUILD_NUMBER = ( ASM_NAME_FILE_MINOR_VERSION + 1 ) ,
149 ASM_NAME_FILE_REVISION_NUMBER = ( ASM_NAME_FILE_BUILD_NUMBER + 1 ) ,
150 ASM_NAME_RETARGET = ( ASM_NAME_FILE_REVISION_NUMBER + 1 ) ,
151 ASM_NAME_SIGNATURE_BLOB = ( ASM_NAME_RETARGET + 1 ) ,
152 ASM_NAME_CONFIG_MASK = ( ASM_NAME_SIGNATURE_BLOB + 1 ) ,
153 ASM_NAME_ARCHITECTURE = ( ASM_NAME_CONFIG_MASK + 1 ) ,
154 ASM_NAME_CONTENT_TYPE = ( ASM_NAME_ARCHITECTURE + 1 ) ,
155 ASM_NAME_MAX_PARAMS = ( ASM_NAME_CONTENT_TYPE + 1 )
156 } ASM_NAME;
157
158typedef /* [public] */
159enum __MIDL_IAssemblyName_0003
160 {
161 ASM_DISPLAYF_VERSION = 0x1,
162 ASM_DISPLAYF_CULTURE = 0x2,
163 ASM_DISPLAYF_PUBLIC_KEY_TOKEN = 0x4,
164 ASM_DISPLAYF_PUBLIC_KEY = 0x8,
165 ASM_DISPLAYF_CUSTOM = 0x10,
166 ASM_DISPLAYF_PROCESSORARCHITECTURE = 0x20,
167 ASM_DISPLAYF_LANGUAGEID = 0x40,
168 ASM_DISPLAYF_RETARGET = 0x80,
169 ASM_DISPLAYF_CONFIG_MASK = 0x100,
170 ASM_DISPLAYF_MVID = 0x200,
171 ASM_DISPLAYF_CONTENT_TYPE = 0x400,
172 ASM_DISPLAYF_FULL = ( ( ( ( ( ASM_DISPLAYF_VERSION | ASM_DISPLAYF_CULTURE ) | ASM_DISPLAYF_PUBLIC_KEY_TOKEN ) | ASM_DISPLAYF_RETARGET ) | ASM_DISPLAYF_PROCESSORARCHITECTURE ) | ASM_DISPLAYF_CONTENT_TYPE )
173 } ASM_DISPLAY_FLAGS;
174
175typedef /* [public] */
176enum __MIDL_IAssemblyName_0004
177 {
178 ASM_CMPF_NAME = 0x1,
179 ASM_CMPF_MAJOR_VERSION = 0x2,
180 ASM_CMPF_MINOR_VERSION = 0x4,
181 ASM_CMPF_BUILD_NUMBER = 0x8,
182 ASM_CMPF_REVISION_NUMBER = 0x10,
183 ASM_CMPF_VERSION = ( ( ( ASM_CMPF_MAJOR_VERSION | ASM_CMPF_MINOR_VERSION ) | ASM_CMPF_BUILD_NUMBER ) | ASM_CMPF_REVISION_NUMBER ) ,
184 ASM_CMPF_PUBLIC_KEY_TOKEN = 0x20,
185 ASM_CMPF_CULTURE = 0x40,
186 ASM_CMPF_CUSTOM = 0x80,
187 ASM_CMPF_DEFAULT = 0x100,
188 ASM_CMPF_RETARGET = 0x200,
189 ASM_CMPF_ARCHITECTURE = 0x400,
190 ASM_CMPF_CONFIG_MASK = 0x800,
191 ASM_CMPF_MVID = 0x1000,
192 ASM_CMPF_SIGNATURE = 0x2000,
193 ASM_CMPF_CONTENT_TYPE = 0x4000,
194 ASM_CMPF_IL_ALL = ( ( ( ASM_CMPF_NAME | ASM_CMPF_VERSION ) | ASM_CMPF_PUBLIC_KEY_TOKEN ) | ASM_CMPF_CULTURE ) ,
195 ASM_CMPF_IL_NO_VERSION = ( ( ASM_CMPF_NAME | ASM_CMPF_PUBLIC_KEY_TOKEN ) | ASM_CMPF_CULTURE )
196 } ASM_CMP_FLAGS;
197
198
199EXTERN_C const IID IID_IAssemblyName;
200
201#if defined(__cplusplus) && !defined(CINTERFACE)
202
203 MIDL_INTERFACE("CD193BC0-B4BC-11d2-9833-00C04FC31D2E")
204 IAssemblyName : public IUnknown
205 {
206 public:
207 virtual HRESULT STDMETHODCALLTYPE SetProperty(
208 /* [in] */ DWORD PropertyId,
209 /* [in] */ const void *pvProperty,
210 /* [in] */ DWORD cbProperty) = 0;
211
212 virtual HRESULT STDMETHODCALLTYPE GetProperty(
213 /* [in] */ DWORD PropertyId,
214 /* [out] */ LPVOID pvProperty,
215 /* [out][in] */ LPDWORD pcbProperty) = 0;
216
217 virtual HRESULT STDMETHODCALLTYPE Finalize( void) = 0;
218
219 virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
220 /* [annotation][out] */
221 _Out_writes_opt_(*pccDisplayName) LPOLESTR szDisplayName,
222 /* [out][in] */ LPDWORD pccDisplayName,
223 /* [in] */ DWORD dwDisplayFlags) = 0;
224
225 virtual HRESULT STDMETHODCALLTYPE Reserved(
226 /* [in] */ REFIID refIID,
227 /* [in] */ IUnknown *pUnkReserved1,
228 /* [in] */ IUnknown *pUnkReserved2,
229 /* [in] */ LPCOLESTR szReserved,
230 /* [in] */ LONGLONG llReserved,
231 /* [in] */ LPVOID pvReserved,
232 /* [in] */ DWORD cbReserved,
233 /* [out] */ LPVOID *ppReserved) = 0;
234
235 virtual HRESULT STDMETHODCALLTYPE GetName(
236 /* [annotation][out][in] */
237 _Inout_ LPDWORD lpcwBuffer,
238 /* [annotation][out] */
239 _Out_writes_opt_(*lpcwBuffer) WCHAR *pwzName) = 0;
240
241 virtual HRESULT STDMETHODCALLTYPE GetVersion(
242 /* [out] */ LPDWORD pdwVersionHi,
243 /* [out] */ LPDWORD pdwVersionLow) = 0;
244
245 virtual HRESULT STDMETHODCALLTYPE IsEqual(
246 /* [in] */ IAssemblyName *pName,
247 /* [in] */ DWORD dwCmpFlags) = 0;
248
249 virtual HRESULT STDMETHODCALLTYPE Clone(
250 /* [out] */ IAssemblyName **pName) = 0;
251
252 };
253
254
255#else /* C style interface */
256
257 typedef struct IAssemblyNameVtbl
258 {
259 BEGIN_INTERFACE
260
261 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
262 IAssemblyName * This,
263 /* [in] */ REFIID riid,
264 /* [annotation][iid_is][out] */
265 _COM_Outptr_ void **ppvObject);
266
267 ULONG ( STDMETHODCALLTYPE *AddRef )(
268 IAssemblyName * This);
269
270 ULONG ( STDMETHODCALLTYPE *Release )(
271 IAssemblyName * This);
272
273 HRESULT ( STDMETHODCALLTYPE *SetProperty )(
274 IAssemblyName * This,
275 /* [in] */ DWORD PropertyId,
276 /* [in] */ const void *pvProperty,
277 /* [in] */ DWORD cbProperty);
278
279 HRESULT ( STDMETHODCALLTYPE *GetProperty )(
280 IAssemblyName * This,
281 /* [in] */ DWORD PropertyId,
282 /* [out] */ LPVOID pvProperty,
283 /* [out][in] */ LPDWORD pcbProperty);
284
285 HRESULT ( STDMETHODCALLTYPE *Finalize )(
286 IAssemblyName * This);
287
288 HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
289 IAssemblyName * This,
290 /* [annotation][out] */
291 _Out_writes_opt_(*pccDisplayName) LPOLESTR szDisplayName,
292 /* [out][in] */ LPDWORD pccDisplayName,
293 /* [in] */ DWORD dwDisplayFlags);
294
295 HRESULT ( STDMETHODCALLTYPE *Reserved )(
296 IAssemblyName * This,
297 /* [in] */ REFIID refIID,
298 /* [in] */ IUnknown *pUnkReserved1,
299 /* [in] */ IUnknown *pUnkReserved2,
300 /* [in] */ LPCOLESTR szReserved,
301 /* [in] */ LONGLONG llReserved,
302 /* [in] */ LPVOID pvReserved,
303 /* [in] */ DWORD cbReserved,
304 /* [out] */ LPVOID *ppReserved);
305
306 HRESULT ( STDMETHODCALLTYPE *GetName )(
307 IAssemblyName * This,
308 /* [annotation][out][in] */
309 _Inout_ LPDWORD lpcwBuffer,
310 /* [annotation][out] */
311 _Out_writes_opt_(*lpcwBuffer) WCHAR *pwzName);
312
313 HRESULT ( STDMETHODCALLTYPE *GetVersion )(
314 IAssemblyName * This,
315 /* [out] */ LPDWORD pdwVersionHi,
316 /* [out] */ LPDWORD pdwVersionLow);
317
318 HRESULT ( STDMETHODCALLTYPE *IsEqual )(
319 IAssemblyName * This,
320 /* [in] */ IAssemblyName *pName,
321 /* [in] */ DWORD dwCmpFlags);
322
323 HRESULT ( STDMETHODCALLTYPE *Clone )(
324 IAssemblyName * This,
325 /* [out] */ IAssemblyName **pName);
326
327 END_INTERFACE
328 } IAssemblyNameVtbl;
329
330 interface IAssemblyName
331 {
332 CONST_VTBL struct IAssemblyNameVtbl *lpVtbl;
333 };
334
335
336
337#ifdef COBJMACROS
338
339
340#define IAssemblyName_QueryInterface(This,riid,ppvObject) \
341 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
342
343#define IAssemblyName_AddRef(This) \
344 ( (This)->lpVtbl -> AddRef(This) )
345
346#define IAssemblyName_Release(This) \
347 ( (This)->lpVtbl -> Release(This) )
348
349
350#define IAssemblyName_SetProperty(This,PropertyId,pvProperty,cbProperty) \
351 ( (This)->lpVtbl -> SetProperty(This,PropertyId,pvProperty,cbProperty) )
352
353#define IAssemblyName_GetProperty(This,PropertyId,pvProperty,pcbProperty) \
354 ( (This)->lpVtbl -> GetProperty(This,PropertyId,pvProperty,pcbProperty) )
355
356#define IAssemblyName_Finalize(This) \
357 ( (This)->lpVtbl -> Finalize(This) )
358
359#define IAssemblyName_GetDisplayName(This,szDisplayName,pccDisplayName,dwDisplayFlags) \
360 ( (This)->lpVtbl -> GetDisplayName(This,szDisplayName,pccDisplayName,dwDisplayFlags) )
361
362#define IAssemblyName_Reserved(This,refIID,pUnkReserved1,pUnkReserved2,szReserved,llReserved,pvReserved,cbReserved,ppReserved) \
363 ( (This)->lpVtbl -> Reserved(This,refIID,pUnkReserved1,pUnkReserved2,szReserved,llReserved,pvReserved,cbReserved,ppReserved) )
364
365#define IAssemblyName_GetName(This,lpcwBuffer,pwzName) \
366 ( (This)->lpVtbl -> GetName(This,lpcwBuffer,pwzName) )
367
368#define IAssemblyName_GetVersion(This,pdwVersionHi,pdwVersionLow) \
369 ( (This)->lpVtbl -> GetVersion(This,pdwVersionHi,pdwVersionLow) )
370
371#define IAssemblyName_IsEqual(This,pName,dwCmpFlags) \
372 ( (This)->lpVtbl -> IsEqual(This,pName,dwCmpFlags) )
373
374#define IAssemblyName_Clone(This,pName) \
375 ( (This)->lpVtbl -> Clone(This,pName) )
376
377#endif /* COBJMACROS */
378
379
380#endif /* C style interface */
381
382
383
384
385#endif /* __IAssemblyName_INTERFACE_DEFINED__ */
386
387
388/* interface __MIDL_itf_fusion_0000_0001 */
389/* [local] */
390
391STDAPI CreateAssemblyNameObject(LPASSEMBLYNAME *ppAssemblyNameObj, LPCWSTR szAssemblyName, DWORD dwFlags, LPVOID pvReserved);
392
393
394extern RPC_IF_HANDLE __MIDL_itf_fusion_0000_0001_v0_0_c_ifspec;
395extern RPC_IF_HANDLE __MIDL_itf_fusion_0000_0001_v0_0_s_ifspec;
396
397/* Additional Prototypes for ALL interfaces */
398
399/* end of Additional Prototypes */
400
401#ifdef __cplusplus
402}
403#endif
404
405#endif
406
407
408