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/* this ALWAYS GENERATED file contains the definitions for the interfaces */
7
8
9 /* File created by MIDL compiler version 8.00.0603 */
10/* @@MIDL_FILE_HEADING( ) */
11
12#pragma warning( disable: 4049 ) /* more than 64k source lines */
13
14
15/* verify that the <rpcndr.h> version is high enough to compile this file*/
16#ifndef __REQUIRED_RPCNDR_H_VERSION__
17#define __REQUIRED_RPCNDR_H_VERSION__ 475
18#endif
19
20#include "rpc.h"
21#include "rpcndr.h"
22
23#ifndef __RPCNDR_H_VERSION__
24#error this stub requires an updated version of <rpcndr.h>
25#endif // __RPCNDR_H_VERSION__
26
27#ifndef COM_NO_WINDOWS_H
28#include "windows.h"
29#include "ole2.h"
30#endif /*COM_NO_WINDOWS_H*/
31
32#ifndef __mscoree_h__
33#define __mscoree_h__
34
35#if defined(_MSC_VER) && (_MSC_VER >= 1020)
36#pragma once
37#endif
38
39/* Forward Declarations */
40
41#ifndef __IDebuggerThreadControl_FWD_DEFINED__
42#define __IDebuggerThreadControl_FWD_DEFINED__
43typedef interface IDebuggerThreadControl IDebuggerThreadControl;
44
45#endif /* __IDebuggerThreadControl_FWD_DEFINED__ */
46
47
48#ifndef __IDebuggerInfo_FWD_DEFINED__
49#define __IDebuggerInfo_FWD_DEFINED__
50typedef interface IDebuggerInfo IDebuggerInfo;
51
52#endif /* __IDebuggerInfo_FWD_DEFINED__ */
53
54
55#ifndef __ICLRErrorReportingManager_FWD_DEFINED__
56#define __ICLRErrorReportingManager_FWD_DEFINED__
57typedef interface ICLRErrorReportingManager ICLRErrorReportingManager;
58
59#endif /* __ICLRErrorReportingManager_FWD_DEFINED__ */
60
61
62#ifndef __ICLRErrorReportingManager2_FWD_DEFINED__
63#define __ICLRErrorReportingManager2_FWD_DEFINED__
64typedef interface ICLRErrorReportingManager2 ICLRErrorReportingManager2;
65
66#endif /* __ICLRErrorReportingManager2_FWD_DEFINED__ */
67
68
69#ifndef __ICLRPolicyManager_FWD_DEFINED__
70#define __ICLRPolicyManager_FWD_DEFINED__
71typedef interface ICLRPolicyManager ICLRPolicyManager;
72
73#endif /* __ICLRPolicyManager_FWD_DEFINED__ */
74
75
76#ifndef __ICLRGCManager_FWD_DEFINED__
77#define __ICLRGCManager_FWD_DEFINED__
78typedef interface ICLRGCManager ICLRGCManager;
79
80#endif /* __ICLRGCManager_FWD_DEFINED__ */
81
82
83#ifndef __ICLRGCManager2_FWD_DEFINED__
84#define __ICLRGCManager2_FWD_DEFINED__
85typedef interface ICLRGCManager2 ICLRGCManager2;
86
87#endif /* __ICLRGCManager2_FWD_DEFINED__ */
88
89
90#ifndef __IHostControl_FWD_DEFINED__
91#define __IHostControl_FWD_DEFINED__
92typedef interface IHostControl IHostControl;
93
94#endif /* __IHostControl_FWD_DEFINED__ */
95
96
97#ifndef __ICLRControl_FWD_DEFINED__
98#define __ICLRControl_FWD_DEFINED__
99typedef interface ICLRControl ICLRControl;
100
101#endif /* __ICLRControl_FWD_DEFINED__ */
102
103
104#ifndef __ICLRRuntimeHost_FWD_DEFINED__
105#define __ICLRRuntimeHost_FWD_DEFINED__
106typedef interface ICLRRuntimeHost ICLRRuntimeHost;
107
108#endif /* __ICLRRuntimeHost_FWD_DEFINED__ */
109
110
111#ifndef __ICLRRuntimeHost2_FWD_DEFINED__
112#define __ICLRRuntimeHost2_FWD_DEFINED__
113typedef interface ICLRRuntimeHost2 ICLRRuntimeHost2;
114
115#endif /* __ICLRRuntimeHost4_FWD_DEFINED__ */
116
117#ifndef __ICLRRuntimeHost4_FWD_DEFINED__
118#define __ICLRRuntimeHost4_FWD_DEFINED__
119typedef interface ICLRRuntimeHost4 ICLRRuntimeHost4;
120
121#endif /* __ICLRRuntimeHost4_FWD_DEFINED__ */
122
123#ifndef __ICLRExecutionManager_FWD_DEFINED__
124#define __ICLRExecutionManager_FWD_DEFINED__
125typedef interface ICLRExecutionManager ICLRExecutionManager;
126
127#endif /* __ICLRExecutionManager_FWD_DEFINED__ */
128
129
130#ifndef __IHostNetCFDebugControlManager_FWD_DEFINED__
131#define __IHostNetCFDebugControlManager_FWD_DEFINED__
132typedef interface IHostNetCFDebugControlManager IHostNetCFDebugControlManager;
133
134#endif /* __IHostNetCFDebugControlManager_FWD_DEFINED__ */
135
136
137#ifndef __ITypeName_FWD_DEFINED__
138#define __ITypeName_FWD_DEFINED__
139typedef interface ITypeName ITypeName;
140
141#endif /* __ITypeName_FWD_DEFINED__ */
142
143
144#ifndef __ITypeNameBuilder_FWD_DEFINED__
145#define __ITypeNameBuilder_FWD_DEFINED__
146typedef interface ITypeNameBuilder ITypeNameBuilder;
147
148#endif /* __ITypeNameBuilder_FWD_DEFINED__ */
149
150
151#ifndef __ITypeNameFactory_FWD_DEFINED__
152#define __ITypeNameFactory_FWD_DEFINED__
153typedef interface ITypeNameFactory ITypeNameFactory;
154
155#endif /* __ITypeNameFactory_FWD_DEFINED__ */
156
157
158#ifndef __IManagedObject_FWD_DEFINED__
159#define __IManagedObject_FWD_DEFINED__
160typedef interface IManagedObject IManagedObject;
161
162#endif /* __IManagedObject_FWD_DEFINED__ */
163
164
165#ifndef __ComCallUnmarshal_FWD_DEFINED__
166#define __ComCallUnmarshal_FWD_DEFINED__
167
168#ifdef __cplusplus
169typedef class ComCallUnmarshal ComCallUnmarshal;
170#else
171typedef struct ComCallUnmarshal ComCallUnmarshal;
172#endif /* __cplusplus */
173
174#endif /* __ComCallUnmarshal_FWD_DEFINED__ */
175
176
177#ifndef __ComCallUnmarshalV4_FWD_DEFINED__
178#define __ComCallUnmarshalV4_FWD_DEFINED__
179
180#ifdef __cplusplus
181typedef class ComCallUnmarshalV4 ComCallUnmarshalV4;
182#else
183typedef struct ComCallUnmarshalV4 ComCallUnmarshalV4;
184#endif /* __cplusplus */
185
186#endif /* __ComCallUnmarshalV4_FWD_DEFINED__ */
187
188
189#ifndef __CLRRuntimeHost_FWD_DEFINED__
190#define __CLRRuntimeHost_FWD_DEFINED__
191
192#ifdef __cplusplus
193typedef class CLRRuntimeHost CLRRuntimeHost;
194#else
195typedef struct CLRRuntimeHost CLRRuntimeHost;
196#endif /* __cplusplus */
197
198#endif /* __CLRRuntimeHost_FWD_DEFINED__ */
199
200
201#ifndef __TypeNameFactory_FWD_DEFINED__
202#define __TypeNameFactory_FWD_DEFINED__
203
204#ifdef __cplusplus
205typedef class TypeNameFactory TypeNameFactory;
206#else
207typedef struct TypeNameFactory TypeNameFactory;
208#endif /* __cplusplus */
209
210#endif /* __TypeNameFactory_FWD_DEFINED__ */
211
212
213#ifndef __ICLRAppDomainResourceMonitor_FWD_DEFINED__
214#define __ICLRAppDomainResourceMonitor_FWD_DEFINED__
215typedef interface ICLRAppDomainResourceMonitor ICLRAppDomainResourceMonitor;
216
217#endif /* __ICLRAppDomainResourceMonitor_FWD_DEFINED__ */
218
219
220/* header files for imported files */
221#include "unknwn.h"
222#include "gchost.h"
223
224#ifdef __cplusplus
225extern "C"{
226#endif
227
228
229/* interface __MIDL_itf_mscoree_0000_0000 */
230/* [local] */
231
232#define DECLARE_DEPRECATED
233#define DEPRECATED_CLR_STDAPI STDAPI
234
235struct IActivationFactory;
236
237EXTERN_GUID(CLSID_TypeNameFactory, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x25);
238EXTERN_GUID(CLSID_ComCallUnmarshal, 0x3F281000,0xE95A,0x11d2,0x88,0x6B,0x00,0xC0,0x4F,0x86,0x9F,0x04);
239EXTERN_GUID(CLSID_ComCallUnmarshalV4, 0x45fb4600,0xe6e8,0x4928,0xb2,0x5e,0x50,0x47,0x6f,0xf7,0x94,0x25);
240EXTERN_GUID(IID_IManagedObject, 0xc3fcc19e, 0xa970, 0x11d2, 0x8b, 0x5a, 0x00, 0xa0, 0xc9, 0xb7, 0xc9, 0xc4);
241EXTERN_GUID(IID_ICLRAppDomainResourceMonitor, 0XC62DE18C, 0X2E23, 0X4AEA, 0X84, 0X23, 0XB4, 0X0C, 0X1F, 0XC5, 0X9E, 0XAE);
242EXTERN_GUID(IID_ICLRPolicyManager, 0x7D290010, 0xD781, 0x45da, 0xA6, 0xF8, 0xAA, 0x5D, 0x71, 0x1A, 0x73, 0x0E);
243EXTERN_GUID(IID_ICLRGCManager, 0x54D9007E, 0xA8E2, 0x4885, 0xB7, 0xBF, 0xF9, 0x98, 0xDE, 0xEE, 0x4F, 0x2A);
244EXTERN_GUID(IID_ICLRGCManager2, 0x0603B793, 0xA97A, 0x4712, 0x9C, 0xB4, 0x0C, 0xD1, 0xC7, 0x4C, 0x0F, 0x7C);
245EXTERN_GUID(IID_ICLRErrorReportingManager, 0x980d2f1a, 0xbf79, 0x4c08, 0x81, 0x2a, 0xbb, 0x97, 0x78, 0x92, 0x8f, 0x78);
246EXTERN_GUID(IID_ICLRErrorReportingManager2, 0xc68f63b1, 0x4d8b, 0x4e0b, 0x95, 0x64, 0x9d, 0x2e, 0xfe, 0x2f, 0xa1, 0x8c);
247EXTERN_GUID(IID_ICLRRuntimeHost, 0x90F1A06C, 0x7712, 0x4762, 0x86, 0xB5, 0x7A, 0x5E, 0xBA, 0x6B, 0xDB, 0x02);
248EXTERN_GUID(IID_ICLRRuntimeHost2, 0x712AB73F, 0x2C22, 0x4807, 0xAD, 0x7E, 0xF5, 0x01, 0xD7, 0xb7, 0x2C, 0x2D);
249EXTERN_GUID(IID_ICLRRuntimeHost4, 0x64F6D366, 0xD7C2, 0x4F1F, 0xB4, 0xB2, 0xE8, 0x16, 0x0C, 0xAC, 0x43, 0xAF);
250EXTERN_GUID(IID_ICLRExecutionManager, 0x1000A3E7, 0xB420, 0x4620, 0xAE, 0x30, 0xFB, 0x19, 0xB5, 0x87, 0xAD, 0x1D);
251EXTERN_GUID(IID_ITypeName, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x22);
252EXTERN_GUID(IID_ITypeNameBuilder, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x23);
253EXTERN_GUID(IID_ITypeNameFactory, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x21);
254DEPRECATED_CLR_STDAPI GetCORSystemDirectory(_Out_writes_to_(cchBuffer, *dwLength) LPWSTR pbuffer, DWORD cchBuffer, DWORD* dwLength);
255DEPRECATED_CLR_STDAPI GetCORVersion(_Out_writes_to_(cchBuffer, *dwLength) LPWSTR pbBuffer, DWORD cchBuffer, DWORD* dwLength);
256DEPRECATED_CLR_STDAPI GetFileVersion(LPCWSTR szFilename, _Out_writes_to_opt_(cchBuffer, *dwLength) LPWSTR szBuffer, DWORD cchBuffer, DWORD* dwLength);
257DEPRECATED_CLR_STDAPI GetCORRequiredVersion(_Out_writes_to_(cchBuffer, *dwLength) LPWSTR pbuffer, DWORD cchBuffer, DWORD* dwLength);
258DEPRECATED_CLR_STDAPI GetRequestedRuntimeInfo(LPCWSTR pExe, LPCWSTR pwszVersion, LPCWSTR pConfigurationFile, DWORD startupFlags, DWORD runtimeInfoFlags, _Out_writes_opt_(dwDirectory) LPWSTR pDirectory, DWORD dwDirectory, _Out_opt_ DWORD *dwDirectoryLength, _Out_writes_opt_(cchBuffer) LPWSTR pVersion, DWORD cchBuffer, _Out_opt_ DWORD* dwlength);
259DEPRECATED_CLR_STDAPI GetRequestedRuntimeVersion(_In_ LPWSTR pExe, _Out_writes_to_(cchBuffer, *dwLength) LPWSTR pVersion, DWORD cchBuffer, _Out_ DWORD* dwLength);
260DEPRECATED_CLR_STDAPI CorBindToRuntimeHost(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, LPCWSTR pwszHostConfigFile, VOID* pReserved, DWORD startupFlags, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
261DEPRECATED_CLR_STDAPI CorBindToRuntimeEx(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, DWORD startupFlags, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
262DEPRECATED_CLR_STDAPI CorBindToRuntimeByCfg(IStream* pCfgStream, DWORD reserved, DWORD startupFlags, REFCLSID rclsid,REFIID riid, LPVOID FAR* ppv);
263DEPRECATED_CLR_STDAPI CorBindToRuntime(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
264DEPRECATED_CLR_STDAPI CorBindToCurrentRuntime(LPCWSTR pwszFileName, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
265DEPRECATED_CLR_STDAPI ClrCreateManagedInstance(LPCWSTR pTypeName, REFIID riid, void **ppObject);
266DEPRECATED_CLR_STDAPI RunDll32ShimW(HWND hwnd, HINSTANCE hinst, LPCWSTR lpszCmdLine, int nCmdShow);
267DEPRECATED_CLR_STDAPI LoadLibraryShim(LPCWSTR szDllName, LPCWSTR szVersion, LPVOID pvReserved, HMODULE *phModDll);
268DEPRECATED_CLR_STDAPI CallFunctionShim(LPCWSTR szDllName, LPCSTR szFunctionName, LPVOID lpvArgument1, LPVOID lpvArgument2, LPCWSTR szVersion, LPVOID pvReserved);
269DEPRECATED_CLR_STDAPI GetRealProcAddress(LPCSTR pwszProcName, VOID** ppv);
270DECLARE_DEPRECATED void STDMETHODCALLTYPE CorExitProcess(int exitCode);
271DEPRECATED_CLR_STDAPI LoadStringRC(UINT iResouceID, _Out_writes_z_(iMax) LPWSTR szBuffer, int iMax, int bQuiet);
272typedef HRESULT (STDAPICALLTYPE *FnGetCLRRuntimeHost)(REFIID riid, IUnknown **pUnk);
273typedef /* [public] */
274enum __MIDL___MIDL_itf_mscoree_0000_0000_0001
275 {
276 HOST_TYPE_DEFAULT = 0,
277 HOST_TYPE_APPLAUNCH = 0x1,
278 HOST_TYPE_CORFLAG = 0x2
279 } HOST_TYPE;
280
281STDAPI CorLaunchApplication(HOST_TYPE dwClickOnceHost, LPCWSTR pwzAppFullName, DWORD dwManifestPaths, LPCWSTR* ppwzManifestPaths, DWORD dwActivationData, LPCWSTR* ppwzActivationData, LPPROCESS_INFORMATION lpProcessInformation);
282typedef HRESULT ( __stdcall *FExecuteInAppDomainCallback )(
283 void *cookie);
284
285typedef /* [public][public] */
286enum __MIDL___MIDL_itf_mscoree_0000_0000_0002
287 {
288 STARTUP_CONCURRENT_GC = 0x1,
289 STARTUP_LOADER_OPTIMIZATION_MASK = ( 0x3 << 1 ) ,
290 STARTUP_LOADER_OPTIMIZATION_SINGLE_DOMAIN = ( 0x1 << 1 ) ,
291 STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN = ( 0x2 << 1 ) ,
292 STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN_HOST = ( 0x3 << 1 ) ,
293 STARTUP_LOADER_SAFEMODE = 0x10,
294 STARTUP_LOADER_SETPREFERENCE = 0x100,
295 STARTUP_SERVER_GC = 0x1000,
296 STARTUP_HOARD_GC_VM = 0x2000,
297 STARTUP_SINGLE_VERSION_HOSTING_INTERFACE = 0x4000,
298 STARTUP_LEGACY_IMPERSONATION = 0x10000,
299 STARTUP_DISABLE_COMMITTHREADSTACK = 0x20000,
300 STARTUP_ALWAYSFLOW_IMPERSONATION = 0x40000,
301 STARTUP_TRIM_GC_COMMIT = 0x80000,
302 STARTUP_ETW = 0x100000,
303 STARTUP_ARM = 0x400000,
304 STARTUP_SINGLE_APPDOMAIN = 0x800000,
305 STARTUP_APPX_APP_MODEL = 0x1000000,
306 STARTUP_DISABLE_RANDOMIZED_STRING_HASHING = 0x2000000 // not supported
307 } STARTUP_FLAGS;
308
309typedef /* [public] */
310enum __MIDL___MIDL_itf_mscoree_0000_0000_0003
311 {
312 CLSID_RESOLUTION_DEFAULT = 0,
313 CLSID_RESOLUTION_REGISTERED = 0x1
314 } CLSID_RESOLUTION_FLAGS;
315
316typedef /* [public] */
317enum __MIDL___MIDL_itf_mscoree_0000_0000_0004
318 {
319 RUNTIME_INFO_UPGRADE_VERSION = 0x1,
320 RUNTIME_INFO_REQUEST_IA64 = 0x2,
321 RUNTIME_INFO_REQUEST_AMD64 = 0x4,
322 RUNTIME_INFO_REQUEST_X86 = 0x8,
323 RUNTIME_INFO_DONT_RETURN_DIRECTORY = 0x10,
324 RUNTIME_INFO_DONT_RETURN_VERSION = 0x20,
325 RUNTIME_INFO_DONT_SHOW_ERROR_DIALOG = 0x40,
326 RUNTIME_INFO_IGNORE_ERROR_MODE = 0x1000
327 } RUNTIME_INFO_FLAGS;
328
329typedef /* [public] */
330enum __MIDL___MIDL_itf_mscoree_0000_0000_0005
331 {
332 APPDOMAIN_SECURITY_DEFAULT = 0,
333 APPDOMAIN_SECURITY_SANDBOXED = 0x1,
334 APPDOMAIN_SECURITY_FORBID_CROSSAD_REVERSE_PINVOKE = 0x2,
335 APPDOMAIN_IGNORE_UNHANDLED_EXCEPTIONS = 0x4,
336 APPDOMAIN_FORCE_TRIVIAL_WAIT_OPERATIONS = 0x8,
337 APPDOMAIN_ENABLE_PINVOKE_AND_CLASSIC_COMINTEROP = 0x10,
338 APPDOMAIN_SET_TEST_KEY = 0x20,
339 APPDOMAIN_ENABLE_PLATFORM_SPECIFIC_APPS = 0x40,
340 APPDOMAIN_ENABLE_ASSEMBLY_LOADFILE = 0x80,
341 APPDOMAIN_DISABLE_TRANSPARENCY_ENFORCEMENT = 0x100
342 } APPDOMAIN_SECURITY_FLAGS;
343
344STDAPI GetRequestedRuntimeVersionForCLSID(REFCLSID rclsid, _Out_writes_opt_(cchBuffer) LPWSTR pVersion, DWORD cchBuffer, _Out_opt_ DWORD* dwLength, CLSID_RESOLUTION_FLAGS dwResolutionFlags);
345EXTERN_GUID(IID_IDebuggerThreadControl, 0x23d86786, 0x0bb5, 0x4774, 0x8f, 0xb5, 0xe3, 0x52, 0x2a, 0xdd, 0x62, 0x46);
346
347
348extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0000_v0_0_c_ifspec;
349extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0000_v0_0_s_ifspec;
350
351#ifndef __IDebuggerThreadControl_INTERFACE_DEFINED__
352#define __IDebuggerThreadControl_INTERFACE_DEFINED__
353
354/* interface IDebuggerThreadControl */
355/* [object][local][unique][helpstring][version][uuid] */
356
357
358EXTERN_C const IID IID_IDebuggerThreadControl;
359
360#if defined(__cplusplus) && !defined(CINTERFACE)
361
362 MIDL_INTERFACE("23D86786-0BB5-4774-8FB5-E3522ADD6246")
363 IDebuggerThreadControl : public IUnknown
364 {
365 public:
366 virtual HRESULT STDMETHODCALLTYPE ThreadIsBlockingForDebugger( void) = 0;
367
368 virtual HRESULT STDMETHODCALLTYPE ReleaseAllRuntimeThreads( void) = 0;
369
370 virtual HRESULT STDMETHODCALLTYPE StartBlockingForDebugger(
371 DWORD dwUnused) = 0;
372
373 };
374
375
376#else /* C style interface */
377
378 typedef struct IDebuggerThreadControlVtbl
379 {
380 BEGIN_INTERFACE
381
382 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
383 IDebuggerThreadControl * This,
384 /* [in] */ REFIID riid,
385 /* [annotation][iid_is][out] */
386 _COM_Outptr_ void **ppvObject);
387
388 ULONG ( STDMETHODCALLTYPE *AddRef )(
389 IDebuggerThreadControl * This);
390
391 ULONG ( STDMETHODCALLTYPE *Release )(
392 IDebuggerThreadControl * This);
393
394 HRESULT ( STDMETHODCALLTYPE *ThreadIsBlockingForDebugger )(
395 IDebuggerThreadControl * This);
396
397 HRESULT ( STDMETHODCALLTYPE *ReleaseAllRuntimeThreads )(
398 IDebuggerThreadControl * This);
399
400 HRESULT ( STDMETHODCALLTYPE *StartBlockingForDebugger )(
401 IDebuggerThreadControl * This,
402 DWORD dwUnused);
403
404 END_INTERFACE
405 } IDebuggerThreadControlVtbl;
406
407 interface IDebuggerThreadControl
408 {
409 CONST_VTBL struct IDebuggerThreadControlVtbl *lpVtbl;
410 };
411
412
413
414#ifdef COBJMACROS
415
416
417#define IDebuggerThreadControl_QueryInterface(This,riid,ppvObject) \
418 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
419
420#define IDebuggerThreadControl_AddRef(This) \
421 ( (This)->lpVtbl -> AddRef(This) )
422
423#define IDebuggerThreadControl_Release(This) \
424 ( (This)->lpVtbl -> Release(This) )
425
426
427#define IDebuggerThreadControl_ThreadIsBlockingForDebugger(This) \
428 ( (This)->lpVtbl -> ThreadIsBlockingForDebugger(This) )
429
430#define IDebuggerThreadControl_ReleaseAllRuntimeThreads(This) \
431 ( (This)->lpVtbl -> ReleaseAllRuntimeThreads(This) )
432
433#define IDebuggerThreadControl_StartBlockingForDebugger(This,dwUnused) \
434 ( (This)->lpVtbl -> StartBlockingForDebugger(This,dwUnused) )
435
436#endif /* COBJMACROS */
437
438
439#endif /* C style interface */
440
441
442
443
444#endif /* __IDebuggerThreadControl_INTERFACE_DEFINED__ */
445
446
447/* interface __MIDL_itf_mscoree_0000_0001 */
448/* [local] */
449
450EXTERN_GUID(IID_IDebuggerInfo, 0xbf24142d, 0xa47d, 0x4d24, 0xa6, 0x6d, 0x8c, 0x21, 0x41, 0x94, 0x4e, 0x44);
451
452
453extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0001_v0_0_c_ifspec;
454extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0001_v0_0_s_ifspec;
455
456#ifndef __IDebuggerInfo_INTERFACE_DEFINED__
457#define __IDebuggerInfo_INTERFACE_DEFINED__
458
459/* interface IDebuggerInfo */
460/* [object][local][unique][helpstring][version][uuid] */
461
462
463EXTERN_C const IID IID_IDebuggerInfo;
464
465#if defined(__cplusplus) && !defined(CINTERFACE)
466
467 MIDL_INTERFACE("BF24142D-A47D-4d24-A66D-8C2141944E44")
468 IDebuggerInfo : public IUnknown
469 {
470 public:
471 virtual HRESULT STDMETHODCALLTYPE IsDebuggerAttached(
472 /* [out] */ BOOL *pbAttached) = 0;
473
474 };
475
476
477#else /* C style interface */
478
479 typedef struct IDebuggerInfoVtbl
480 {
481 BEGIN_INTERFACE
482
483 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
484 IDebuggerInfo * This,
485 /* [in] */ REFIID riid,
486 /* [annotation][iid_is][out] */
487 _COM_Outptr_ void **ppvObject);
488
489 ULONG ( STDMETHODCALLTYPE *AddRef )(
490 IDebuggerInfo * This);
491
492 ULONG ( STDMETHODCALLTYPE *Release )(
493 IDebuggerInfo * This);
494
495 HRESULT ( STDMETHODCALLTYPE *IsDebuggerAttached )(
496 IDebuggerInfo * This,
497 /* [out] */ BOOL *pbAttached);
498
499 END_INTERFACE
500 } IDebuggerInfoVtbl;
501
502 interface IDebuggerInfo
503 {
504 CONST_VTBL struct IDebuggerInfoVtbl *lpVtbl;
505 };
506
507
508
509#ifdef COBJMACROS
510
511
512#define IDebuggerInfo_QueryInterface(This,riid,ppvObject) \
513 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
514
515#define IDebuggerInfo_AddRef(This) \
516 ( (This)->lpVtbl -> AddRef(This) )
517
518#define IDebuggerInfo_Release(This) \
519 ( (This)->lpVtbl -> Release(This) )
520
521
522#define IDebuggerInfo_IsDebuggerAttached(This,pbAttached) \
523 ( (This)->lpVtbl -> IsDebuggerAttached(This,pbAttached) )
524
525#endif /* COBJMACROS */
526
527
528#endif /* C style interface */
529
530
531
532
533#endif /* __IDebuggerInfo_INTERFACE_DEFINED__ */
534
535
536/* interface __MIDL_itf_mscoree_0000_0002 */
537/* [local] */
538
539typedef void *HDOMAINENUM;
540
541typedef /* [public] */
542enum __MIDL___MIDL_itf_mscoree_0000_0002_0001
543 {
544 eMemoryAvailableLow = 1,
545 eMemoryAvailableNeutral = 2,
546 eMemoryAvailableHigh = 3
547 } EMemoryAvailable;
548
549typedef /* [public] */
550enum __MIDL___MIDL_itf_mscoree_0000_0002_0002
551 {
552 eTaskCritical = 0,
553 eAppDomainCritical = 1,
554 eProcessCritical = 2
555 } EMemoryCriticalLevel;
556
557typedef /* [public] */
558enum __MIDL___MIDL_itf_mscoree_0000_0002_0003
559 {
560 WAIT_MSGPUMP = 0x1,
561 WAIT_ALERTABLE = 0x2,
562 WAIT_NOTINDEADLOCK = 0x4
563 } WAIT_OPTION;
564
565typedef UINT64 TASKID;
566
567typedef DWORD CONNID;
568
569typedef
570enum ETaskType
571 {
572 TT_DEBUGGERHELPER = 0x1,
573 TT_GC = 0x2,
574 TT_FINALIZER = 0x4,
575 TT_THREADPOOL_TIMER = 0x8,
576 TT_THREADPOOL_GATE = 0x10,
577 TT_THREADPOOL_WORKER = 0x20,
578 TT_THREADPOOL_IOCOMPLETION = 0x40,
579 TT_ADUNLOAD = 0x80,
580 TT_USER = 0x100,
581 TT_THREADPOOL_WAIT = 0x200,
582 TT_UNKNOWN = 0x80000000
583 } ETaskType;
584
585typedef /* [public] */
586enum __MIDL___MIDL_itf_mscoree_0000_0002_0004
587 {
588 eSymbolReadingNever = 0,
589 eSymbolReadingAlways = 1,
590 eSymbolReadingFullTrustOnly = 2
591 } ESymbolReadingPolicy;
592
593typedef /* [public][public] */
594enum __MIDL___MIDL_itf_mscoree_0000_0002_0005
595 {
596 DUMP_FLAVOR_Mini = 0,
597 DUMP_FLAVOR_CriticalCLRState = 1,
598 DUMP_FLAVOR_NonHeapCLRState = 2,
599 DUMP_FLAVOR_Default = DUMP_FLAVOR_Mini
600 } ECustomDumpFlavor;
601
602typedef /* [public][public][public] */
603enum __MIDL___MIDL_itf_mscoree_0000_0002_0006
604 {
605 DUMP_ITEM_None = 0
606 } ECustomDumpItemKind;
607
608typedef /* [public][public] */ struct __MIDL___MIDL_itf_mscoree_0000_0002_0007
609 {
610 ECustomDumpItemKind itemKind;
611 union
612 {
613 UINT_PTR pReserved;
614 } ;
615 } CustomDumpItem;
616
617#define BucketParamsCount ( 10 )
618
619#define BucketParamLength ( 255 )
620
621typedef /* [public] */
622enum __MIDL___MIDL_itf_mscoree_0000_0002_0009
623 {
624 Parameter1 = 0,
625 Parameter2 = ( Parameter1 + 1 ) ,
626 Parameter3 = ( Parameter2 + 1 ) ,
627 Parameter4 = ( Parameter3 + 1 ) ,
628 Parameter5 = ( Parameter4 + 1 ) ,
629 Parameter6 = ( Parameter5 + 1 ) ,
630 Parameter7 = ( Parameter6 + 1 ) ,
631 Parameter8 = ( Parameter7 + 1 ) ,
632 Parameter9 = ( Parameter8 + 1 ) ,
633 InvalidBucketParamIndex = ( Parameter9 + 1 )
634 } BucketParameterIndex;
635
636typedef struct _BucketParameters
637 {
638 BOOL fInited;
639 WCHAR pszEventTypeName[ 255 ];
640 WCHAR pszParams[ 10 ][ 255 ];
641 } BucketParameters;
642
643
644
645extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0002_v0_0_c_ifspec;
646extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0002_v0_0_s_ifspec;
647
648#ifndef __ICLRErrorReportingManager_INTERFACE_DEFINED__
649#define __ICLRErrorReportingManager_INTERFACE_DEFINED__
650
651/* interface ICLRErrorReportingManager */
652/* [object][local][unique][helpstring][version][uuid] */
653
654
655EXTERN_C const IID IID_ICLRErrorReportingManager;
656
657#if defined(__cplusplus) && !defined(CINTERFACE)
658
659 MIDL_INTERFACE("980D2F1A-BF79-4c08-812A-BB9778928F78")
660 ICLRErrorReportingManager : public IUnknown
661 {
662 public:
663 virtual HRESULT STDMETHODCALLTYPE GetBucketParametersForCurrentException(
664 /* [out] */ BucketParameters *pParams) = 0;
665
666 virtual HRESULT STDMETHODCALLTYPE BeginCustomDump(
667 /* [in] */ ECustomDumpFlavor dwFlavor,
668 /* [in] */ DWORD dwNumItems,
669 /* [length_is][size_is][in] */ CustomDumpItem *items,
670 DWORD dwReserved) = 0;
671
672 virtual HRESULT STDMETHODCALLTYPE EndCustomDump( void) = 0;
673
674 };
675
676
677#else /* C style interface */
678
679 typedef struct ICLRErrorReportingManagerVtbl
680 {
681 BEGIN_INTERFACE
682
683 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
684 ICLRErrorReportingManager * This,
685 /* [in] */ REFIID riid,
686 /* [annotation][iid_is][out] */
687 _COM_Outptr_ void **ppvObject);
688
689 ULONG ( STDMETHODCALLTYPE *AddRef )(
690 ICLRErrorReportingManager * This);
691
692 ULONG ( STDMETHODCALLTYPE *Release )(
693 ICLRErrorReportingManager * This);
694
695 HRESULT ( STDMETHODCALLTYPE *GetBucketParametersForCurrentException )(
696 ICLRErrorReportingManager * This,
697 /* [out] */ BucketParameters *pParams);
698
699 HRESULT ( STDMETHODCALLTYPE *BeginCustomDump )(
700 ICLRErrorReportingManager * This,
701 /* [in] */ ECustomDumpFlavor dwFlavor,
702 /* [in] */ DWORD dwNumItems,
703 /* [length_is][size_is][in] */ CustomDumpItem *items,
704 DWORD dwReserved);
705
706 HRESULT ( STDMETHODCALLTYPE *EndCustomDump )(
707 ICLRErrorReportingManager * This);
708
709 END_INTERFACE
710 } ICLRErrorReportingManagerVtbl;
711
712 interface ICLRErrorReportingManager
713 {
714 CONST_VTBL struct ICLRErrorReportingManagerVtbl *lpVtbl;
715 };
716
717
718
719#ifdef COBJMACROS
720
721
722#define ICLRErrorReportingManager_QueryInterface(This,riid,ppvObject) \
723 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
724
725#define ICLRErrorReportingManager_AddRef(This) \
726 ( (This)->lpVtbl -> AddRef(This) )
727
728#define ICLRErrorReportingManager_Release(This) \
729 ( (This)->lpVtbl -> Release(This) )
730
731
732#define ICLRErrorReportingManager_GetBucketParametersForCurrentException(This,pParams) \
733 ( (This)->lpVtbl -> GetBucketParametersForCurrentException(This,pParams) )
734
735#define ICLRErrorReportingManager_BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) \
736 ( (This)->lpVtbl -> BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) )
737
738#define ICLRErrorReportingManager_EndCustomDump(This) \
739 ( (This)->lpVtbl -> EndCustomDump(This) )
740
741#endif /* COBJMACROS */
742
743
744#endif /* C style interface */
745
746
747
748
749#endif /* __ICLRErrorReportingManager_INTERFACE_DEFINED__ */
750
751
752/* interface __MIDL_itf_mscoree_0000_0003 */
753/* [local] */
754
755typedef /* [public][public] */
756enum __MIDL___MIDL_itf_mscoree_0000_0003_0001
757 {
758 ApplicationID = 0x1,
759 InstanceID = 0x2
760 } ApplicationDataKey;
761
762
763
764extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0003_v0_0_c_ifspec;
765extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0003_v0_0_s_ifspec;
766
767#ifndef __ICLRErrorReportingManager2_INTERFACE_DEFINED__
768#define __ICLRErrorReportingManager2_INTERFACE_DEFINED__
769
770/* interface ICLRErrorReportingManager2 */
771/* [object][local][unique][helpstring][version][uuid] */
772
773
774EXTERN_C const IID IID_ICLRErrorReportingManager2;
775
776#if defined(__cplusplus) && !defined(CINTERFACE)
777
778 MIDL_INTERFACE("C68F63B1-4D8B-4E0B-9564-9D2EFE2FA18C")
779 ICLRErrorReportingManager2 : public ICLRErrorReportingManager
780 {
781 public:
782 virtual HRESULT STDMETHODCALLTYPE SetApplicationData(
783 /* [in] */ ApplicationDataKey key,
784 /* [in] */ const WCHAR *pValue) = 0;
785
786 virtual HRESULT STDMETHODCALLTYPE SetBucketParametersForUnhandledException(
787 /* [in] */ const BucketParameters *pBucketParams,
788 /* [out] */ DWORD *pCountParams) = 0;
789
790 };
791
792
793#else /* C style interface */
794
795 typedef struct ICLRErrorReportingManager2Vtbl
796 {
797 BEGIN_INTERFACE
798
799 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
800 ICLRErrorReportingManager2 * This,
801 /* [in] */ REFIID riid,
802 /* [annotation][iid_is][out] */
803 _COM_Outptr_ void **ppvObject);
804
805 ULONG ( STDMETHODCALLTYPE *AddRef )(
806 ICLRErrorReportingManager2 * This);
807
808 ULONG ( STDMETHODCALLTYPE *Release )(
809 ICLRErrorReportingManager2 * This);
810
811 HRESULT ( STDMETHODCALLTYPE *GetBucketParametersForCurrentException )(
812 ICLRErrorReportingManager2 * This,
813 /* [out] */ BucketParameters *pParams);
814
815 HRESULT ( STDMETHODCALLTYPE *BeginCustomDump )(
816 ICLRErrorReportingManager2 * This,
817 /* [in] */ ECustomDumpFlavor dwFlavor,
818 /* [in] */ DWORD dwNumItems,
819 /* [length_is][size_is][in] */ CustomDumpItem *items,
820 DWORD dwReserved);
821
822 HRESULT ( STDMETHODCALLTYPE *EndCustomDump )(
823 ICLRErrorReportingManager2 * This);
824
825 HRESULT ( STDMETHODCALLTYPE *SetApplicationData )(
826 ICLRErrorReportingManager2 * This,
827 /* [in] */ ApplicationDataKey key,
828 /* [in] */ const WCHAR *pValue);
829
830 HRESULT ( STDMETHODCALLTYPE *SetBucketParametersForUnhandledException )(
831 ICLRErrorReportingManager2 * This,
832 /* [in] */ const BucketParameters *pBucketParams,
833 /* [out] */ DWORD *pCountParams);
834
835 END_INTERFACE
836 } ICLRErrorReportingManager2Vtbl;
837
838 interface ICLRErrorReportingManager2
839 {
840 CONST_VTBL struct ICLRErrorReportingManager2Vtbl *lpVtbl;
841 };
842
843
844
845#ifdef COBJMACROS
846
847
848#define ICLRErrorReportingManager2_QueryInterface(This,riid,ppvObject) \
849 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
850
851#define ICLRErrorReportingManager2_AddRef(This) \
852 ( (This)->lpVtbl -> AddRef(This) )
853
854#define ICLRErrorReportingManager2_Release(This) \
855 ( (This)->lpVtbl -> Release(This) )
856
857
858#define ICLRErrorReportingManager2_GetBucketParametersForCurrentException(This,pParams) \
859 ( (This)->lpVtbl -> GetBucketParametersForCurrentException(This,pParams) )
860
861#define ICLRErrorReportingManager2_BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) \
862 ( (This)->lpVtbl -> BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) )
863
864#define ICLRErrorReportingManager2_EndCustomDump(This) \
865 ( (This)->lpVtbl -> EndCustomDump(This) )
866
867
868#define ICLRErrorReportingManager2_SetApplicationData(This,key,pValue) \
869 ( (This)->lpVtbl -> SetApplicationData(This,key,pValue) )
870
871#define ICLRErrorReportingManager2_SetBucketParametersForUnhandledException(This,pBucketParams,pCountParams) \
872 ( (This)->lpVtbl -> SetBucketParametersForUnhandledException(This,pBucketParams,pCountParams) )
873
874#endif /* COBJMACROS */
875
876
877#endif /* C style interface */
878
879
880
881
882#endif /* __ICLRErrorReportingManager2_INTERFACE_DEFINED__ */
883
884
885/* interface __MIDL_itf_mscoree_0000_0004 */
886/* [local] */
887
888typedef /* [public][public][public][public][public] */
889enum __MIDL___MIDL_itf_mscoree_0000_0004_0001
890 {
891 OPR_ThreadAbort = 0,
892 OPR_ThreadRudeAbortInNonCriticalRegion = ( OPR_ThreadAbort + 1 ) ,
893 OPR_ThreadRudeAbortInCriticalRegion = ( OPR_ThreadRudeAbortInNonCriticalRegion + 1 ) ,
894 OPR_AppDomainUnload = ( OPR_ThreadRudeAbortInCriticalRegion + 1 ) ,
895 OPR_AppDomainRudeUnload = ( OPR_AppDomainUnload + 1 ) ,
896 OPR_ProcessExit = ( OPR_AppDomainRudeUnload + 1 ) ,
897 OPR_FinalizerRun = ( OPR_ProcessExit + 1 ) ,
898 MaxClrOperation = ( OPR_FinalizerRun + 1 )
899 } EClrOperation;
900
901typedef /* [public][public] */
902enum __MIDL___MIDL_itf_mscoree_0000_0004_0002
903 {
904 FAIL_NonCriticalResource = 0,
905 FAIL_CriticalResource = ( FAIL_NonCriticalResource + 1 ) ,
906 FAIL_FatalRuntime = ( FAIL_CriticalResource + 1 ) ,
907 FAIL_OrphanedLock = ( FAIL_FatalRuntime + 1 ) ,
908 FAIL_StackOverflow = ( FAIL_OrphanedLock + 1 ) ,
909 FAIL_AccessViolation = ( FAIL_StackOverflow + 1 ) ,
910 FAIL_CodeContract = ( FAIL_AccessViolation + 1 ) ,
911 MaxClrFailure = ( FAIL_CodeContract + 1 )
912 } EClrFailure;
913
914typedef /* [public][public] */
915enum __MIDL___MIDL_itf_mscoree_0000_0004_0003
916 {
917 eRuntimeDeterminedPolicy = 0,
918 eHostDeterminedPolicy = ( eRuntimeDeterminedPolicy + 1 )
919 } EClrUnhandledException;
920
921typedef /* [public][public][public][public][public] */
922enum __MIDL___MIDL_itf_mscoree_0000_0004_0004
923 {
924 eNoAction = 0,
925 eThrowException = ( eNoAction + 1 ) ,
926 eAbortThread = ( eThrowException + 1 ) ,
927 eRudeAbortThread = ( eAbortThread + 1 ) ,
928 eUnloadAppDomain = ( eRudeAbortThread + 1 ) ,
929 eRudeUnloadAppDomain = ( eUnloadAppDomain + 1 ) ,
930 eExitProcess = ( eRudeUnloadAppDomain + 1 ) ,
931 eFastExitProcess = ( eExitProcess + 1 ) ,
932 eRudeExitProcess = ( eFastExitProcess + 1 ) ,
933 eDisableRuntime = ( eRudeExitProcess + 1 ) ,
934 MaxPolicyAction = ( eDisableRuntime + 1 )
935 } EPolicyAction;
936
937
938
939extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0004_v0_0_c_ifspec;
940extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0004_v0_0_s_ifspec;
941
942#ifndef __ICLRPolicyManager_INTERFACE_DEFINED__
943#define __ICLRPolicyManager_INTERFACE_DEFINED__
944
945/* interface ICLRPolicyManager */
946/* [object][local][unique][helpstring][version][uuid] */
947
948
949EXTERN_C const IID IID_ICLRPolicyManager;
950
951#if defined(__cplusplus) && !defined(CINTERFACE)
952
953 MIDL_INTERFACE("7D290010-D781-45da-A6F8-AA5D711A730E")
954 ICLRPolicyManager : public IUnknown
955 {
956 public:
957 virtual HRESULT STDMETHODCALLTYPE SetDefaultAction(
958 /* [in] */ EClrOperation operation,
959 /* [in] */ EPolicyAction action) = 0;
960
961 virtual HRESULT STDMETHODCALLTYPE SetTimeout(
962 /* [in] */ EClrOperation operation,
963 /* [in] */ DWORD dwMilliseconds) = 0;
964
965 virtual HRESULT STDMETHODCALLTYPE SetActionOnTimeout(
966 /* [in] */ EClrOperation operation,
967 /* [in] */ EPolicyAction action) = 0;
968
969 virtual HRESULT STDMETHODCALLTYPE SetTimeoutAndAction(
970 /* [in] */ EClrOperation operation,
971 /* [in] */ DWORD dwMilliseconds,
972 /* [in] */ EPolicyAction action) = 0;
973
974 virtual HRESULT STDMETHODCALLTYPE SetActionOnFailure(
975 /* [in] */ EClrFailure failure,
976 /* [in] */ EPolicyAction action) = 0;
977
978 virtual HRESULT STDMETHODCALLTYPE SetUnhandledExceptionPolicy(
979 /* [in] */ EClrUnhandledException policy) = 0;
980
981 };
982
983
984#else /* C style interface */
985
986 typedef struct ICLRPolicyManagerVtbl
987 {
988 BEGIN_INTERFACE
989
990 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
991 ICLRPolicyManager * This,
992 /* [in] */ REFIID riid,
993 /* [annotation][iid_is][out] */
994 _COM_Outptr_ void **ppvObject);
995
996 ULONG ( STDMETHODCALLTYPE *AddRef )(
997 ICLRPolicyManager * This);
998
999 ULONG ( STDMETHODCALLTYPE *Release )(
1000 ICLRPolicyManager * This);
1001
1002 HRESULT ( STDMETHODCALLTYPE *SetDefaultAction )(
1003 ICLRPolicyManager * This,
1004 /* [in] */ EClrOperation operation,
1005 /* [in] */ EPolicyAction action);
1006
1007 HRESULT ( STDMETHODCALLTYPE *SetTimeout )(
1008 ICLRPolicyManager * This,
1009 /* [in] */ EClrOperation operation,
1010 /* [in] */ DWORD dwMilliseconds);
1011
1012 HRESULT ( STDMETHODCALLTYPE *SetActionOnTimeout )(
1013 ICLRPolicyManager * This,
1014 /* [in] */ EClrOperation operation,
1015 /* [in] */ EPolicyAction action);
1016
1017 HRESULT ( STDMETHODCALLTYPE *SetTimeoutAndAction )(
1018 ICLRPolicyManager * This,
1019 /* [in] */ EClrOperation operation,
1020 /* [in] */ DWORD dwMilliseconds,
1021 /* [in] */ EPolicyAction action);
1022
1023 HRESULT ( STDMETHODCALLTYPE *SetActionOnFailure )(
1024 ICLRPolicyManager * This,
1025 /* [in] */ EClrFailure failure,
1026 /* [in] */ EPolicyAction action);
1027
1028 HRESULT ( STDMETHODCALLTYPE *SetUnhandledExceptionPolicy )(
1029 ICLRPolicyManager * This,
1030 /* [in] */ EClrUnhandledException policy);
1031
1032 END_INTERFACE
1033 } ICLRPolicyManagerVtbl;
1034
1035 interface ICLRPolicyManager
1036 {
1037 CONST_VTBL struct ICLRPolicyManagerVtbl *lpVtbl;
1038 };
1039
1040
1041
1042#ifdef COBJMACROS
1043
1044
1045#define ICLRPolicyManager_QueryInterface(This,riid,ppvObject) \
1046 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1047
1048#define ICLRPolicyManager_AddRef(This) \
1049 ( (This)->lpVtbl -> AddRef(This) )
1050
1051#define ICLRPolicyManager_Release(This) \
1052 ( (This)->lpVtbl -> Release(This) )
1053
1054
1055#define ICLRPolicyManager_SetDefaultAction(This,operation,action) \
1056 ( (This)->lpVtbl -> SetDefaultAction(This,operation,action) )
1057
1058#define ICLRPolicyManager_SetTimeout(This,operation,dwMilliseconds) \
1059 ( (This)->lpVtbl -> SetTimeout(This,operation,dwMilliseconds) )
1060
1061#define ICLRPolicyManager_SetActionOnTimeout(This,operation,action) \
1062 ( (This)->lpVtbl -> SetActionOnTimeout(This,operation,action) )
1063
1064#define ICLRPolicyManager_SetTimeoutAndAction(This,operation,dwMilliseconds,action) \
1065 ( (This)->lpVtbl -> SetTimeoutAndAction(This,operation,dwMilliseconds,action) )
1066
1067#define ICLRPolicyManager_SetActionOnFailure(This,failure,action) \
1068 ( (This)->lpVtbl -> SetActionOnFailure(This,failure,action) )
1069
1070#define ICLRPolicyManager_SetUnhandledExceptionPolicy(This,policy) \
1071 ( (This)->lpVtbl -> SetUnhandledExceptionPolicy(This,policy) )
1072
1073#endif /* COBJMACROS */
1074
1075
1076#endif /* C style interface */
1077
1078
1079
1080
1081#endif /* __ICLRPolicyManager_INTERFACE_DEFINED__ */
1082
1083
1084/* interface __MIDL_itf_mscoree_0000_0005 */
1085/* [local] */
1086
1087typedef /* [public] */
1088enum __MIDL___MIDL_itf_mscoree_0000_0005_0001
1089 {
1090 Event_DomainUnload = 0,
1091 Event_ClrDisabled = ( Event_DomainUnload + 1 ) ,
1092 Event_MDAFired = ( Event_ClrDisabled + 1 ) ,
1093 Event_StackOverflow = ( Event_MDAFired + 1 ) ,
1094 MaxClrEvent = ( Event_StackOverflow + 1 )
1095 } EClrEvent;
1096
1097typedef struct _MDAInfo
1098 {
1099 LPCWSTR lpMDACaption;
1100 LPCWSTR lpMDAMessage;
1101 LPCWSTR lpStackTrace;
1102 } MDAInfo;
1103
1104typedef /* [public] */
1105enum __MIDL___MIDL_itf_mscoree_0000_0005_0002
1106 {
1107 SO_Managed = 0,
1108 SO_ClrEngine = ( SO_Managed + 1 ) ,
1109 SO_Other = ( SO_ClrEngine + 1 )
1110 } StackOverflowType;
1111
1112typedef struct _StackOverflowInfo
1113{
1114 StackOverflowType soType;
1115 EXCEPTION_POINTERS *pExceptionInfo;
1116} StackOverflowInfo;
1117
1118
1119extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0005_v0_0_c_ifspec;
1120extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0005_v0_0_s_ifspec;
1121
1122#ifndef __ICLRGCManager_INTERFACE_DEFINED__
1123#define __ICLRGCManager_INTERFACE_DEFINED__
1124
1125/* interface ICLRGCManager */
1126/* [object][local][unique][version][uuid] */
1127
1128
1129EXTERN_C const IID IID_ICLRGCManager;
1130
1131#if defined(__cplusplus) && !defined(CINTERFACE)
1132
1133 MIDL_INTERFACE("54D9007E-A8E2-4885-B7BF-F998DEEE4F2A")
1134 ICLRGCManager : public IUnknown
1135 {
1136 public:
1137 virtual HRESULT STDMETHODCALLTYPE Collect(
1138 /* [in] */ LONG Generation) = 0;
1139
1140 virtual HRESULT STDMETHODCALLTYPE GetStats(
1141 /* [out][in] */ COR_GC_STATS *pStats) = 0;
1142
1143 virtual HRESULT STDMETHODCALLTYPE SetGCStartupLimits(
1144 /* [in] */ DWORD SegmentSize,
1145 /* [in] */ DWORD MaxGen0Size) = 0;
1146
1147 };
1148
1149
1150#else /* C style interface */
1151
1152 typedef struct ICLRGCManagerVtbl
1153 {
1154 BEGIN_INTERFACE
1155
1156 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1157 ICLRGCManager * This,
1158 /* [in] */ REFIID riid,
1159 /* [annotation][iid_is][out] */
1160 _COM_Outptr_ void **ppvObject);
1161
1162 ULONG ( STDMETHODCALLTYPE *AddRef )(
1163 ICLRGCManager * This);
1164
1165 ULONG ( STDMETHODCALLTYPE *Release )(
1166 ICLRGCManager * This);
1167
1168 HRESULT ( STDMETHODCALLTYPE *Collect )(
1169 ICLRGCManager * This,
1170 /* [in] */ LONG Generation);
1171
1172 HRESULT ( STDMETHODCALLTYPE *GetStats )(
1173 ICLRGCManager * This,
1174 /* [out][in] */ COR_GC_STATS *pStats);
1175
1176 HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimits )(
1177 ICLRGCManager * This,
1178 /* [in] */ DWORD SegmentSize,
1179 /* [in] */ DWORD MaxGen0Size);
1180
1181 END_INTERFACE
1182 } ICLRGCManagerVtbl;
1183
1184 interface ICLRGCManager
1185 {
1186 CONST_VTBL struct ICLRGCManagerVtbl *lpVtbl;
1187 };
1188
1189
1190
1191#ifdef COBJMACROS
1192
1193
1194#define ICLRGCManager_QueryInterface(This,riid,ppvObject) \
1195 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1196
1197#define ICLRGCManager_AddRef(This) \
1198 ( (This)->lpVtbl -> AddRef(This) )
1199
1200#define ICLRGCManager_Release(This) \
1201 ( (This)->lpVtbl -> Release(This) )
1202
1203
1204#define ICLRGCManager_Collect(This,Generation) \
1205 ( (This)->lpVtbl -> Collect(This,Generation) )
1206
1207#define ICLRGCManager_GetStats(This,pStats) \
1208 ( (This)->lpVtbl -> GetStats(This,pStats) )
1209
1210#define ICLRGCManager_SetGCStartupLimits(This,SegmentSize,MaxGen0Size) \
1211 ( (This)->lpVtbl -> SetGCStartupLimits(This,SegmentSize,MaxGen0Size) )
1212
1213#endif /* COBJMACROS */
1214
1215
1216#endif /* C style interface */
1217
1218
1219
1220
1221#endif /* __ICLRGCManager_INTERFACE_DEFINED__ */
1222
1223
1224#ifndef __ICLRGCManager2_INTERFACE_DEFINED__
1225#define __ICLRGCManager2_INTERFACE_DEFINED__
1226
1227/* interface ICLRGCManager2 */
1228/* [object][local][unique][version][uuid] */
1229
1230
1231EXTERN_C const IID IID_ICLRGCManager2;
1232
1233#if defined(__cplusplus) && !defined(CINTERFACE)
1234
1235 MIDL_INTERFACE("0603B793-A97A-4712-9CB4-0CD1C74C0F7C")
1236 ICLRGCManager2 : public ICLRGCManager
1237 {
1238 public:
1239 virtual HRESULT STDMETHODCALLTYPE SetGCStartupLimitsEx(
1240 /* [in] */ SIZE_T SegmentSize,
1241 /* [in] */ SIZE_T MaxGen0Size) = 0;
1242
1243 };
1244
1245
1246#else /* C style interface */
1247
1248 typedef struct ICLRGCManager2Vtbl
1249 {
1250 BEGIN_INTERFACE
1251
1252 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1253 ICLRGCManager2 * This,
1254 /* [in] */ REFIID riid,
1255 /* [annotation][iid_is][out] */
1256 _COM_Outptr_ void **ppvObject);
1257
1258 ULONG ( STDMETHODCALLTYPE *AddRef )(
1259 ICLRGCManager2 * This);
1260
1261 ULONG ( STDMETHODCALLTYPE *Release )(
1262 ICLRGCManager2 * This);
1263
1264 HRESULT ( STDMETHODCALLTYPE *Collect )(
1265 ICLRGCManager2 * This,
1266 /* [in] */ LONG Generation);
1267
1268 HRESULT ( STDMETHODCALLTYPE *GetStats )(
1269 ICLRGCManager2 * This,
1270 /* [out][in] */ COR_GC_STATS *pStats);
1271
1272 HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimits )(
1273 ICLRGCManager2 * This,
1274 /* [in] */ DWORD SegmentSize,
1275 /* [in] */ DWORD MaxGen0Size);
1276
1277 HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimitsEx )(
1278 ICLRGCManager2 * This,
1279 /* [in] */ SIZE_T SegmentSize,
1280 /* [in] */ SIZE_T MaxGen0Size);
1281
1282 END_INTERFACE
1283 } ICLRGCManager2Vtbl;
1284
1285 interface ICLRGCManager2
1286 {
1287 CONST_VTBL struct ICLRGCManager2Vtbl *lpVtbl;
1288 };
1289
1290
1291
1292#ifdef COBJMACROS
1293
1294
1295#define ICLRGCManager2_QueryInterface(This,riid,ppvObject) \
1296 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1297
1298#define ICLRGCManager2_AddRef(This) \
1299 ( (This)->lpVtbl -> AddRef(This) )
1300
1301#define ICLRGCManager2_Release(This) \
1302 ( (This)->lpVtbl -> Release(This) )
1303
1304
1305#define ICLRGCManager2_Collect(This,Generation) \
1306 ( (This)->lpVtbl -> Collect(This,Generation) )
1307
1308#define ICLRGCManager2_GetStats(This,pStats) \
1309 ( (This)->lpVtbl -> GetStats(This,pStats) )
1310
1311#define ICLRGCManager2_SetGCStartupLimits(This,SegmentSize,MaxGen0Size) \
1312 ( (This)->lpVtbl -> SetGCStartupLimits(This,SegmentSize,MaxGen0Size) )
1313
1314
1315#define ICLRGCManager2_SetGCStartupLimitsEx(This,SegmentSize,MaxGen0Size) \
1316 ( (This)->lpVtbl -> SetGCStartupLimitsEx(This,SegmentSize,MaxGen0Size) )
1317
1318#endif /* COBJMACROS */
1319
1320
1321#endif /* C style interface */
1322
1323
1324
1325
1326#endif /* __ICLRGCManager2_INTERFACE_DEFINED__ */
1327
1328
1329/* interface __MIDL_itf_mscoree_0000_0007 */
1330/* [local] */
1331
1332typedef /* [public] */
1333enum __MIDL___MIDL_itf_mscoree_0000_0007_0001
1334 {
1335 ePolicyLevelNone = 0,
1336 ePolicyLevelRetargetable = 0x1,
1337 ePolicyUnifiedToCLR = 0x2,
1338 ePolicyLevelApp = 0x4,
1339 ePolicyLevelPublisher = 0x8,
1340 ePolicyLevelHost = 0x10,
1341 ePolicyLevelAdmin = 0x20,
1342 ePolicyPortability = 0x40
1343 } EBindPolicyLevels;
1344
1345typedef struct _AssemblyBindInfo
1346 {
1347 DWORD dwAppDomainId;
1348 LPCWSTR lpReferencedIdentity;
1349 LPCWSTR lpPostPolicyIdentity;
1350 DWORD ePolicyLevel;
1351 } AssemblyBindInfo;
1352
1353typedef struct _ModuleBindInfo
1354 {
1355 DWORD dwAppDomainId;
1356 LPCWSTR lpAssemblyIdentity;
1357 LPCWSTR lpModuleName;
1358 } ModuleBindInfo;
1359
1360typedef
1361enum _HostApplicationPolicy
1362 {
1363 HOST_APPLICATION_BINDING_POLICY = 1
1364 } EHostApplicationPolicy;
1365
1366STDAPI GetCLRIdentityManager(REFIID riid, IUnknown **ppManager);
1367EXTERN_GUID(IID_IHostControl, 0x02CA073C, 0x7079, 0x4860, 0x88, 0x0A, 0xC2, 0xF7, 0xA4, 0x49, 0xC9, 0x91);
1368
1369
1370extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0007_v0_0_c_ifspec;
1371extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0007_v0_0_s_ifspec;
1372
1373#ifndef __IHostControl_INTERFACE_DEFINED__
1374#define __IHostControl_INTERFACE_DEFINED__
1375
1376/* interface IHostControl */
1377/* [object][local][unique][helpstring][version][uuid] */
1378
1379
1380EXTERN_C const IID IID_IHostControl;
1381
1382#if defined(__cplusplus) && !defined(CINTERFACE)
1383
1384 MIDL_INTERFACE("02CA073C-7079-4860-880A-C2F7A449C991")
1385 IHostControl : public IUnknown
1386 {
1387 public:
1388 virtual HRESULT STDMETHODCALLTYPE GetHostManager(
1389 /* [in] */ REFIID riid,
1390 /* [out] */ void **ppObject) = 0;
1391
1392 virtual HRESULT STDMETHODCALLTYPE SetAppDomainManager(
1393 /* [in] */ DWORD dwAppDomainID,
1394 /* [in] */ IUnknown *pUnkAppDomainManager) = 0;
1395
1396 };
1397
1398
1399#else /* C style interface */
1400
1401 typedef struct IHostControlVtbl
1402 {
1403 BEGIN_INTERFACE
1404
1405 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1406 IHostControl * This,
1407 /* [in] */ REFIID riid,
1408 /* [annotation][iid_is][out] */
1409 _COM_Outptr_ void **ppvObject);
1410
1411 ULONG ( STDMETHODCALLTYPE *AddRef )(
1412 IHostControl * This);
1413
1414 ULONG ( STDMETHODCALLTYPE *Release )(
1415 IHostControl * This);
1416
1417 HRESULT ( STDMETHODCALLTYPE *GetHostManager )(
1418 IHostControl * This,
1419 /* [in] */ REFIID riid,
1420 /* [out] */ void **ppObject);
1421
1422 HRESULT ( STDMETHODCALLTYPE *SetAppDomainManager )(
1423 IHostControl * This,
1424 /* [in] */ DWORD dwAppDomainID,
1425 /* [in] */ IUnknown *pUnkAppDomainManager);
1426
1427 END_INTERFACE
1428 } IHostControlVtbl;
1429
1430 interface IHostControl
1431 {
1432 CONST_VTBL struct IHostControlVtbl *lpVtbl;
1433 };
1434
1435
1436
1437#ifdef COBJMACROS
1438
1439
1440#define IHostControl_QueryInterface(This,riid,ppvObject) \
1441 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1442
1443#define IHostControl_AddRef(This) \
1444 ( (This)->lpVtbl -> AddRef(This) )
1445
1446#define IHostControl_Release(This) \
1447 ( (This)->lpVtbl -> Release(This) )
1448
1449
1450#define IHostControl_GetHostManager(This,riid,ppObject) \
1451 ( (This)->lpVtbl -> GetHostManager(This,riid,ppObject) )
1452
1453#define IHostControl_SetAppDomainManager(This,dwAppDomainID,pUnkAppDomainManager) \
1454 ( (This)->lpVtbl -> SetAppDomainManager(This,dwAppDomainID,pUnkAppDomainManager) )
1455
1456#endif /* COBJMACROS */
1457
1458
1459#endif /* C style interface */
1460
1461
1462
1463
1464#endif /* __IHostControl_INTERFACE_DEFINED__ */
1465
1466
1467/* interface __MIDL_itf_mscoree_0000_0008 */
1468/* [local] */
1469
1470EXTERN_GUID(IID_ICLRControl, 0x9065597E, 0xD1A1, 0x4fb2, 0xB6, 0xBA, 0x7E, 0x1F, 0xCE, 0x23, 0x0F, 0x61);
1471
1472
1473extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0008_v0_0_c_ifspec;
1474extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0008_v0_0_s_ifspec;
1475
1476#ifndef __ICLRControl_INTERFACE_DEFINED__
1477#define __ICLRControl_INTERFACE_DEFINED__
1478
1479/* interface ICLRControl */
1480/* [object][local][unique][helpstring][version][uuid] */
1481
1482
1483EXTERN_C const IID IID_ICLRControl;
1484
1485#if defined(__cplusplus) && !defined(CINTERFACE)
1486
1487 MIDL_INTERFACE("9065597E-D1A1-4fb2-B6BA-7E1FCE230F61")
1488 ICLRControl : public IUnknown
1489 {
1490 public:
1491 virtual HRESULT STDMETHODCALLTYPE GetCLRManager(
1492 /* [in] */ REFIID riid,
1493 /* [out] */ void **ppObject) = 0;
1494
1495 virtual HRESULT STDMETHODCALLTYPE SetAppDomainManagerType(
1496 /* [in] */ LPCWSTR pwzAppDomainManagerAssembly,
1497 /* [in] */ LPCWSTR pwzAppDomainManagerType) = 0;
1498
1499 };
1500
1501
1502#else /* C style interface */
1503
1504 typedef struct ICLRControlVtbl
1505 {
1506 BEGIN_INTERFACE
1507
1508 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1509 ICLRControl * This,
1510 /* [in] */ REFIID riid,
1511 /* [annotation][iid_is][out] */
1512 _COM_Outptr_ void **ppvObject);
1513
1514 ULONG ( STDMETHODCALLTYPE *AddRef )(
1515 ICLRControl * This);
1516
1517 ULONG ( STDMETHODCALLTYPE *Release )(
1518 ICLRControl * This);
1519
1520 HRESULT ( STDMETHODCALLTYPE *GetCLRManager )(
1521 ICLRControl * This,
1522 /* [in] */ REFIID riid,
1523 /* [out] */ void **ppObject);
1524
1525 HRESULT ( STDMETHODCALLTYPE *SetAppDomainManagerType )(
1526 ICLRControl * This,
1527 /* [in] */ LPCWSTR pwzAppDomainManagerAssembly,
1528 /* [in] */ LPCWSTR pwzAppDomainManagerType);
1529
1530 END_INTERFACE
1531 } ICLRControlVtbl;
1532
1533 interface ICLRControl
1534 {
1535 CONST_VTBL struct ICLRControlVtbl *lpVtbl;
1536 };
1537
1538
1539
1540#ifdef COBJMACROS
1541
1542
1543#define ICLRControl_QueryInterface(This,riid,ppvObject) \
1544 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1545
1546#define ICLRControl_AddRef(This) \
1547 ( (This)->lpVtbl -> AddRef(This) )
1548
1549#define ICLRControl_Release(This) \
1550 ( (This)->lpVtbl -> Release(This) )
1551
1552
1553#define ICLRControl_GetCLRManager(This,riid,ppObject) \
1554 ( (This)->lpVtbl -> GetCLRManager(This,riid,ppObject) )
1555
1556#define ICLRControl_SetAppDomainManagerType(This,pwzAppDomainManagerAssembly,pwzAppDomainManagerType) \
1557 ( (This)->lpVtbl -> SetAppDomainManagerType(This,pwzAppDomainManagerAssembly,pwzAppDomainManagerType) )
1558
1559#endif /* COBJMACROS */
1560
1561
1562#endif /* C style interface */
1563
1564
1565
1566
1567#endif /* __ICLRControl_INTERFACE_DEFINED__ */
1568
1569
1570#ifndef __ICLRRuntimeHost_INTERFACE_DEFINED__
1571#define __ICLRRuntimeHost_INTERFACE_DEFINED__
1572
1573/* interface ICLRRuntimeHost */
1574/* [object][local][unique][helpstring][version][uuid] */
1575
1576
1577EXTERN_C const IID IID_ICLRRuntimeHost;
1578
1579#if defined(__cplusplus) && !defined(CINTERFACE)
1580
1581 MIDL_INTERFACE("90F1A06C-7712-4762-86B5-7A5EBA6BDB02")
1582 ICLRRuntimeHost : public IUnknown
1583 {
1584 public:
1585 virtual HRESULT STDMETHODCALLTYPE Start( void) = 0;
1586
1587 virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
1588
1589 virtual HRESULT STDMETHODCALLTYPE SetHostControl(
1590 /* [in] */ IHostControl *pHostControl) = 0;
1591
1592 virtual HRESULT STDMETHODCALLTYPE GetCLRControl(
1593 /* [out] */ ICLRControl **pCLRControl) = 0;
1594
1595 virtual HRESULT STDMETHODCALLTYPE UnloadAppDomain(
1596 /* [in] */ DWORD dwAppDomainId,
1597 /* [in] */ BOOL fWaitUntilDone) = 0;
1598
1599 virtual HRESULT STDMETHODCALLTYPE ExecuteInAppDomain(
1600 /* [in] */ DWORD dwAppDomainId,
1601 /* [in] */ FExecuteInAppDomainCallback pCallback,
1602 /* [in] */ void *cookie) = 0;
1603
1604 virtual HRESULT STDMETHODCALLTYPE GetCurrentAppDomainId(
1605 /* [out] */ DWORD *pdwAppDomainId) = 0;
1606
1607 virtual HRESULT STDMETHODCALLTYPE ExecuteApplication(
1608 /* [in] */ LPCWSTR pwzAppFullName,
1609 /* [in] */ DWORD dwManifestPaths,
1610 /* [in] */ LPCWSTR *ppwzManifestPaths,
1611 /* [in] */ DWORD dwActivationData,
1612 /* [in] */ LPCWSTR *ppwzActivationData,
1613 /* [out] */ int *pReturnValue) = 0;
1614
1615 virtual HRESULT STDMETHODCALLTYPE ExecuteInDefaultAppDomain(
1616 /* [in] */ LPCWSTR pwzAssemblyPath,
1617 /* [in] */ LPCWSTR pwzTypeName,
1618 /* [in] */ LPCWSTR pwzMethodName,
1619 /* [in] */ LPCWSTR pwzArgument,
1620 /* [out] */ DWORD *pReturnValue) = 0;
1621
1622 };
1623
1624
1625#else /* C style interface */
1626
1627 typedef struct ICLRRuntimeHostVtbl
1628 {
1629 BEGIN_INTERFACE
1630
1631 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1632 ICLRRuntimeHost * This,
1633 /* [in] */ REFIID riid,
1634 /* [annotation][iid_is][out] */
1635 _COM_Outptr_ void **ppvObject);
1636
1637 ULONG ( STDMETHODCALLTYPE *AddRef )(
1638 ICLRRuntimeHost * This);
1639
1640 ULONG ( STDMETHODCALLTYPE *Release )(
1641 ICLRRuntimeHost * This);
1642
1643 HRESULT ( STDMETHODCALLTYPE *Start )(
1644 ICLRRuntimeHost * This);
1645
1646 HRESULT ( STDMETHODCALLTYPE *Stop )(
1647 ICLRRuntimeHost * This);
1648
1649 HRESULT ( STDMETHODCALLTYPE *SetHostControl )(
1650 ICLRRuntimeHost * This,
1651 /* [in] */ IHostControl *pHostControl);
1652
1653 HRESULT ( STDMETHODCALLTYPE *GetCLRControl )(
1654 ICLRRuntimeHost * This,
1655 /* [out] */ ICLRControl **pCLRControl);
1656
1657 HRESULT ( STDMETHODCALLTYPE *UnloadAppDomain )(
1658 ICLRRuntimeHost * This,
1659 /* [in] */ DWORD dwAppDomainId,
1660 /* [in] */ BOOL fWaitUntilDone);
1661
1662 HRESULT ( STDMETHODCALLTYPE *ExecuteInAppDomain )(
1663 ICLRRuntimeHost * This,
1664 /* [in] */ DWORD dwAppDomainId,
1665 /* [in] */ FExecuteInAppDomainCallback pCallback,
1666 /* [in] */ void *cookie);
1667
1668 HRESULT ( STDMETHODCALLTYPE *GetCurrentAppDomainId )(
1669 ICLRRuntimeHost * This,
1670 /* [out] */ DWORD *pdwAppDomainId);
1671
1672 HRESULT ( STDMETHODCALLTYPE *ExecuteApplication )(
1673 ICLRRuntimeHost * This,
1674 /* [in] */ LPCWSTR pwzAppFullName,
1675 /* [in] */ DWORD dwManifestPaths,
1676 /* [in] */ LPCWSTR *ppwzManifestPaths,
1677 /* [in] */ DWORD dwActivationData,
1678 /* [in] */ LPCWSTR *ppwzActivationData,
1679 /* [out] */ int *pReturnValue);
1680
1681 HRESULT ( STDMETHODCALLTYPE *ExecuteInDefaultAppDomain )(
1682 ICLRRuntimeHost * This,
1683 /* [in] */ LPCWSTR pwzAssemblyPath,
1684 /* [in] */ LPCWSTR pwzTypeName,
1685 /* [in] */ LPCWSTR pwzMethodName,
1686 /* [in] */ LPCWSTR pwzArgument,
1687 /* [out] */ DWORD *pReturnValue);
1688
1689 END_INTERFACE
1690 } ICLRRuntimeHostVtbl;
1691
1692 interface ICLRRuntimeHost
1693 {
1694 CONST_VTBL struct ICLRRuntimeHostVtbl *lpVtbl;
1695 };
1696
1697
1698
1699#ifdef COBJMACROS
1700
1701
1702#define ICLRRuntimeHost_QueryInterface(This,riid,ppvObject) \
1703 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1704
1705#define ICLRRuntimeHost_AddRef(This) \
1706 ( (This)->lpVtbl -> AddRef(This) )
1707
1708#define ICLRRuntimeHost_Release(This) \
1709 ( (This)->lpVtbl -> Release(This) )
1710
1711
1712#define ICLRRuntimeHost_Start(This) \
1713 ( (This)->lpVtbl -> Start(This) )
1714
1715#define ICLRRuntimeHost_Stop(This) \
1716 ( (This)->lpVtbl -> Stop(This) )
1717
1718#define ICLRRuntimeHost_SetHostControl(This,pHostControl) \
1719 ( (This)->lpVtbl -> SetHostControl(This,pHostControl) )
1720
1721#define ICLRRuntimeHost_GetCLRControl(This,pCLRControl) \
1722 ( (This)->lpVtbl -> GetCLRControl(This,pCLRControl) )
1723
1724#define ICLRRuntimeHost_UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) \
1725 ( (This)->lpVtbl -> UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) )
1726
1727#define ICLRRuntimeHost_ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) \
1728 ( (This)->lpVtbl -> ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) )
1729
1730#define ICLRRuntimeHost_GetCurrentAppDomainId(This,pdwAppDomainId) \
1731 ( (This)->lpVtbl -> GetCurrentAppDomainId(This,pdwAppDomainId) )
1732
1733#define ICLRRuntimeHost_ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) \
1734 ( (This)->lpVtbl -> ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) )
1735
1736#define ICLRRuntimeHost_ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) \
1737 ( (This)->lpVtbl -> ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) )
1738
1739#endif /* COBJMACROS */
1740
1741
1742#endif /* C style interface */
1743
1744
1745
1746
1747#endif /* __ICLRRuntimeHost_INTERFACE_DEFINED__ */
1748
1749
1750/* interface __MIDL_itf_mscoree_0000_0010 */
1751/* [local] */
1752
1753#define CORECLR_HOST_AUTHENTICATION_KEY 0x1C6CA6F94025800LL
1754#define CORECLR_HOST_AUTHENTICATION_KEY_NONGEN 0x1C6CA6F94025801LL
1755
1756
1757extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0010_v0_0_c_ifspec;
1758extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0010_v0_0_s_ifspec;
1759
1760#ifndef __ICLRRuntimeHost2_INTERFACE_DEFINED__
1761#define __ICLRRuntimeHost2_INTERFACE_DEFINED__
1762
1763/* interface ICLRRuntimeHost2 */
1764/* [local][unique][helpstring][version][uuid][object] */
1765
1766
1767EXTERN_C const IID IID_ICLRRuntimeHost2;
1768
1769#if defined(__cplusplus) && !defined(CINTERFACE)
1770
1771 MIDL_INTERFACE("712AB73F-2C22-4807-AD7E-F501D7B72C2D")
1772 ICLRRuntimeHost2 : public ICLRRuntimeHost
1773 {
1774 public:
1775 virtual HRESULT STDMETHODCALLTYPE CreateAppDomainWithManager(
1776 /* [in] */ LPCWSTR wszFriendlyName,
1777 /* [in] */ DWORD dwFlags,
1778 /* [in] */ LPCWSTR wszAppDomainManagerAssemblyName,
1779 /* [in] */ LPCWSTR wszAppDomainManagerTypeName,
1780 /* [in] */ int nProperties,
1781 /* [in] */ LPCWSTR *pPropertyNames,
1782 /* [in] */ LPCWSTR *pPropertyValues,
1783 /* [out] */ DWORD *pAppDomainID) = 0;
1784
1785 virtual HRESULT STDMETHODCALLTYPE CreateDelegate(
1786 /* [in] */ DWORD appDomainID,
1787 /* [in] */ LPCWSTR wszAssemblyName,
1788 /* [in] */ LPCWSTR wszClassName,
1789 /* [in] */ LPCWSTR wszMethodName,
1790 /* [out] */ INT_PTR *fnPtr) = 0;
1791
1792 virtual HRESULT STDMETHODCALLTYPE Authenticate(
1793 /* [in] */ ULONGLONG authKey) = 0;
1794
1795 virtual HRESULT STDMETHODCALLTYPE RegisterMacEHPort( void) = 0;
1796
1797 virtual HRESULT STDMETHODCALLTYPE SetStartupFlags(
1798 /* [in] */ STARTUP_FLAGS dwFlags) = 0;
1799
1800 virtual HRESULT STDMETHODCALLTYPE DllGetActivationFactory(
1801 /* [in] */ DWORD appDomainID,
1802 /* [in] */ LPCWSTR wszTypeName,
1803 /* [out] */ IActivationFactory **factory) = 0;
1804
1805 virtual HRESULT STDMETHODCALLTYPE ExecuteAssembly(
1806 /* [in] */ DWORD dwAppDomainId,
1807 /* [in] */ LPCWSTR pwzAssemblyPath,
1808 /* [in] */ int argc,
1809 /* [in] */ LPCWSTR *argv,
1810 /* [out] */ DWORD *pReturnValue) = 0;
1811
1812 };
1813
1814 MIDL_INTERFACE("64F6D366-D7C2-4F1F-B4B2-E8160CAC43AF")
1815 ICLRRuntimeHost4 : public ICLRRuntimeHost2
1816 {
1817 virtual HRESULT STDMETHODCALLTYPE UnloadAppDomain2(
1818 /* [in] */ DWORD dwAppDomainId,
1819 /* [in] */ BOOL fWaitUntilDone,
1820 /* [out] */ int *pLatchedExitCode) = 0;
1821 };
1822
1823#else /* C style interface */
1824
1825 typedef struct ICLRRuntimeHost2Vtbl
1826 {
1827 BEGIN_INTERFACE
1828
1829 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1830 ICLRRuntimeHost2 * This,
1831 /* [in] */ REFIID riid,
1832 /* [annotation][iid_is][out] */
1833 _COM_Outptr_ void **ppvObject);
1834
1835 ULONG ( STDMETHODCALLTYPE *AddRef )(
1836 ICLRRuntimeHost2 * This);
1837
1838 ULONG ( STDMETHODCALLTYPE *Release )(
1839 ICLRRuntimeHost2 * This);
1840
1841 HRESULT ( STDMETHODCALLTYPE *Start )(
1842 ICLRRuntimeHost2 * This);
1843
1844 HRESULT ( STDMETHODCALLTYPE *Stop )(
1845 ICLRRuntimeHost2 * This);
1846
1847 HRESULT ( STDMETHODCALLTYPE *SetHostControl )(
1848 ICLRRuntimeHost2 * This,
1849 /* [in] */ IHostControl *pHostControl);
1850
1851 HRESULT ( STDMETHODCALLTYPE *GetCLRControl )(
1852 ICLRRuntimeHost2 * This,
1853 /* [out] */ ICLRControl **pCLRControl);
1854
1855 HRESULT ( STDMETHODCALLTYPE *UnloadAppDomain )(
1856 ICLRRuntimeHost2 * This,
1857 /* [in] */ DWORD dwAppDomainId,
1858 /* [in] */ BOOL fWaitUntilDone);
1859
1860 HRESULT ( STDMETHODCALLTYPE *ExecuteInAppDomain )(
1861 ICLRRuntimeHost2 * This,
1862 /* [in] */ DWORD dwAppDomainId,
1863 /* [in] */ FExecuteInAppDomainCallback pCallback,
1864 /* [in] */ void *cookie);
1865
1866 HRESULT ( STDMETHODCALLTYPE *GetCurrentAppDomainId )(
1867 ICLRRuntimeHost2 * This,
1868 /* [out] */ DWORD *pdwAppDomainId);
1869
1870 HRESULT ( STDMETHODCALLTYPE *ExecuteApplication )(
1871 ICLRRuntimeHost2 * This,
1872 /* [in] */ LPCWSTR pwzAppFullName,
1873 /* [in] */ DWORD dwManifestPaths,
1874 /* [in] */ LPCWSTR *ppwzManifestPaths,
1875 /* [in] */ DWORD dwActivationData,
1876 /* [in] */ LPCWSTR *ppwzActivationData,
1877 /* [out] */ int *pReturnValue);
1878
1879 HRESULT ( STDMETHODCALLTYPE *ExecuteInDefaultAppDomain )(
1880 ICLRRuntimeHost2 * This,
1881 /* [in] */ LPCWSTR pwzAssemblyPath,
1882 /* [in] */ LPCWSTR pwzTypeName,
1883 /* [in] */ LPCWSTR pwzMethodName,
1884 /* [in] */ LPCWSTR pwzArgument,
1885 /* [out] */ DWORD *pReturnValue);
1886
1887 HRESULT ( STDMETHODCALLTYPE *CreateAppDomainWithManager )(
1888 ICLRRuntimeHost2 * This,
1889 /* [in] */ LPCWSTR wszFriendlyName,
1890 /* [in] */ DWORD dwFlags,
1891 /* [in] */ LPCWSTR wszAppDomainManagerAssemblyName,
1892 /* [in] */ LPCWSTR wszAppDomainManagerTypeName,
1893 /* [in] */ int nProperties,
1894 /* [in] */ LPCWSTR *pPropertyNames,
1895 /* [in] */ LPCWSTR *pPropertyValues,
1896 /* [out] */ DWORD *pAppDomainID);
1897
1898 HRESULT ( STDMETHODCALLTYPE *CreateDelegate )(
1899 ICLRRuntimeHost2 * This,
1900 /* [in] */ DWORD appDomainID,
1901 /* [in] */ LPCWSTR wszAssemblyName,
1902 /* [in] */ LPCWSTR wszClassName,
1903 /* [in] */ LPCWSTR wszMethodName,
1904 /* [out] */ INT_PTR *fnPtr);
1905
1906 HRESULT ( STDMETHODCALLTYPE *Authenticate )(
1907 ICLRRuntimeHost2 * This,
1908 /* [in] */ ULONGLONG authKey);
1909
1910 HRESULT ( STDMETHODCALLTYPE *RegisterMacEHPort )(
1911 ICLRRuntimeHost2 * This);
1912
1913 HRESULT ( STDMETHODCALLTYPE *SetStartupFlags )(
1914 ICLRRuntimeHost2 * This,
1915 /* [in] */ STARTUP_FLAGS dwFlags);
1916
1917 HRESULT ( STDMETHODCALLTYPE *DllGetActivationFactory )(
1918 ICLRRuntimeHost2 * This,
1919 /* [in] */ DWORD appDomainID,
1920 /* [in] */ LPCWSTR wszTypeName,
1921 /* [out] */ IActivationFactory **factory);
1922
1923 HRESULT ( STDMETHODCALLTYPE *ExecuteAssembly )(
1924 ICLRRuntimeHost2 * This,
1925 /* [in] */ DWORD dwAppDomainId,
1926 /* [in] */ LPCWSTR pwzAssemblyPath,
1927 /* [in] */ int argc,
1928 /* [in] */ LPCWSTR *argv,
1929 /* [out] */ DWORD *pReturnValue);
1930
1931 END_INTERFACE
1932 } ICLRRuntimeHost2Vtbl;
1933
1934 interface ICLRRuntimeHost2
1935 {
1936 CONST_VTBL struct ICLRRuntimeHost2Vtbl *lpVtbl;
1937 };
1938
1939
1940
1941#ifdef COBJMACROS
1942
1943
1944#define ICLRRuntimeHost2_QueryInterface(This,riid,ppvObject) \
1945 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1946
1947#define ICLRRuntimeHost2_AddRef(This) \
1948 ( (This)->lpVtbl -> AddRef(This) )
1949
1950#define ICLRRuntimeHost2_Release(This) \
1951 ( (This)->lpVtbl -> Release(This) )
1952
1953
1954#define ICLRRuntimeHost2_Start(This) \
1955 ( (This)->lpVtbl -> Start(This) )
1956
1957#define ICLRRuntimeHost2_Stop(This) \
1958 ( (This)->lpVtbl -> Stop(This) )
1959
1960#define ICLRRuntimeHost2_SetHostControl(This,pHostControl) \
1961 ( (This)->lpVtbl -> SetHostControl(This,pHostControl) )
1962
1963#define ICLRRuntimeHost2_GetCLRControl(This,pCLRControl) \
1964 ( (This)->lpVtbl -> GetCLRControl(This,pCLRControl) )
1965
1966#define ICLRRuntimeHost2_UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) \
1967 ( (This)->lpVtbl -> UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) )
1968
1969#define ICLRRuntimeHost2_ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) \
1970 ( (This)->lpVtbl -> ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) )
1971
1972#define ICLRRuntimeHost2_GetCurrentAppDomainId(This,pdwAppDomainId) \
1973 ( (This)->lpVtbl -> GetCurrentAppDomainId(This,pdwAppDomainId) )
1974
1975#define ICLRRuntimeHost2_ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) \
1976 ( (This)->lpVtbl -> ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) )
1977
1978#define ICLRRuntimeHost2_ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) \
1979 ( (This)->lpVtbl -> ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) )
1980
1981
1982#define ICLRRuntimeHost2_CreateAppDomainWithManager(This,wszFriendlyName,dwFlags,wszAppDomainManagerAssemblyName,wszAppDomainManagerTypeName,nProperties,pPropertyNames,pPropertyValues,pAppDomainID) \
1983 ( (This)->lpVtbl -> CreateAppDomainWithManager(This,wszFriendlyName,dwFlags,wszAppDomainManagerAssemblyName,wszAppDomainManagerTypeName,nProperties,pPropertyNames,pPropertyValues,pAppDomainID) )
1984
1985#define ICLRRuntimeHost2_CreateDelegate(This,appDomainID,wszAssemblyName,wszClassName,wszMethodName,fnPtr) \
1986 ( (This)->lpVtbl -> CreateDelegate(This,appDomainID,wszAssemblyName,wszClassName,wszMethodName,fnPtr) )
1987
1988#define ICLRRuntimeHost2_Authenticate(This,authKey) \
1989 ( (This)->lpVtbl -> Authenticate(This,authKey) )
1990
1991#define ICLRRuntimeHost2_RegisterMacEHPort(This) \
1992 ( (This)->lpVtbl -> RegisterMacEHPort(This) )
1993
1994#define ICLRRuntimeHost2_SetStartupFlags(This,dwFlags) \
1995 ( (This)->lpVtbl -> SetStartupFlags(This,dwFlags) )
1996
1997#define ICLRRuntimeHost2_DllGetActivationFactory(This,appDomainID,wszTypeName,factory) \
1998 ( (This)->lpVtbl -> DllGetActivationFactory(This,appDomainID,wszTypeName,factory) )
1999
2000#define ICLRRuntimeHost2_ExecuteAssembly(This,dwAppDomainId,pwzAssemblyPath,argc,argv,pReturnValue) \
2001 ( (This)->lpVtbl -> ExecuteAssembly(This,dwAppDomainId,pwzAssemblyPath,argc,argv,pReturnValue) )
2002
2003#endif /* COBJMACROS */
2004
2005
2006#endif /* C style interface */
2007
2008
2009
2010
2011#endif /* __ICLRRuntimeHost2_INTERFACE_DEFINED__ */
2012
2013
2014#ifndef __ICLRExecutionManager_INTERFACE_DEFINED__
2015#define __ICLRExecutionManager_INTERFACE_DEFINED__
2016
2017/* interface ICLRExecutionManager */
2018/* [object][local][unique][helpstring][version][uuid] */
2019
2020
2021EXTERN_C const IID IID_ICLRExecutionManager;
2022
2023#if defined(__cplusplus) && !defined(CINTERFACE)
2024
2025 MIDL_INTERFACE("1000A3E7-B420-4620-AE30-FB19B587AD1D")
2026 ICLRExecutionManager : public IUnknown
2027 {
2028 public:
2029 virtual HRESULT STDMETHODCALLTYPE Pause(
2030 /* [in] */ DWORD dwAppDomainId,
2031 /* [in] */ DWORD dwFlags) = 0;
2032
2033 virtual HRESULT STDMETHODCALLTYPE Resume(
2034 /* [in] */ DWORD dwAppDomainId) = 0;
2035
2036 };
2037
2038
2039#else /* C style interface */
2040
2041 typedef struct ICLRExecutionManagerVtbl
2042 {
2043 BEGIN_INTERFACE
2044
2045 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2046 ICLRExecutionManager * This,
2047 /* [in] */ REFIID riid,
2048 /* [annotation][iid_is][out] */
2049 _COM_Outptr_ void **ppvObject);
2050
2051 ULONG ( STDMETHODCALLTYPE *AddRef )(
2052 ICLRExecutionManager * This);
2053
2054 ULONG ( STDMETHODCALLTYPE *Release )(
2055 ICLRExecutionManager * This);
2056
2057 HRESULT ( STDMETHODCALLTYPE *Pause )(
2058 ICLRExecutionManager * This,
2059 /* [in] */ DWORD dwAppDomainId,
2060 /* [in] */ DWORD dwFlags);
2061
2062 HRESULT ( STDMETHODCALLTYPE *Resume )(
2063 ICLRExecutionManager * This,
2064 /* [in] */ DWORD dwAppDomainId);
2065
2066 END_INTERFACE
2067 } ICLRExecutionManagerVtbl;
2068
2069 interface ICLRExecutionManager
2070 {
2071 CONST_VTBL struct ICLRExecutionManagerVtbl *lpVtbl;
2072 };
2073
2074
2075
2076#ifdef COBJMACROS
2077
2078
2079#define ICLRExecutionManager_QueryInterface(This,riid,ppvObject) \
2080 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2081
2082#define ICLRExecutionManager_AddRef(This) \
2083 ( (This)->lpVtbl -> AddRef(This) )
2084
2085#define ICLRExecutionManager_Release(This) \
2086 ( (This)->lpVtbl -> Release(This) )
2087
2088
2089#define ICLRExecutionManager_Pause(This,dwAppDomainId,dwFlags) \
2090 ( (This)->lpVtbl -> Pause(This,dwAppDomainId,dwFlags) )
2091
2092#define ICLRExecutionManager_Resume(This,dwAppDomainId) \
2093 ( (This)->lpVtbl -> Resume(This,dwAppDomainId) )
2094
2095#endif /* COBJMACROS */
2096
2097
2098#endif /* C style interface */
2099
2100
2101
2102
2103#endif /* __ICLRExecutionManager_INTERFACE_DEFINED__ */
2104
2105
2106#ifndef __IHostNetCFDebugControlManager_INTERFACE_DEFINED__
2107#define __IHostNetCFDebugControlManager_INTERFACE_DEFINED__
2108
2109/* interface IHostNetCFDebugControlManager */
2110/* [object][local][unique][helpstring][version][uuid] */
2111
2112
2113EXTERN_C const IID IID_IHostNetCFDebugControlManager;
2114
2115#if defined(__cplusplus) && !defined(CINTERFACE)
2116
2117 MIDL_INTERFACE("F2833A0C-F944-48d8-940E-F59425EDBFCF")
2118 IHostNetCFDebugControlManager : public IUnknown
2119 {
2120 public:
2121 virtual HRESULT STDMETHODCALLTYPE NotifyPause(
2122 DWORD dwReserved) = 0;
2123
2124 virtual HRESULT STDMETHODCALLTYPE NotifyResume(
2125 DWORD dwReserved) = 0;
2126
2127 };
2128
2129
2130#else /* C style interface */
2131
2132 typedef struct IHostNetCFDebugControlManagerVtbl
2133 {
2134 BEGIN_INTERFACE
2135
2136 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2137 IHostNetCFDebugControlManager * This,
2138 /* [in] */ REFIID riid,
2139 /* [annotation][iid_is][out] */
2140 _COM_Outptr_ void **ppvObject);
2141
2142 ULONG ( STDMETHODCALLTYPE *AddRef )(
2143 IHostNetCFDebugControlManager * This);
2144
2145 ULONG ( STDMETHODCALLTYPE *Release )(
2146 IHostNetCFDebugControlManager * This);
2147
2148 HRESULT ( STDMETHODCALLTYPE *NotifyPause )(
2149 IHostNetCFDebugControlManager * This,
2150 DWORD dwReserved);
2151
2152 HRESULT ( STDMETHODCALLTYPE *NotifyResume )(
2153 IHostNetCFDebugControlManager * This,
2154 DWORD dwReserved);
2155
2156 END_INTERFACE
2157 } IHostNetCFDebugControlManagerVtbl;
2158
2159 interface IHostNetCFDebugControlManager
2160 {
2161 CONST_VTBL struct IHostNetCFDebugControlManagerVtbl *lpVtbl;
2162 };
2163
2164
2165
2166#ifdef COBJMACROS
2167
2168
2169#define IHostNetCFDebugControlManager_QueryInterface(This,riid,ppvObject) \
2170 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2171
2172#define IHostNetCFDebugControlManager_AddRef(This) \
2173 ( (This)->lpVtbl -> AddRef(This) )
2174
2175#define IHostNetCFDebugControlManager_Release(This) \
2176 ( (This)->lpVtbl -> Release(This) )
2177
2178
2179#define IHostNetCFDebugControlManager_NotifyPause(This,dwReserved) \
2180 ( (This)->lpVtbl -> NotifyPause(This,dwReserved) )
2181
2182#define IHostNetCFDebugControlManager_NotifyResume(This,dwReserved) \
2183 ( (This)->lpVtbl -> NotifyResume(This,dwReserved) )
2184
2185#endif /* COBJMACROS */
2186
2187
2188#endif /* C style interface */
2189
2190
2191
2192
2193#endif /* __IHostNetCFDebugControlManager_INTERFACE_DEFINED__ */
2194
2195
2196/* interface __MIDL_itf_mscoree_0000_0013 */
2197/* [local] */
2198
2199typedef /* [public] */
2200enum __MIDL___MIDL_itf_mscoree_0000_0013_0001
2201 {
2202 eNoChecks = 0,
2203 eSynchronization = 0x1,
2204 eSharedState = 0x2,
2205 eExternalProcessMgmt = 0x4,
2206 eSelfAffectingProcessMgmt = 0x8,
2207 eExternalThreading = 0x10,
2208 eSelfAffectingThreading = 0x20,
2209 eSecurityInfrastructure = 0x40,
2210 eUI = 0x80,
2211 eMayLeakOnAbort = 0x100,
2212 eAll = 0x1ff
2213 } EApiCategories;
2214
2215typedef /* [public] */
2216enum __MIDL___MIDL_itf_mscoree_0000_0013_0002
2217 {
2218 eInitializeNewDomainFlags_None = 0,
2219 eInitializeNewDomainFlags_NoSecurityChanges = 0x2
2220 } EInitializeNewDomainFlags;
2221
2222
2223
2224extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0013_v0_0_c_ifspec;
2225extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0013_v0_0_s_ifspec;
2226
2227
2228#ifndef __mscoree_LIBRARY_DEFINED__
2229#define __mscoree_LIBRARY_DEFINED__
2230
2231/* library mscoree */
2232/* [helpstring][version][uuid] */
2233
2234#define CCW_PTR int *
2235
2236EXTERN_C const IID LIBID_mscoree;
2237
2238#ifndef __ITypeName_INTERFACE_DEFINED__
2239#define __ITypeName_INTERFACE_DEFINED__
2240
2241/* interface ITypeName */
2242/* [unique][helpstring][uuid][oleautomation][object] */
2243
2244
2245EXTERN_C const IID IID_ITypeName;
2246
2247#if defined(__cplusplus) && !defined(CINTERFACE)
2248
2249 MIDL_INTERFACE("B81FF171-20F3-11d2-8DCC-00A0C9B00522")
2250 ITypeName : public IUnknown
2251 {
2252 public:
2253 virtual HRESULT STDMETHODCALLTYPE GetNameCount(
2254 /* [retval][out] */ DWORD *pCount) = 0;
2255
2256 virtual HRESULT STDMETHODCALLTYPE GetNames(
2257 /* [in] */ DWORD count,
2258 /* [out] */ BSTR *rgbszNames,
2259 /* [retval][out] */ DWORD *pCount) = 0;
2260
2261 virtual HRESULT STDMETHODCALLTYPE GetTypeArgumentCount(
2262 /* [retval][out] */ DWORD *pCount) = 0;
2263
2264 virtual HRESULT STDMETHODCALLTYPE GetTypeArguments(
2265 /* [in] */ DWORD count,
2266 /* [out] */ ITypeName **rgpArguments,
2267 /* [retval][out] */ DWORD *pCount) = 0;
2268
2269 virtual HRESULT STDMETHODCALLTYPE GetModifierLength(
2270 /* [retval][out] */ DWORD *pCount) = 0;
2271
2272 virtual HRESULT STDMETHODCALLTYPE GetModifiers(
2273 /* [in] */ DWORD count,
2274 /* [out] */ DWORD *rgModifiers,
2275 /* [retval][out] */ DWORD *pCount) = 0;
2276
2277 virtual HRESULT STDMETHODCALLTYPE GetAssemblyName(
2278 /* [retval][out] */ BSTR *rgbszAssemblyNames) = 0;
2279
2280 };
2281
2282
2283#else /* C style interface */
2284
2285 typedef struct ITypeNameVtbl
2286 {
2287 BEGIN_INTERFACE
2288
2289 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2290 ITypeName * This,
2291 /* [in] */ REFIID riid,
2292 /* [annotation][iid_is][out] */
2293 _COM_Outptr_ void **ppvObject);
2294
2295 ULONG ( STDMETHODCALLTYPE *AddRef )(
2296 ITypeName * This);
2297
2298 ULONG ( STDMETHODCALLTYPE *Release )(
2299 ITypeName * This);
2300
2301 HRESULT ( STDMETHODCALLTYPE *GetNameCount )(
2302 ITypeName * This,
2303 /* [retval][out] */ DWORD *pCount);
2304
2305 HRESULT ( STDMETHODCALLTYPE *GetNames )(
2306 ITypeName * This,
2307 /* [in] */ DWORD count,
2308 /* [out] */ BSTR *rgbszNames,
2309 /* [retval][out] */ DWORD *pCount);
2310
2311 HRESULT ( STDMETHODCALLTYPE *GetTypeArgumentCount )(
2312 ITypeName * This,
2313 /* [retval][out] */ DWORD *pCount);
2314
2315 HRESULT ( STDMETHODCALLTYPE *GetTypeArguments )(
2316 ITypeName * This,
2317 /* [in] */ DWORD count,
2318 /* [out] */ ITypeName **rgpArguments,
2319 /* [retval][out] */ DWORD *pCount);
2320
2321 HRESULT ( STDMETHODCALLTYPE *GetModifierLength )(
2322 ITypeName * This,
2323 /* [retval][out] */ DWORD *pCount);
2324
2325 HRESULT ( STDMETHODCALLTYPE *GetModifiers )(
2326 ITypeName * This,
2327 /* [in] */ DWORD count,
2328 /* [out] */ DWORD *rgModifiers,
2329 /* [retval][out] */ DWORD *pCount);
2330
2331 HRESULT ( STDMETHODCALLTYPE *GetAssemblyName )(
2332 ITypeName * This,
2333 /* [retval][out] */ BSTR *rgbszAssemblyNames);
2334
2335 END_INTERFACE
2336 } ITypeNameVtbl;
2337
2338 interface ITypeName
2339 {
2340 CONST_VTBL struct ITypeNameVtbl *lpVtbl;
2341 };
2342
2343
2344
2345#ifdef COBJMACROS
2346
2347
2348#define ITypeName_QueryInterface(This,riid,ppvObject) \
2349 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2350
2351#define ITypeName_AddRef(This) \
2352 ( (This)->lpVtbl -> AddRef(This) )
2353
2354#define ITypeName_Release(This) \
2355 ( (This)->lpVtbl -> Release(This) )
2356
2357
2358#define ITypeName_GetNameCount(This,pCount) \
2359 ( (This)->lpVtbl -> GetNameCount(This,pCount) )
2360
2361#define ITypeName_GetNames(This,count,rgbszNames,pCount) \
2362 ( (This)->lpVtbl -> GetNames(This,count,rgbszNames,pCount) )
2363
2364#define ITypeName_GetTypeArgumentCount(This,pCount) \
2365 ( (This)->lpVtbl -> GetTypeArgumentCount(This,pCount) )
2366
2367#define ITypeName_GetTypeArguments(This,count,rgpArguments,pCount) \
2368 ( (This)->lpVtbl -> GetTypeArguments(This,count,rgpArguments,pCount) )
2369
2370#define ITypeName_GetModifierLength(This,pCount) \
2371 ( (This)->lpVtbl -> GetModifierLength(This,pCount) )
2372
2373#define ITypeName_GetModifiers(This,count,rgModifiers,pCount) \
2374 ( (This)->lpVtbl -> GetModifiers(This,count,rgModifiers,pCount) )
2375
2376#define ITypeName_GetAssemblyName(This,rgbszAssemblyNames) \
2377 ( (This)->lpVtbl -> GetAssemblyName(This,rgbszAssemblyNames) )
2378
2379#endif /* COBJMACROS */
2380
2381
2382#endif /* C style interface */
2383
2384
2385
2386
2387#endif /* __ITypeName_INTERFACE_DEFINED__ */
2388
2389
2390#ifndef __ITypeNameBuilder_INTERFACE_DEFINED__
2391#define __ITypeNameBuilder_INTERFACE_DEFINED__
2392
2393/* interface ITypeNameBuilder */
2394/* [unique][helpstring][uuid][oleautomation][object] */
2395
2396
2397EXTERN_C const IID IID_ITypeNameBuilder;
2398
2399#if defined(__cplusplus) && !defined(CINTERFACE)
2400
2401 MIDL_INTERFACE("B81FF171-20F3-11d2-8DCC-00A0C9B00523")
2402 ITypeNameBuilder : public IUnknown
2403 {
2404 public:
2405 virtual HRESULT STDMETHODCALLTYPE OpenGenericArguments( void) = 0;
2406
2407 virtual HRESULT STDMETHODCALLTYPE CloseGenericArguments( void) = 0;
2408
2409 virtual HRESULT STDMETHODCALLTYPE OpenGenericArgument( void) = 0;
2410
2411 virtual HRESULT STDMETHODCALLTYPE CloseGenericArgument( void) = 0;
2412
2413 virtual HRESULT STDMETHODCALLTYPE AddName(
2414 /* [in] */ LPCWSTR szName) = 0;
2415
2416 virtual HRESULT STDMETHODCALLTYPE AddPointer( void) = 0;
2417
2418 virtual HRESULT STDMETHODCALLTYPE AddByRef( void) = 0;
2419
2420 virtual HRESULT STDMETHODCALLTYPE AddSzArray( void) = 0;
2421
2422 virtual HRESULT STDMETHODCALLTYPE AddArray(
2423 /* [in] */ DWORD rank) = 0;
2424
2425 virtual HRESULT STDMETHODCALLTYPE AddAssemblySpec(
2426 /* [in] */ LPCWSTR szAssemblySpec) = 0;
2427
2428 virtual HRESULT STDMETHODCALLTYPE ToString(
2429 /* [retval][out] */ BSTR *pszStringRepresentation) = 0;
2430
2431 virtual HRESULT STDMETHODCALLTYPE Clear( void) = 0;
2432
2433 };
2434
2435
2436#else /* C style interface */
2437
2438 typedef struct ITypeNameBuilderVtbl
2439 {
2440 BEGIN_INTERFACE
2441
2442 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2443 ITypeNameBuilder * This,
2444 /* [in] */ REFIID riid,
2445 /* [annotation][iid_is][out] */
2446 _COM_Outptr_ void **ppvObject);
2447
2448 ULONG ( STDMETHODCALLTYPE *AddRef )(
2449 ITypeNameBuilder * This);
2450
2451 ULONG ( STDMETHODCALLTYPE *Release )(
2452 ITypeNameBuilder * This);
2453
2454 HRESULT ( STDMETHODCALLTYPE *OpenGenericArguments )(
2455 ITypeNameBuilder * This);
2456
2457 HRESULT ( STDMETHODCALLTYPE *CloseGenericArguments )(
2458 ITypeNameBuilder * This);
2459
2460 HRESULT ( STDMETHODCALLTYPE *OpenGenericArgument )(
2461 ITypeNameBuilder * This);
2462
2463 HRESULT ( STDMETHODCALLTYPE *CloseGenericArgument )(
2464 ITypeNameBuilder * This);
2465
2466 HRESULT ( STDMETHODCALLTYPE *AddName )(
2467 ITypeNameBuilder * This,
2468 /* [in] */ LPCWSTR szName);
2469
2470 HRESULT ( STDMETHODCALLTYPE *AddPointer )(
2471 ITypeNameBuilder * This);
2472
2473 HRESULT ( STDMETHODCALLTYPE *AddByRef )(
2474 ITypeNameBuilder * This);
2475
2476 HRESULT ( STDMETHODCALLTYPE *AddSzArray )(
2477 ITypeNameBuilder * This);
2478
2479 HRESULT ( STDMETHODCALLTYPE *AddArray )(
2480 ITypeNameBuilder * This,
2481 /* [in] */ DWORD rank);
2482
2483 HRESULT ( STDMETHODCALLTYPE *AddAssemblySpec )(
2484 ITypeNameBuilder * This,
2485 /* [in] */ LPCWSTR szAssemblySpec);
2486
2487 HRESULT ( STDMETHODCALLTYPE *ToString )(
2488 ITypeNameBuilder * This,
2489 /* [retval][out] */ BSTR *pszStringRepresentation);
2490
2491 HRESULT ( STDMETHODCALLTYPE *Clear )(
2492 ITypeNameBuilder * This);
2493
2494 END_INTERFACE
2495 } ITypeNameBuilderVtbl;
2496
2497 interface ITypeNameBuilder
2498 {
2499 CONST_VTBL struct ITypeNameBuilderVtbl *lpVtbl;
2500 };
2501
2502
2503
2504#ifdef COBJMACROS
2505
2506
2507#define ITypeNameBuilder_QueryInterface(This,riid,ppvObject) \
2508 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2509
2510#define ITypeNameBuilder_AddRef(This) \
2511 ( (This)->lpVtbl -> AddRef(This) )
2512
2513#define ITypeNameBuilder_Release(This) \
2514 ( (This)->lpVtbl -> Release(This) )
2515
2516
2517#define ITypeNameBuilder_OpenGenericArguments(This) \
2518 ( (This)->lpVtbl -> OpenGenericArguments(This) )
2519
2520#define ITypeNameBuilder_CloseGenericArguments(This) \
2521 ( (This)->lpVtbl -> CloseGenericArguments(This) )
2522
2523#define ITypeNameBuilder_OpenGenericArgument(This) \
2524 ( (This)->lpVtbl -> OpenGenericArgument(This) )
2525
2526#define ITypeNameBuilder_CloseGenericArgument(This) \
2527 ( (This)->lpVtbl -> CloseGenericArgument(This) )
2528
2529#define ITypeNameBuilder_AddName(This,szName) \
2530 ( (This)->lpVtbl -> AddName(This,szName) )
2531
2532#define ITypeNameBuilder_AddPointer(This) \
2533 ( (This)->lpVtbl -> AddPointer(This) )
2534
2535#define ITypeNameBuilder_AddByRef(This) \
2536 ( (This)->lpVtbl -> AddByRef(This) )
2537
2538#define ITypeNameBuilder_AddSzArray(This) \
2539 ( (This)->lpVtbl -> AddSzArray(This) )
2540
2541#define ITypeNameBuilder_AddArray(This,rank) \
2542 ( (This)->lpVtbl -> AddArray(This,rank) )
2543
2544#define ITypeNameBuilder_AddAssemblySpec(This,szAssemblySpec) \
2545 ( (This)->lpVtbl -> AddAssemblySpec(This,szAssemblySpec) )
2546
2547#define ITypeNameBuilder_ToString(This,pszStringRepresentation) \
2548 ( (This)->lpVtbl -> ToString(This,pszStringRepresentation) )
2549
2550#define ITypeNameBuilder_Clear(This) \
2551 ( (This)->lpVtbl -> Clear(This) )
2552
2553#endif /* COBJMACROS */
2554
2555
2556#endif /* C style interface */
2557
2558
2559
2560
2561#endif /* __ITypeNameBuilder_INTERFACE_DEFINED__ */
2562
2563
2564#ifndef __ITypeNameFactory_INTERFACE_DEFINED__
2565#define __ITypeNameFactory_INTERFACE_DEFINED__
2566
2567/* interface ITypeNameFactory */
2568/* [unique][helpstring][uuid][oleautomation][object] */
2569
2570
2571EXTERN_C const IID IID_ITypeNameFactory;
2572
2573#if defined(__cplusplus) && !defined(CINTERFACE)
2574
2575 MIDL_INTERFACE("B81FF171-20F3-11d2-8DCC-00A0C9B00521")
2576 ITypeNameFactory : public IUnknown
2577 {
2578 public:
2579 virtual HRESULT STDMETHODCALLTYPE ParseTypeName(
2580 /* [in] */ LPCWSTR szName,
2581 /* [out] */ DWORD *pError,
2582 /* [retval][out] */ ITypeName **ppTypeName) = 0;
2583
2584 virtual HRESULT STDMETHODCALLTYPE GetTypeNameBuilder(
2585 /* [retval][out] */ ITypeNameBuilder **ppTypeBuilder) = 0;
2586
2587 };
2588
2589
2590#else /* C style interface */
2591
2592 typedef struct ITypeNameFactoryVtbl
2593 {
2594 BEGIN_INTERFACE
2595
2596 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2597 ITypeNameFactory * This,
2598 /* [in] */ REFIID riid,
2599 /* [annotation][iid_is][out] */
2600 _COM_Outptr_ void **ppvObject);
2601
2602 ULONG ( STDMETHODCALLTYPE *AddRef )(
2603 ITypeNameFactory * This);
2604
2605 ULONG ( STDMETHODCALLTYPE *Release )(
2606 ITypeNameFactory * This);
2607
2608 HRESULT ( STDMETHODCALLTYPE *ParseTypeName )(
2609 ITypeNameFactory * This,
2610 /* [in] */ LPCWSTR szName,
2611 /* [out] */ DWORD *pError,
2612 /* [retval][out] */ ITypeName **ppTypeName);
2613
2614 HRESULT ( STDMETHODCALLTYPE *GetTypeNameBuilder )(
2615 ITypeNameFactory * This,
2616 /* [retval][out] */ ITypeNameBuilder **ppTypeBuilder);
2617
2618 END_INTERFACE
2619 } ITypeNameFactoryVtbl;
2620
2621 interface ITypeNameFactory
2622 {
2623 CONST_VTBL struct ITypeNameFactoryVtbl *lpVtbl;
2624 };
2625
2626
2627
2628#ifdef COBJMACROS
2629
2630
2631#define ITypeNameFactory_QueryInterface(This,riid,ppvObject) \
2632 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2633
2634#define ITypeNameFactory_AddRef(This) \
2635 ( (This)->lpVtbl -> AddRef(This) )
2636
2637#define ITypeNameFactory_Release(This) \
2638 ( (This)->lpVtbl -> Release(This) )
2639
2640
2641#define ITypeNameFactory_ParseTypeName(This,szName,pError,ppTypeName) \
2642 ( (This)->lpVtbl -> ParseTypeName(This,szName,pError,ppTypeName) )
2643
2644#define ITypeNameFactory_GetTypeNameBuilder(This,ppTypeBuilder) \
2645 ( (This)->lpVtbl -> GetTypeNameBuilder(This,ppTypeBuilder) )
2646
2647#endif /* COBJMACROS */
2648
2649
2650#endif /* C style interface */
2651
2652
2653
2654
2655#endif /* __ITypeNameFactory_INTERFACE_DEFINED__ */
2656
2657
2658#ifndef __IManagedObject_INTERFACE_DEFINED__
2659#define __IManagedObject_INTERFACE_DEFINED__
2660
2661/* interface IManagedObject */
2662/* [proxy][unique][helpstring][uuid][oleautomation][object] */
2663
2664
2665EXTERN_C const IID IID_IManagedObject;
2666
2667#if defined(__cplusplus) && !defined(CINTERFACE)
2668
2669 MIDL_INTERFACE("C3FCC19E-A970-11d2-8B5A-00A0C9B7C9C4")
2670 IManagedObject : public IUnknown
2671 {
2672 public:
2673 virtual HRESULT STDMETHODCALLTYPE GetSerializedBuffer(
2674 /* [out] */ BSTR *pBSTR) = 0;
2675
2676 virtual HRESULT STDMETHODCALLTYPE GetObjectIdentity(
2677 /* [out] */ BSTR *pBSTRGUID,
2678 /* [out] */ int *AppDomainID,
2679 /* [out] */ int *pCCW) = 0;
2680
2681 };
2682
2683
2684#else /* C style interface */
2685
2686 typedef struct IManagedObjectVtbl
2687 {
2688 BEGIN_INTERFACE
2689
2690 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2691 IManagedObject * This,
2692 /* [in] */ REFIID riid,
2693 /* [annotation][iid_is][out] */
2694 _COM_Outptr_ void **ppvObject);
2695
2696 ULONG ( STDMETHODCALLTYPE *AddRef )(
2697 IManagedObject * This);
2698
2699 ULONG ( STDMETHODCALLTYPE *Release )(
2700 IManagedObject * This);
2701
2702 HRESULT ( STDMETHODCALLTYPE *GetSerializedBuffer )(
2703 IManagedObject * This,
2704 /* [out] */ BSTR *pBSTR);
2705
2706 HRESULT ( STDMETHODCALLTYPE *GetObjectIdentity )(
2707 IManagedObject * This,
2708 /* [out] */ BSTR *pBSTRGUID,
2709 /* [out] */ int *AppDomainID,
2710 /* [out] */ int *pCCW);
2711
2712 END_INTERFACE
2713 } IManagedObjectVtbl;
2714
2715 interface IManagedObject
2716 {
2717 CONST_VTBL struct IManagedObjectVtbl *lpVtbl;
2718 };
2719
2720
2721
2722#ifdef COBJMACROS
2723
2724
2725#define IManagedObject_QueryInterface(This,riid,ppvObject) \
2726 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2727
2728#define IManagedObject_AddRef(This) \
2729 ( (This)->lpVtbl -> AddRef(This) )
2730
2731#define IManagedObject_Release(This) \
2732 ( (This)->lpVtbl -> Release(This) )
2733
2734
2735#define IManagedObject_GetSerializedBuffer(This,pBSTR) \
2736 ( (This)->lpVtbl -> GetSerializedBuffer(This,pBSTR) )
2737
2738#define IManagedObject_GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW) \
2739 ( (This)->lpVtbl -> GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW) )
2740
2741#endif /* COBJMACROS */
2742
2743
2744#endif /* C style interface */
2745
2746
2747
2748
2749#endif /* __IManagedObject_INTERFACE_DEFINED__ */
2750
2751
2752EXTERN_C const CLSID CLSID_ComCallUnmarshal;
2753
2754#ifdef __cplusplus
2755
2756class DECLSPEC_UUID("3F281000-E95A-11d2-886B-00C04F869F04")
2757ComCallUnmarshal;
2758#endif
2759
2760EXTERN_C const CLSID CLSID_ComCallUnmarshalV4;
2761
2762#ifdef __cplusplus
2763
2764class DECLSPEC_UUID("45FB4600-E6E8-4928-B25E-50476FF79425")
2765ComCallUnmarshalV4;
2766#endif
2767
2768EXTERN_C const CLSID CLSID_CLRRuntimeHost;
2769
2770#ifdef __cplusplus
2771
2772class DECLSPEC_UUID("90F1A06E-7712-4762-86B5-7A5EBA6BDB02")
2773CLRRuntimeHost;
2774#endif
2775
2776EXTERN_C const CLSID CLSID_TypeNameFactory;
2777
2778#ifdef __cplusplus
2779
2780class DECLSPEC_UUID("B81FF171-20F3-11d2-8DCC-00A0C9B00525")
2781TypeNameFactory;
2782#endif
2783#endif /* __mscoree_LIBRARY_DEFINED__ */
2784
2785/* interface __MIDL_itf_mscoree_0000_0014 */
2786/* [local] */
2787
2788typedef /* [public] */
2789enum __MIDL___MIDL_itf_mscoree_0000_0014_0001
2790 {
2791 eCurrentContext = 0,
2792 eRestrictedContext = 0x1
2793 } EContextType;
2794
2795
2796
2797extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0014_v0_0_c_ifspec;
2798extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0014_v0_0_s_ifspec;
2799
2800#ifndef __ICLRAppDomainResourceMonitor_INTERFACE_DEFINED__
2801#define __ICLRAppDomainResourceMonitor_INTERFACE_DEFINED__
2802
2803/* interface ICLRAppDomainResourceMonitor */
2804/* [object][local][unique][helpstring][uuid][version] */
2805
2806
2807EXTERN_C const IID IID_ICLRAppDomainResourceMonitor;
2808
2809#if defined(__cplusplus) && !defined(CINTERFACE)
2810
2811 MIDL_INTERFACE("c62de18c-2e23-4aea-8423-b40c1fc59eae")
2812 ICLRAppDomainResourceMonitor : public IUnknown
2813 {
2814 public:
2815 virtual HRESULT STDMETHODCALLTYPE GetCurrentAllocated(
2816 /* [in] */ DWORD dwAppDomainId,
2817 /* [out] */ ULONGLONG *pBytesAllocated) = 0;
2818
2819 virtual HRESULT STDMETHODCALLTYPE GetCurrentSurvived(
2820 /* [in] */ DWORD dwAppDomainId,
2821 /* [out] */ ULONGLONG *pAppDomainBytesSurvived,
2822 /* [out] */ ULONGLONG *pTotalBytesSurvived) = 0;
2823
2824 virtual HRESULT STDMETHODCALLTYPE GetCurrentCpuTime(
2825 /* [in] */ DWORD dwAppDomainId,
2826 /* [out] */ ULONGLONG *pMilliseconds) = 0;
2827
2828 };
2829
2830
2831#else /* C style interface */
2832
2833 typedef struct ICLRAppDomainResourceMonitorVtbl
2834 {
2835 BEGIN_INTERFACE
2836
2837 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2838 ICLRAppDomainResourceMonitor * This,
2839 /* [in] */ REFIID riid,
2840 /* [annotation][iid_is][out] */
2841 _COM_Outptr_ void **ppvObject);
2842
2843 ULONG ( STDMETHODCALLTYPE *AddRef )(
2844 ICLRAppDomainResourceMonitor * This);
2845
2846 ULONG ( STDMETHODCALLTYPE *Release )(
2847 ICLRAppDomainResourceMonitor * This);
2848
2849 HRESULT ( STDMETHODCALLTYPE *GetCurrentAllocated )(
2850 ICLRAppDomainResourceMonitor * This,
2851 /* [in] */ DWORD dwAppDomainId,
2852 /* [out] */ ULONGLONG *pBytesAllocated);
2853
2854 HRESULT ( STDMETHODCALLTYPE *GetCurrentSurvived )(
2855 ICLRAppDomainResourceMonitor * This,
2856 /* [in] */ DWORD dwAppDomainId,
2857 /* [out] */ ULONGLONG *pAppDomainBytesSurvived,
2858 /* [out] */ ULONGLONG *pTotalBytesSurvived);
2859
2860 HRESULT ( STDMETHODCALLTYPE *GetCurrentCpuTime )(
2861 ICLRAppDomainResourceMonitor * This,
2862 /* [in] */ DWORD dwAppDomainId,
2863 /* [out] */ ULONGLONG *pMilliseconds);
2864
2865 END_INTERFACE
2866 } ICLRAppDomainResourceMonitorVtbl;
2867
2868 interface ICLRAppDomainResourceMonitor
2869 {
2870 CONST_VTBL struct ICLRAppDomainResourceMonitorVtbl *lpVtbl;
2871 };
2872
2873
2874
2875#ifdef COBJMACROS
2876
2877
2878#define ICLRAppDomainResourceMonitor_QueryInterface(This,riid,ppvObject) \
2879 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2880
2881#define ICLRAppDomainResourceMonitor_AddRef(This) \
2882 ( (This)->lpVtbl -> AddRef(This) )
2883
2884#define ICLRAppDomainResourceMonitor_Release(This) \
2885 ( (This)->lpVtbl -> Release(This) )
2886
2887
2888#define ICLRAppDomainResourceMonitor_GetCurrentAllocated(This,dwAppDomainId,pBytesAllocated) \
2889 ( (This)->lpVtbl -> GetCurrentAllocated(This,dwAppDomainId,pBytesAllocated) )
2890
2891#define ICLRAppDomainResourceMonitor_GetCurrentSurvived(This,dwAppDomainId,pAppDomainBytesSurvived,pTotalBytesSurvived) \
2892 ( (This)->lpVtbl -> GetCurrentSurvived(This,dwAppDomainId,pAppDomainBytesSurvived,pTotalBytesSurvived) )
2893
2894#define ICLRAppDomainResourceMonitor_GetCurrentCpuTime(This,dwAppDomainId,pMilliseconds) \
2895 ( (This)->lpVtbl -> GetCurrentCpuTime(This,dwAppDomainId,pMilliseconds) )
2896
2897#endif /* COBJMACROS */
2898
2899
2900#endif /* C style interface */
2901
2902
2903
2904
2905#endif /* __ICLRAppDomainResourceMonitor_INTERFACE_DEFINED__ */
2906
2907
2908/* interface __MIDL_itf_mscoree_0000_0015 */
2909/* [local] */
2910
2911#undef DEPRECATED_CLR_STDAPI
2912#undef DECLARE_DEPRECATED
2913#undef DEPRECATED_CLR_API_MESG
2914
2915
2916extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0015_v0_0_c_ifspec;
2917extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0015_v0_0_s_ifspec;
2918
2919/* Additional Prototypes for ALL interfaces */
2920
2921/* end of Additional Prototypes */
2922
2923#ifdef __cplusplus
2924}
2925#endif
2926
2927#endif
2928
2929
2930