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 __mscorsvc_h__
34#define __mscorsvc_h__
35
36#if defined(_MSC_VER) && (_MSC_VER >= 1020)
37#pragma once
38#endif
39
40/* Forward Declarations */
41
42#ifndef __ICorSvcDependencies_FWD_DEFINED__
43#define __ICorSvcDependencies_FWD_DEFINED__
44typedef interface ICorSvcDependencies ICorSvcDependencies;
45
46#endif /* __ICorSvcDependencies_FWD_DEFINED__ */
47
48
49#ifndef __ICorSvcWorker_FWD_DEFINED__
50#define __ICorSvcWorker_FWD_DEFINED__
51typedef interface ICorSvcWorker ICorSvcWorker;
52
53#endif /* __ICorSvcWorker_FWD_DEFINED__ */
54
55
56#ifndef __ICorSvcWorker2_FWD_DEFINED__
57#define __ICorSvcWorker2_FWD_DEFINED__
58typedef interface ICorSvcWorker2 ICorSvcWorker2;
59
60#endif /* __ICorSvcWorker2_FWD_DEFINED__ */
61
62
63#ifndef __ICorSvcWorker3_FWD_DEFINED__
64#define __ICorSvcWorker3_FWD_DEFINED__
65typedef interface ICorSvcWorker3 ICorSvcWorker3;
66
67#endif /* __ICorSvcWorker3_FWD_DEFINED__ */
68
69
70#ifndef __ICorSvcSetPrivateAttributes_FWD_DEFINED__
71#define __ICorSvcSetPrivateAttributes_FWD_DEFINED__
72typedef interface ICorSvcSetPrivateAttributes ICorSvcSetPrivateAttributes;
73
74#endif /* __ICorSvcSetPrivateAttributes_FWD_DEFINED__ */
75
76
77#ifndef __ICorSvcRepository_FWD_DEFINED__
78#define __ICorSvcRepository_FWD_DEFINED__
79typedef interface ICorSvcRepository ICorSvcRepository;
80
81#endif /* __ICorSvcRepository_FWD_DEFINED__ */
82
83
84#ifndef __ICorSvcAppX_FWD_DEFINED__
85#define __ICorSvcAppX_FWD_DEFINED__
86typedef interface ICorSvcAppX ICorSvcAppX;
87
88#endif /* __ICorSvcAppX_FWD_DEFINED__ */
89
90
91#ifndef __ICorSvcLogger_FWD_DEFINED__
92#define __ICorSvcLogger_FWD_DEFINED__
93typedef interface ICorSvcLogger ICorSvcLogger;
94
95#endif /* __ICorSvcLogger_FWD_DEFINED__ */
96
97
98#ifndef __ICorSvcPooledWorker_FWD_DEFINED__
99#define __ICorSvcPooledWorker_FWD_DEFINED__
100typedef interface ICorSvcPooledWorker ICorSvcPooledWorker;
101
102#endif /* __ICorSvcPooledWorker_FWD_DEFINED__ */
103
104
105#ifndef __ICorSvcBindToWorker_FWD_DEFINED__
106#define __ICorSvcBindToWorker_FWD_DEFINED__
107typedef interface ICorSvcBindToWorker ICorSvcBindToWorker;
108
109#endif /* __ICorSvcBindToWorker_FWD_DEFINED__ */
110
111
112#ifndef __ICorSvc_FWD_DEFINED__
113#define __ICorSvc_FWD_DEFINED__
114typedef interface ICorSvc ICorSvc;
115
116#endif /* __ICorSvc_FWD_DEFINED__ */
117
118
119#ifndef __ICompileProgressNotification_FWD_DEFINED__
120#define __ICompileProgressNotification_FWD_DEFINED__
121typedef interface ICompileProgressNotification ICompileProgressNotification;
122
123#endif /* __ICompileProgressNotification_FWD_DEFINED__ */
124
125
126#ifndef __ICompileProgressNotification2_FWD_DEFINED__
127#define __ICompileProgressNotification2_FWD_DEFINED__
128typedef interface ICompileProgressNotification2 ICompileProgressNotification2;
129
130#endif /* __ICompileProgressNotification2_FWD_DEFINED__ */
131
132
133#ifndef __ICorSvcInstaller_FWD_DEFINED__
134#define __ICorSvcInstaller_FWD_DEFINED__
135typedef interface ICorSvcInstaller ICorSvcInstaller;
136
137#endif /* __ICorSvcInstaller_FWD_DEFINED__ */
138
139
140#ifndef __ICorSvcAdvancedInstaller_FWD_DEFINED__
141#define __ICorSvcAdvancedInstaller_FWD_DEFINED__
142typedef interface ICorSvcAdvancedInstaller ICorSvcAdvancedInstaller;
143
144#endif /* __ICorSvcAdvancedInstaller_FWD_DEFINED__ */
145
146
147#ifndef __ICorSvcOptimizer_FWD_DEFINED__
148#define __ICorSvcOptimizer_FWD_DEFINED__
149typedef interface ICorSvcOptimizer ICorSvcOptimizer;
150
151#endif /* __ICorSvcOptimizer_FWD_DEFINED__ */
152
153
154#ifndef __ICorSvcOptimizer2_FWD_DEFINED__
155#define __ICorSvcOptimizer2_FWD_DEFINED__
156typedef interface ICorSvcOptimizer2 ICorSvcOptimizer2;
157
158#endif /* __ICorSvcOptimizer2_FWD_DEFINED__ */
159
160
161#ifndef __ICorSvcOptimizer3_FWD_DEFINED__
162#define __ICorSvcOptimizer3_FWD_DEFINED__
163typedef interface ICorSvcOptimizer3 ICorSvcOptimizer3;
164
165#endif /* __ICorSvcOptimizer3_FWD_DEFINED__ */
166
167
168#ifndef __ICorSvcManager_FWD_DEFINED__
169#define __ICorSvcManager_FWD_DEFINED__
170typedef interface ICorSvcManager ICorSvcManager;
171
172#endif /* __ICorSvcManager_FWD_DEFINED__ */
173
174
175#ifndef __ICorSvcManager2_FWD_DEFINED__
176#define __ICorSvcManager2_FWD_DEFINED__
177typedef interface ICorSvcManager2 ICorSvcManager2;
178
179#endif /* __ICorSvcManager2_FWD_DEFINED__ */
180
181
182#ifndef __ICorSvcSetLegacyServiceBehavior_FWD_DEFINED__
183#define __ICorSvcSetLegacyServiceBehavior_FWD_DEFINED__
184typedef interface ICorSvcSetLegacyServiceBehavior ICorSvcSetLegacyServiceBehavior;
185
186#endif /* __ICorSvcSetLegacyServiceBehavior_FWD_DEFINED__ */
187
188
189#ifndef __ICorSvcSetTaskBootTriggerState_FWD_DEFINED__
190#define __ICorSvcSetTaskBootTriggerState_FWD_DEFINED__
191typedef interface ICorSvcSetTaskBootTriggerState ICorSvcSetTaskBootTriggerState;
192
193#endif /* __ICorSvcSetTaskBootTriggerState_FWD_DEFINED__ */
194
195
196#ifndef __ICorSvcSetTaskDelayStartTriggerState_FWD_DEFINED__
197#define __ICorSvcSetTaskDelayStartTriggerState_FWD_DEFINED__
198typedef interface ICorSvcSetTaskDelayStartTriggerState ICorSvcSetTaskDelayStartTriggerState;
199
200#endif /* __ICorSvcSetTaskDelayStartTriggerState_FWD_DEFINED__ */
201
202
203/* header files for imported files */
204#include "unknwn.h"
205
206#ifdef __cplusplus
207extern "C"{
208#endif
209
210
211/* interface __MIDL_itf_mscorsvc_0000_0000 */
212/* [local] */
213
214#if 0
215#endif
216EXTERN_GUID(CLSID_CorSvcWorker, 0x8ed1a844, 0x32a7, 0x4a67, 0xba, 0x62, 0xf8, 0xd5, 0xaf, 0xdf, 0xf4, 0x60);
217EXTERN_GUID(CLSID_CorSvcBindToWorker, 0x9f74fb09, 0x4221, 0x40b4, 0xae, 0x21, 0xae, 0xb6, 0xdf, 0xf2, 0x99, 0x4e);
218STDAPI CorGetSvc(IUnknown **pIUnknown);
219
220
221extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0000_v0_0_c_ifspec;
222extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0000_v0_0_s_ifspec;
223
224
225#ifndef __mscorsvc_LIBRARY_DEFINED__
226#define __mscorsvc_LIBRARY_DEFINED__
227
228/* library mscorsvc */
229/* [helpstring][version][uuid] */
230
231typedef /* [public][public][public][public][public][public][public][public] */
232enum __MIDL___MIDL_itf_mscorsvc_0001_0004_0001
233 {
234 ScenarioDefault = 0,
235 ScenarioAll = 0x1,
236 ScenarioDebug = 0x2,
237 ScenarioProfile = 0x8,
238 ScenarioTuningDataCollection = 0x10,
239 ScenarioLegacy = 0x20,
240 ScenarioNgenLastRetry = 0x10000,
241 ScenarioAutoNGen = 0x100000,
242 ScenarioRepositoryOnly = 0x200000
243 } OptimizationScenario;
244
245typedef /* [public] */
246enum __MIDL___MIDL_itf_mscorsvc_0001_0004_0002
247 {
248 ScenarioEmitFixups = 0x10000,
249 ScenarioProfileInfo = 0x20000
250 } PrivateOptimizationScenario;
251
252typedef struct _SvcWorkerPriority
253 {
254 DWORD dwPriorityClass;
255 } SvcWorkerPriority;
256
257typedef /* [public] */
258enum __MIDL___MIDL_itf_mscorsvc_0001_0007_0001
259 {
260 DbgTypePdb = 0x1
261 } NGenPrivateAttributesFlags;
262
263typedef struct _NGenPrivateAttributes
264 {
265 DWORD Flags;
266 DWORD ZapStats;
267 BSTR DbgDir;
268 } NGenPrivateAttributes;
269
270typedef /* [public][public] */
271enum __MIDL___MIDL_itf_mscorsvc_0001_0008_0001
272 {
273 RepositoryDefault = 0,
274 MoveFromRepository = 0x1,
275 CopyToRepository = 0x2,
276 IgnoreRepository = 0x4
277 } RepositoryFlags;
278
279typedef
280enum CorSvcLogLevel
281 {
282 LogLevel_Error = 0,
283 LogLevel_Warning = ( LogLevel_Error + 1 ) ,
284 LogLevel_Success = ( LogLevel_Warning + 1 ) ,
285 LogLevel_Info = ( LogLevel_Success + 1 )
286 } CorSvcLogLevel;
287
288
289EXTERN_C const IID LIBID_mscorsvc;
290
291#ifndef __ICorSvcDependencies_INTERFACE_DEFINED__
292#define __ICorSvcDependencies_INTERFACE_DEFINED__
293
294/* interface ICorSvcDependencies */
295/* [unique][uuid][oleautomation][object] */
296
297
298EXTERN_C const IID IID_ICorSvcDependencies;
299
300#if defined(__cplusplus) && !defined(CINTERFACE)
301
302 MIDL_INTERFACE("ddb34005-9ba3-4025-9554-f00a2df5dbf5")
303 ICorSvcDependencies : public IUnknown
304 {
305 public:
306 virtual HRESULT STDMETHODCALLTYPE GetAssemblyDependencies(
307 /* [in] */ BSTR pAssemblyName,
308 /* [out] */ SAFEARRAY * *pDependencies,
309 /* [out] */ DWORD *assemblyNGenSetting,
310 /* [out] */ BSTR *pNativeImageIdentity,
311 /* [out] */ BSTR *pAssemblyDisplayName,
312 /* [out] */ SAFEARRAY * *pDependencyLoadSetting,
313 /* [out] */ SAFEARRAY * *pDependencyNGenSetting) = 0;
314
315 };
316
317
318#else /* C style interface */
319
320 typedef struct ICorSvcDependenciesVtbl
321 {
322 BEGIN_INTERFACE
323
324 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
325 ICorSvcDependencies * This,
326 /* [in] */ REFIID riid,
327 /* [annotation][iid_is][out] */
328 _COM_Outptr_ void **ppvObject);
329
330 ULONG ( STDMETHODCALLTYPE *AddRef )(
331 ICorSvcDependencies * This);
332
333 ULONG ( STDMETHODCALLTYPE *Release )(
334 ICorSvcDependencies * This);
335
336 HRESULT ( STDMETHODCALLTYPE *GetAssemblyDependencies )(
337 ICorSvcDependencies * This,
338 /* [in] */ BSTR pAssemblyName,
339 /* [out] */ SAFEARRAY * *pDependencies,
340 /* [out] */ DWORD *assemblyNGenSetting,
341 /* [out] */ BSTR *pNativeImageIdentity,
342 /* [out] */ BSTR *pAssemblyDisplayName,
343 /* [out] */ SAFEARRAY * *pDependencyLoadSetting,
344 /* [out] */ SAFEARRAY * *pDependencyNGenSetting);
345
346 END_INTERFACE
347 } ICorSvcDependenciesVtbl;
348
349 interface ICorSvcDependencies
350 {
351 CONST_VTBL struct ICorSvcDependenciesVtbl *lpVtbl;
352 };
353
354
355
356#ifdef COBJMACROS
357
358
359#define ICorSvcDependencies_QueryInterface(This,riid,ppvObject) \
360 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
361
362#define ICorSvcDependencies_AddRef(This) \
363 ( (This)->lpVtbl -> AddRef(This) )
364
365#define ICorSvcDependencies_Release(This) \
366 ( (This)->lpVtbl -> Release(This) )
367
368
369#define ICorSvcDependencies_GetAssemblyDependencies(This,pAssemblyName,pDependencies,assemblyNGenSetting,pNativeImageIdentity,pAssemblyDisplayName,pDependencyLoadSetting,pDependencyNGenSetting) \
370 ( (This)->lpVtbl -> GetAssemblyDependencies(This,pAssemblyName,pDependencies,assemblyNGenSetting,pNativeImageIdentity,pAssemblyDisplayName,pDependencyLoadSetting,pDependencyNGenSetting) )
371
372#endif /* COBJMACROS */
373
374
375#endif /* C style interface */
376
377
378
379
380#endif /* __ICorSvcDependencies_INTERFACE_DEFINED__ */
381
382
383#ifndef __ICorSvcWorker_INTERFACE_DEFINED__
384#define __ICorSvcWorker_INTERFACE_DEFINED__
385
386/* interface ICorSvcWorker */
387/* [unique][uuid][oleautomation][object] */
388
389
390EXTERN_C const IID IID_ICorSvcWorker;
391
392#if defined(__cplusplus) && !defined(CINTERFACE)
393
394 MIDL_INTERFACE("d1047bc2-67c0-400c-a94c-e64446a67fbe")
395 ICorSvcWorker : public IUnknown
396 {
397 public:
398 virtual HRESULT STDMETHODCALLTYPE SetPriority(
399 /* [in] */ SvcWorkerPriority priority) = 0;
400
401 virtual HRESULT STDMETHODCALLTYPE OptimizeAssembly(
402 /* [in] */ BSTR pAssemblyName,
403 /* [in] */ BSTR pApplicationName,
404 /* [in] */ OptimizationScenario scenario,
405 /* [in] */ SAFEARRAY * loadAlwaysList,
406 /* [in] */ SAFEARRAY * loadSometimesList,
407 /* [in] */ SAFEARRAY * loadNeverList,
408 /* [out] */ BSTR *pNativeImageIdentity) = 0;
409
410 virtual HRESULT STDMETHODCALLTYPE DeleteNativeImage(
411 /* [in] */ BSTR pAssemblyName,
412 /* [in] */ BSTR pNativeImage) = 0;
413
414 virtual HRESULT STDMETHODCALLTYPE DisplayNativeImages(
415 /* [in] */ BSTR pAssemblyName) = 0;
416
417 virtual HRESULT STDMETHODCALLTYPE GetCorSvcDependencies(
418 /* [in] */ BSTR pApplicationName,
419 /* [in] */ OptimizationScenario scenario,
420 /* [out] */ ICorSvcDependencies **pCorSvcDependencies) = 0;
421
422 virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
423
424 };
425
426
427#else /* C style interface */
428
429 typedef struct ICorSvcWorkerVtbl
430 {
431 BEGIN_INTERFACE
432
433 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
434 ICorSvcWorker * This,
435 /* [in] */ REFIID riid,
436 /* [annotation][iid_is][out] */
437 _COM_Outptr_ void **ppvObject);
438
439 ULONG ( STDMETHODCALLTYPE *AddRef )(
440 ICorSvcWorker * This);
441
442 ULONG ( STDMETHODCALLTYPE *Release )(
443 ICorSvcWorker * This);
444
445 HRESULT ( STDMETHODCALLTYPE *SetPriority )(
446 ICorSvcWorker * This,
447 /* [in] */ SvcWorkerPriority priority);
448
449 HRESULT ( STDMETHODCALLTYPE *OptimizeAssembly )(
450 ICorSvcWorker * This,
451 /* [in] */ BSTR pAssemblyName,
452 /* [in] */ BSTR pApplicationName,
453 /* [in] */ OptimizationScenario scenario,
454 /* [in] */ SAFEARRAY * loadAlwaysList,
455 /* [in] */ SAFEARRAY * loadSometimesList,
456 /* [in] */ SAFEARRAY * loadNeverList,
457 /* [out] */ BSTR *pNativeImageIdentity);
458
459 HRESULT ( STDMETHODCALLTYPE *DeleteNativeImage )(
460 ICorSvcWorker * This,
461 /* [in] */ BSTR pAssemblyName,
462 /* [in] */ BSTR pNativeImage);
463
464 HRESULT ( STDMETHODCALLTYPE *DisplayNativeImages )(
465 ICorSvcWorker * This,
466 /* [in] */ BSTR pAssemblyName);
467
468 HRESULT ( STDMETHODCALLTYPE *GetCorSvcDependencies )(
469 ICorSvcWorker * This,
470 /* [in] */ BSTR pApplicationName,
471 /* [in] */ OptimizationScenario scenario,
472 /* [out] */ ICorSvcDependencies **pCorSvcDependencies);
473
474 HRESULT ( STDMETHODCALLTYPE *Stop )(
475 ICorSvcWorker * This);
476
477 END_INTERFACE
478 } ICorSvcWorkerVtbl;
479
480 interface ICorSvcWorker
481 {
482 CONST_VTBL struct ICorSvcWorkerVtbl *lpVtbl;
483 };
484
485
486
487#ifdef COBJMACROS
488
489
490#define ICorSvcWorker_QueryInterface(This,riid,ppvObject) \
491 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
492
493#define ICorSvcWorker_AddRef(This) \
494 ( (This)->lpVtbl -> AddRef(This) )
495
496#define ICorSvcWorker_Release(This) \
497 ( (This)->lpVtbl -> Release(This) )
498
499
500#define ICorSvcWorker_SetPriority(This,priority) \
501 ( (This)->lpVtbl -> SetPriority(This,priority) )
502
503#define ICorSvcWorker_OptimizeAssembly(This,pAssemblyName,pApplicationName,scenario,loadAlwaysList,loadSometimesList,loadNeverList,pNativeImageIdentity) \
504 ( (This)->lpVtbl -> OptimizeAssembly(This,pAssemblyName,pApplicationName,scenario,loadAlwaysList,loadSometimesList,loadNeverList,pNativeImageIdentity) )
505
506#define ICorSvcWorker_DeleteNativeImage(This,pAssemblyName,pNativeImage) \
507 ( (This)->lpVtbl -> DeleteNativeImage(This,pAssemblyName,pNativeImage) )
508
509#define ICorSvcWorker_DisplayNativeImages(This,pAssemblyName) \
510 ( (This)->lpVtbl -> DisplayNativeImages(This,pAssemblyName) )
511
512#define ICorSvcWorker_GetCorSvcDependencies(This,pApplicationName,scenario,pCorSvcDependencies) \
513 ( (This)->lpVtbl -> GetCorSvcDependencies(This,pApplicationName,scenario,pCorSvcDependencies) )
514
515#define ICorSvcWorker_Stop(This) \
516 ( (This)->lpVtbl -> Stop(This) )
517
518#endif /* COBJMACROS */
519
520
521#endif /* C style interface */
522
523
524
525
526#endif /* __ICorSvcWorker_INTERFACE_DEFINED__ */
527
528
529#ifndef __ICorSvcWorker2_INTERFACE_DEFINED__
530#define __ICorSvcWorker2_INTERFACE_DEFINED__
531
532/* interface ICorSvcWorker2 */
533/* [unique][uuid][oleautomation][object] */
534
535
536EXTERN_C const IID IID_ICorSvcWorker2;
537
538#if defined(__cplusplus) && !defined(CINTERFACE)
539
540 MIDL_INTERFACE("f3358a7d-0061-4776-880e-a2f21b9ef93e")
541 ICorSvcWorker2 : public ICorSvcWorker
542 {
543 public:
544 virtual HRESULT STDMETHODCALLTYPE CreatePdb(
545 /* [in] */ BSTR pAssemblyName,
546 /* [in] */ BSTR pAppBaseOrConfig,
547 /* [in] */ OptimizationScenario scenario,
548 /* [in] */ BSTR pNativeImagePath,
549 /* [in] */ BSTR pPdbPath) = 0;
550
551 };
552
553
554#else /* C style interface */
555
556 typedef struct ICorSvcWorker2Vtbl
557 {
558 BEGIN_INTERFACE
559
560 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
561 ICorSvcWorker2 * This,
562 /* [in] */ REFIID riid,
563 /* [annotation][iid_is][out] */
564 _COM_Outptr_ void **ppvObject);
565
566 ULONG ( STDMETHODCALLTYPE *AddRef )(
567 ICorSvcWorker2 * This);
568
569 ULONG ( STDMETHODCALLTYPE *Release )(
570 ICorSvcWorker2 * This);
571
572 HRESULT ( STDMETHODCALLTYPE *SetPriority )(
573 ICorSvcWorker2 * This,
574 /* [in] */ SvcWorkerPriority priority);
575
576 HRESULT ( STDMETHODCALLTYPE *OptimizeAssembly )(
577 ICorSvcWorker2 * This,
578 /* [in] */ BSTR pAssemblyName,
579 /* [in] */ BSTR pApplicationName,
580 /* [in] */ OptimizationScenario scenario,
581 /* [in] */ SAFEARRAY * loadAlwaysList,
582 /* [in] */ SAFEARRAY * loadSometimesList,
583 /* [in] */ SAFEARRAY * loadNeverList,
584 /* [out] */ BSTR *pNativeImageIdentity);
585
586 HRESULT ( STDMETHODCALLTYPE *DeleteNativeImage )(
587 ICorSvcWorker2 * This,
588 /* [in] */ BSTR pAssemblyName,
589 /* [in] */ BSTR pNativeImage);
590
591 HRESULT ( STDMETHODCALLTYPE *DisplayNativeImages )(
592 ICorSvcWorker2 * This,
593 /* [in] */ BSTR pAssemblyName);
594
595 HRESULT ( STDMETHODCALLTYPE *GetCorSvcDependencies )(
596 ICorSvcWorker2 * This,
597 /* [in] */ BSTR pApplicationName,
598 /* [in] */ OptimizationScenario scenario,
599 /* [out] */ ICorSvcDependencies **pCorSvcDependencies);
600
601 HRESULT ( STDMETHODCALLTYPE *Stop )(
602 ICorSvcWorker2 * This);
603
604 HRESULT ( STDMETHODCALLTYPE *CreatePdb )(
605 ICorSvcWorker2 * This,
606 /* [in] */ BSTR pAssemblyName,
607 /* [in] */ BSTR pAppBaseOrConfig,
608 /* [in] */ OptimizationScenario scenario,
609 /* [in] */ BSTR pNativeImagePath,
610 /* [in] */ BSTR pPdbPath);
611
612 END_INTERFACE
613 } ICorSvcWorker2Vtbl;
614
615 interface ICorSvcWorker2
616 {
617 CONST_VTBL struct ICorSvcWorker2Vtbl *lpVtbl;
618 };
619
620
621
622#ifdef COBJMACROS
623
624
625#define ICorSvcWorker2_QueryInterface(This,riid,ppvObject) \
626 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
627
628#define ICorSvcWorker2_AddRef(This) \
629 ( (This)->lpVtbl -> AddRef(This) )
630
631#define ICorSvcWorker2_Release(This) \
632 ( (This)->lpVtbl -> Release(This) )
633
634
635#define ICorSvcWorker2_SetPriority(This,priority) \
636 ( (This)->lpVtbl -> SetPriority(This,priority) )
637
638#define ICorSvcWorker2_OptimizeAssembly(This,pAssemblyName,pApplicationName,scenario,loadAlwaysList,loadSometimesList,loadNeverList,pNativeImageIdentity) \
639 ( (This)->lpVtbl -> OptimizeAssembly(This,pAssemblyName,pApplicationName,scenario,loadAlwaysList,loadSometimesList,loadNeverList,pNativeImageIdentity) )
640
641#define ICorSvcWorker2_DeleteNativeImage(This,pAssemblyName,pNativeImage) \
642 ( (This)->lpVtbl -> DeleteNativeImage(This,pAssemblyName,pNativeImage) )
643
644#define ICorSvcWorker2_DisplayNativeImages(This,pAssemblyName) \
645 ( (This)->lpVtbl -> DisplayNativeImages(This,pAssemblyName) )
646
647#define ICorSvcWorker2_GetCorSvcDependencies(This,pApplicationName,scenario,pCorSvcDependencies) \
648 ( (This)->lpVtbl -> GetCorSvcDependencies(This,pApplicationName,scenario,pCorSvcDependencies) )
649
650#define ICorSvcWorker2_Stop(This) \
651 ( (This)->lpVtbl -> Stop(This) )
652
653
654#define ICorSvcWorker2_CreatePdb(This,pAssemblyName,pAppBaseOrConfig,scenario,pNativeImagePath,pPdbPath) \
655 ( (This)->lpVtbl -> CreatePdb(This,pAssemblyName,pAppBaseOrConfig,scenario,pNativeImagePath,pPdbPath) )
656
657#endif /* COBJMACROS */
658
659
660#endif /* C style interface */
661
662
663
664
665#endif /* __ICorSvcWorker2_INTERFACE_DEFINED__ */
666
667
668#ifndef __ICorSvcWorker3_INTERFACE_DEFINED__
669#define __ICorSvcWorker3_INTERFACE_DEFINED__
670
671/* interface ICorSvcWorker3 */
672/* [unique][uuid][oleautomation][object] */
673
674
675EXTERN_C const IID IID_ICorSvcWorker3;
676
677#if defined(__cplusplus) && !defined(CINTERFACE)
678
679 MIDL_INTERFACE("DC516615-47BE-477e-8B55-C5ABE0D76B8F")
680 ICorSvcWorker3 : public ICorSvcWorker2
681 {
682 public:
683 virtual HRESULT STDMETHODCALLTYPE CreatePdb2(
684 /* [in] */ BSTR pAssemblyName,
685 /* [in] */ BSTR pAppBaseOrConfig,
686 /* [in] */ OptimizationScenario scenario,
687 /* [in] */ BSTR pNativeImagePath,
688 /* [in] */ BSTR pPdbPath,
689 /* [in] */ BOOL pdbLines,
690 /* [in] */ BSTR managedPdbSearchPath) = 0;
691
692 };
693
694
695#else /* C style interface */
696
697 typedef struct ICorSvcWorker3Vtbl
698 {
699 BEGIN_INTERFACE
700
701 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
702 ICorSvcWorker3 * This,
703 /* [in] */ REFIID riid,
704 /* [annotation][iid_is][out] */
705 _COM_Outptr_ void **ppvObject);
706
707 ULONG ( STDMETHODCALLTYPE *AddRef )(
708 ICorSvcWorker3 * This);
709
710 ULONG ( STDMETHODCALLTYPE *Release )(
711 ICorSvcWorker3 * This);
712
713 HRESULT ( STDMETHODCALLTYPE *SetPriority )(
714 ICorSvcWorker3 * This,
715 /* [in] */ SvcWorkerPriority priority);
716
717 HRESULT ( STDMETHODCALLTYPE *OptimizeAssembly )(
718 ICorSvcWorker3 * This,
719 /* [in] */ BSTR pAssemblyName,
720 /* [in] */ BSTR pApplicationName,
721 /* [in] */ OptimizationScenario scenario,
722 /* [in] */ SAFEARRAY * loadAlwaysList,
723 /* [in] */ SAFEARRAY * loadSometimesList,
724 /* [in] */ SAFEARRAY * loadNeverList,
725 /* [out] */ BSTR *pNativeImageIdentity);
726
727 HRESULT ( STDMETHODCALLTYPE *DeleteNativeImage )(
728 ICorSvcWorker3 * This,
729 /* [in] */ BSTR pAssemblyName,
730 /* [in] */ BSTR pNativeImage);
731
732 HRESULT ( STDMETHODCALLTYPE *DisplayNativeImages )(
733 ICorSvcWorker3 * This,
734 /* [in] */ BSTR pAssemblyName);
735
736 HRESULT ( STDMETHODCALLTYPE *GetCorSvcDependencies )(
737 ICorSvcWorker3 * This,
738 /* [in] */ BSTR pApplicationName,
739 /* [in] */ OptimizationScenario scenario,
740 /* [out] */ ICorSvcDependencies **pCorSvcDependencies);
741
742 HRESULT ( STDMETHODCALLTYPE *Stop )(
743 ICorSvcWorker3 * This);
744
745 HRESULT ( STDMETHODCALLTYPE *CreatePdb )(
746 ICorSvcWorker3 * This,
747 /* [in] */ BSTR pAssemblyName,
748 /* [in] */ BSTR pAppBaseOrConfig,
749 /* [in] */ OptimizationScenario scenario,
750 /* [in] */ BSTR pNativeImagePath,
751 /* [in] */ BSTR pPdbPath);
752
753 HRESULT ( STDMETHODCALLTYPE *CreatePdb2 )(
754 ICorSvcWorker3 * This,
755 /* [in] */ BSTR pAssemblyName,
756 /* [in] */ BSTR pAppBaseOrConfig,
757 /* [in] */ OptimizationScenario scenario,
758 /* [in] */ BSTR pNativeImagePath,
759 /* [in] */ BSTR pPdbPath,
760 /* [in] */ BOOL pdbLines,
761 /* [in] */ BSTR managedPdbSearchPath);
762
763 END_INTERFACE
764 } ICorSvcWorker3Vtbl;
765
766 interface ICorSvcWorker3
767 {
768 CONST_VTBL struct ICorSvcWorker3Vtbl *lpVtbl;
769 };
770
771
772
773#ifdef COBJMACROS
774
775
776#define ICorSvcWorker3_QueryInterface(This,riid,ppvObject) \
777 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
778
779#define ICorSvcWorker3_AddRef(This) \
780 ( (This)->lpVtbl -> AddRef(This) )
781
782#define ICorSvcWorker3_Release(This) \
783 ( (This)->lpVtbl -> Release(This) )
784
785
786#define ICorSvcWorker3_SetPriority(This,priority) \
787 ( (This)->lpVtbl -> SetPriority(This,priority) )
788
789#define ICorSvcWorker3_OptimizeAssembly(This,pAssemblyName,pApplicationName,scenario,loadAlwaysList,loadSometimesList,loadNeverList,pNativeImageIdentity) \
790 ( (This)->lpVtbl -> OptimizeAssembly(This,pAssemblyName,pApplicationName,scenario,loadAlwaysList,loadSometimesList,loadNeverList,pNativeImageIdentity) )
791
792#define ICorSvcWorker3_DeleteNativeImage(This,pAssemblyName,pNativeImage) \
793 ( (This)->lpVtbl -> DeleteNativeImage(This,pAssemblyName,pNativeImage) )
794
795#define ICorSvcWorker3_DisplayNativeImages(This,pAssemblyName) \
796 ( (This)->lpVtbl -> DisplayNativeImages(This,pAssemblyName) )
797
798#define ICorSvcWorker3_GetCorSvcDependencies(This,pApplicationName,scenario,pCorSvcDependencies) \
799 ( (This)->lpVtbl -> GetCorSvcDependencies(This,pApplicationName,scenario,pCorSvcDependencies) )
800
801#define ICorSvcWorker3_Stop(This) \
802 ( (This)->lpVtbl -> Stop(This) )
803
804
805#define ICorSvcWorker3_CreatePdb(This,pAssemblyName,pAppBaseOrConfig,scenario,pNativeImagePath,pPdbPath) \
806 ( (This)->lpVtbl -> CreatePdb(This,pAssemblyName,pAppBaseOrConfig,scenario,pNativeImagePath,pPdbPath) )
807
808
809#define ICorSvcWorker3_CreatePdb2(This,pAssemblyName,pAppBaseOrConfig,scenario,pNativeImagePath,pPdbPath,pdbLines,managedPdbSearchPath) \
810 ( (This)->lpVtbl -> CreatePdb2(This,pAssemblyName,pAppBaseOrConfig,scenario,pNativeImagePath,pPdbPath,pdbLines,managedPdbSearchPath) )
811
812#endif /* COBJMACROS */
813
814
815#endif /* C style interface */
816
817
818
819
820#endif /* __ICorSvcWorker3_INTERFACE_DEFINED__ */
821
822
823#ifndef __ICorSvcSetPrivateAttributes_INTERFACE_DEFINED__
824#define __ICorSvcSetPrivateAttributes_INTERFACE_DEFINED__
825
826/* interface ICorSvcSetPrivateAttributes */
827/* [unique][uuid][oleautomation][object] */
828
829
830EXTERN_C const IID IID_ICorSvcSetPrivateAttributes;
831
832#if defined(__cplusplus) && !defined(CINTERFACE)
833
834 MIDL_INTERFACE("b18e0b40-c089-4350-8328-066c668bccc2")
835 ICorSvcSetPrivateAttributes : public IUnknown
836 {
837 public:
838 virtual HRESULT STDMETHODCALLTYPE SetNGenPrivateAttributes(
839 /* [in] */ NGenPrivateAttributes ngenPrivateAttributes) = 0;
840
841 };
842
843
844#else /* C style interface */
845
846 typedef struct ICorSvcSetPrivateAttributesVtbl
847 {
848 BEGIN_INTERFACE
849
850 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
851 ICorSvcSetPrivateAttributes * This,
852 /* [in] */ REFIID riid,
853 /* [annotation][iid_is][out] */
854 _COM_Outptr_ void **ppvObject);
855
856 ULONG ( STDMETHODCALLTYPE *AddRef )(
857 ICorSvcSetPrivateAttributes * This);
858
859 ULONG ( STDMETHODCALLTYPE *Release )(
860 ICorSvcSetPrivateAttributes * This);
861
862 HRESULT ( STDMETHODCALLTYPE *SetNGenPrivateAttributes )(
863 ICorSvcSetPrivateAttributes * This,
864 /* [in] */ NGenPrivateAttributes ngenPrivateAttributes);
865
866 END_INTERFACE
867 } ICorSvcSetPrivateAttributesVtbl;
868
869 interface ICorSvcSetPrivateAttributes
870 {
871 CONST_VTBL struct ICorSvcSetPrivateAttributesVtbl *lpVtbl;
872 };
873
874
875
876#ifdef COBJMACROS
877
878
879#define ICorSvcSetPrivateAttributes_QueryInterface(This,riid,ppvObject) \
880 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
881
882#define ICorSvcSetPrivateAttributes_AddRef(This) \
883 ( (This)->lpVtbl -> AddRef(This) )
884
885#define ICorSvcSetPrivateAttributes_Release(This) \
886 ( (This)->lpVtbl -> Release(This) )
887
888
889#define ICorSvcSetPrivateAttributes_SetNGenPrivateAttributes(This,ngenPrivateAttributes) \
890 ( (This)->lpVtbl -> SetNGenPrivateAttributes(This,ngenPrivateAttributes) )
891
892#endif /* COBJMACROS */
893
894
895#endif /* C style interface */
896
897
898
899
900#endif /* __ICorSvcSetPrivateAttributes_INTERFACE_DEFINED__ */
901
902
903#ifndef __ICorSvcRepository_INTERFACE_DEFINED__
904#define __ICorSvcRepository_INTERFACE_DEFINED__
905
906/* interface ICorSvcRepository */
907/* [unique][uuid][oleautomation][object] */
908
909
910EXTERN_C const IID IID_ICorSvcRepository;
911
912#if defined(__cplusplus) && !defined(CINTERFACE)
913
914 MIDL_INTERFACE("d5346658-b5fd-4353-9647-07ad4783d5a0")
915 ICorSvcRepository : public IUnknown
916 {
917 public:
918 virtual HRESULT STDMETHODCALLTYPE SetRepository(
919 /* [in] */ BSTR pRepositoryDir,
920 /* [in] */ RepositoryFlags repositoryFlags) = 0;
921
922 };
923
924
925#else /* C style interface */
926
927 typedef struct ICorSvcRepositoryVtbl
928 {
929 BEGIN_INTERFACE
930
931 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
932 ICorSvcRepository * This,
933 /* [in] */ REFIID riid,
934 /* [annotation][iid_is][out] */
935 _COM_Outptr_ void **ppvObject);
936
937 ULONG ( STDMETHODCALLTYPE *AddRef )(
938 ICorSvcRepository * This);
939
940 ULONG ( STDMETHODCALLTYPE *Release )(
941 ICorSvcRepository * This);
942
943 HRESULT ( STDMETHODCALLTYPE *SetRepository )(
944 ICorSvcRepository * This,
945 /* [in] */ BSTR pRepositoryDir,
946 /* [in] */ RepositoryFlags repositoryFlags);
947
948 END_INTERFACE
949 } ICorSvcRepositoryVtbl;
950
951 interface ICorSvcRepository
952 {
953 CONST_VTBL struct ICorSvcRepositoryVtbl *lpVtbl;
954 };
955
956
957
958#ifdef COBJMACROS
959
960
961#define ICorSvcRepository_QueryInterface(This,riid,ppvObject) \
962 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
963
964#define ICorSvcRepository_AddRef(This) \
965 ( (This)->lpVtbl -> AddRef(This) )
966
967#define ICorSvcRepository_Release(This) \
968 ( (This)->lpVtbl -> Release(This) )
969
970
971#define ICorSvcRepository_SetRepository(This,pRepositoryDir,repositoryFlags) \
972 ( (This)->lpVtbl -> SetRepository(This,pRepositoryDir,repositoryFlags) )
973
974#endif /* COBJMACROS */
975
976
977#endif /* C style interface */
978
979
980
981
982#endif /* __ICorSvcRepository_INTERFACE_DEFINED__ */
983
984
985#ifndef __ICorSvcAppX_INTERFACE_DEFINED__
986#define __ICorSvcAppX_INTERFACE_DEFINED__
987
988/* interface ICorSvcAppX */
989/* [unique][uuid][object] */
990
991
992EXTERN_C const IID IID_ICorSvcAppX;
993
994#if defined(__cplusplus) && !defined(CINTERFACE)
995
996 MIDL_INTERFACE("5c814791-559e-4f7f-83ce-184a4ccbae24")
997 ICorSvcAppX : public IUnknown
998 {
999 public:
1000 virtual HRESULT STDMETHODCALLTYPE SetPackage(
1001 /* [in] */ BSTR pPackageFullName) = 0;
1002
1003 virtual HRESULT STDMETHODCALLTYPE SetLocalAppDataDirectory(
1004 /* [in] */ BSTR pLocalAppDataDirectory) = 0;
1005
1006 };
1007
1008
1009#else /* C style interface */
1010
1011 typedef struct ICorSvcAppXVtbl
1012 {
1013 BEGIN_INTERFACE
1014
1015 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1016 ICorSvcAppX * This,
1017 /* [in] */ REFIID riid,
1018 /* [annotation][iid_is][out] */
1019 _COM_Outptr_ void **ppvObject);
1020
1021 ULONG ( STDMETHODCALLTYPE *AddRef )(
1022 ICorSvcAppX * This);
1023
1024 ULONG ( STDMETHODCALLTYPE *Release )(
1025 ICorSvcAppX * This);
1026
1027 HRESULT ( STDMETHODCALLTYPE *SetPackage )(
1028 ICorSvcAppX * This,
1029 /* [in] */ BSTR pPackageFullName);
1030
1031 HRESULT ( STDMETHODCALLTYPE *SetLocalAppDataDirectory )(
1032 ICorSvcAppX * This,
1033 /* [in] */ BSTR pLocalAppDataDirectory);
1034
1035 END_INTERFACE
1036 } ICorSvcAppXVtbl;
1037
1038 interface ICorSvcAppX
1039 {
1040 CONST_VTBL struct ICorSvcAppXVtbl *lpVtbl;
1041 };
1042
1043
1044
1045#ifdef COBJMACROS
1046
1047
1048#define ICorSvcAppX_QueryInterface(This,riid,ppvObject) \
1049 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1050
1051#define ICorSvcAppX_AddRef(This) \
1052 ( (This)->lpVtbl -> AddRef(This) )
1053
1054#define ICorSvcAppX_Release(This) \
1055 ( (This)->lpVtbl -> Release(This) )
1056
1057
1058#define ICorSvcAppX_SetPackage(This,pPackageFullName) \
1059 ( (This)->lpVtbl -> SetPackage(This,pPackageFullName) )
1060
1061#define ICorSvcAppX_SetLocalAppDataDirectory(This,pLocalAppDataDirectory) \
1062 ( (This)->lpVtbl -> SetLocalAppDataDirectory(This,pLocalAppDataDirectory) )
1063
1064#endif /* COBJMACROS */
1065
1066
1067#endif /* C style interface */
1068
1069
1070
1071
1072#endif /* __ICorSvcAppX_INTERFACE_DEFINED__ */
1073
1074
1075#ifndef __ICorSvcLogger_INTERFACE_DEFINED__
1076#define __ICorSvcLogger_INTERFACE_DEFINED__
1077
1078/* interface ICorSvcLogger */
1079/* [unique][uuid][oleautomation][object] */
1080
1081
1082EXTERN_C const IID IID_ICorSvcLogger;
1083
1084#if defined(__cplusplus) && !defined(CINTERFACE)
1085
1086 MIDL_INTERFACE("d189ff1a-e266-4f13-9637-4b9522279ffc")
1087 ICorSvcLogger : public IUnknown
1088 {
1089 public:
1090 virtual HRESULT STDMETHODCALLTYPE Log(
1091 /* [in] */ CorSvcLogLevel logLevel,
1092 /* [in] */ BSTR message) = 0;
1093
1094 };
1095
1096
1097#else /* C style interface */
1098
1099 typedef struct ICorSvcLoggerVtbl
1100 {
1101 BEGIN_INTERFACE
1102
1103 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1104 ICorSvcLogger * This,
1105 /* [in] */ REFIID riid,
1106 /* [annotation][iid_is][out] */
1107 _COM_Outptr_ void **ppvObject);
1108
1109 ULONG ( STDMETHODCALLTYPE *AddRef )(
1110 ICorSvcLogger * This);
1111
1112 ULONG ( STDMETHODCALLTYPE *Release )(
1113 ICorSvcLogger * This);
1114
1115 HRESULT ( STDMETHODCALLTYPE *Log )(
1116 ICorSvcLogger * This,
1117 /* [in] */ CorSvcLogLevel logLevel,
1118 /* [in] */ BSTR message);
1119
1120 END_INTERFACE
1121 } ICorSvcLoggerVtbl;
1122
1123 interface ICorSvcLogger
1124 {
1125 CONST_VTBL struct ICorSvcLoggerVtbl *lpVtbl;
1126 };
1127
1128
1129
1130#ifdef COBJMACROS
1131
1132
1133#define ICorSvcLogger_QueryInterface(This,riid,ppvObject) \
1134 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1135
1136#define ICorSvcLogger_AddRef(This) \
1137 ( (This)->lpVtbl -> AddRef(This) )
1138
1139#define ICorSvcLogger_Release(This) \
1140 ( (This)->lpVtbl -> Release(This) )
1141
1142
1143#define ICorSvcLogger_Log(This,logLevel,message) \
1144 ( (This)->lpVtbl -> Log(This,logLevel,message) )
1145
1146#endif /* COBJMACROS */
1147
1148
1149#endif /* C style interface */
1150
1151
1152
1153
1154#endif /* __ICorSvcLogger_INTERFACE_DEFINED__ */
1155
1156
1157#ifndef __ICorSvcPooledWorker_INTERFACE_DEFINED__
1158#define __ICorSvcPooledWorker_INTERFACE_DEFINED__
1159
1160/* interface ICorSvcPooledWorker */
1161/* [unique][uuid][oleautomation][object] */
1162
1163
1164EXTERN_C const IID IID_ICorSvcPooledWorker;
1165
1166#if defined(__cplusplus) && !defined(CINTERFACE)
1167
1168 MIDL_INTERFACE("0631e7e2-6046-4fde-8b6d-a09b64fda6f3")
1169 ICorSvcPooledWorker : public IUnknown
1170 {
1171 public:
1172 virtual HRESULT STDMETHODCALLTYPE CanReuseProcess(
1173 /* [in] */ OptimizationScenario scenario,
1174 /* [in] */ ICorSvcLogger *pCorSvcLogger,
1175 /* [out] */ BOOL *pCanContinue) = 0;
1176
1177 };
1178
1179
1180#else /* C style interface */
1181
1182 typedef struct ICorSvcPooledWorkerVtbl
1183 {
1184 BEGIN_INTERFACE
1185
1186 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1187 ICorSvcPooledWorker * This,
1188 /* [in] */ REFIID riid,
1189 /* [annotation][iid_is][out] */
1190 _COM_Outptr_ void **ppvObject);
1191
1192 ULONG ( STDMETHODCALLTYPE *AddRef )(
1193 ICorSvcPooledWorker * This);
1194
1195 ULONG ( STDMETHODCALLTYPE *Release )(
1196 ICorSvcPooledWorker * This);
1197
1198 HRESULT ( STDMETHODCALLTYPE *CanReuseProcess )(
1199 ICorSvcPooledWorker * This,
1200 /* [in] */ OptimizationScenario scenario,
1201 /* [in] */ ICorSvcLogger *pCorSvcLogger,
1202 /* [out] */ BOOL *pCanContinue);
1203
1204 END_INTERFACE
1205 } ICorSvcPooledWorkerVtbl;
1206
1207 interface ICorSvcPooledWorker
1208 {
1209 CONST_VTBL struct ICorSvcPooledWorkerVtbl *lpVtbl;
1210 };
1211
1212
1213
1214#ifdef COBJMACROS
1215
1216
1217#define ICorSvcPooledWorker_QueryInterface(This,riid,ppvObject) \
1218 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1219
1220#define ICorSvcPooledWorker_AddRef(This) \
1221 ( (This)->lpVtbl -> AddRef(This) )
1222
1223#define ICorSvcPooledWorker_Release(This) \
1224 ( (This)->lpVtbl -> Release(This) )
1225
1226
1227#define ICorSvcPooledWorker_CanReuseProcess(This,scenario,pCorSvcLogger,pCanContinue) \
1228 ( (This)->lpVtbl -> CanReuseProcess(This,scenario,pCorSvcLogger,pCanContinue) )
1229
1230#endif /* COBJMACROS */
1231
1232
1233#endif /* C style interface */
1234
1235
1236
1237
1238#endif /* __ICorSvcPooledWorker_INTERFACE_DEFINED__ */
1239
1240
1241#ifndef __ICorSvcBindToWorker_INTERFACE_DEFINED__
1242#define __ICorSvcBindToWorker_INTERFACE_DEFINED__
1243
1244/* interface ICorSvcBindToWorker */
1245/* [unique][uuid][oleautomation][object] */
1246
1247
1248EXTERN_C const IID IID_ICorSvcBindToWorker;
1249
1250#if defined(__cplusplus) && !defined(CINTERFACE)
1251
1252 MIDL_INTERFACE("5c6fb596-4828-4ed5-b9dd-293dad736fb5")
1253 ICorSvcBindToWorker : public IUnknown
1254 {
1255 public:
1256 virtual HRESULT STDMETHODCALLTYPE BindToRuntimeWorker(
1257 /* [in] */ BSTR pRuntimeVersion,
1258 /* [in] */ DWORD ParentProcessID,
1259 /* [in] */ BSTR pInterruptEventName,
1260 /* [in] */ ICorSvcLogger *pCorSvcLogger,
1261 /* [out] */ ICorSvcWorker **pCorSvcWorker) = 0;
1262
1263 };
1264
1265
1266#else /* C style interface */
1267
1268 typedef struct ICorSvcBindToWorkerVtbl
1269 {
1270 BEGIN_INTERFACE
1271
1272 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1273 ICorSvcBindToWorker * This,
1274 /* [in] */ REFIID riid,
1275 /* [annotation][iid_is][out] */
1276 _COM_Outptr_ void **ppvObject);
1277
1278 ULONG ( STDMETHODCALLTYPE *AddRef )(
1279 ICorSvcBindToWorker * This);
1280
1281 ULONG ( STDMETHODCALLTYPE *Release )(
1282 ICorSvcBindToWorker * This);
1283
1284 HRESULT ( STDMETHODCALLTYPE *BindToRuntimeWorker )(
1285 ICorSvcBindToWorker * This,
1286 /* [in] */ BSTR pRuntimeVersion,
1287 /* [in] */ DWORD ParentProcessID,
1288 /* [in] */ BSTR pInterruptEventName,
1289 /* [in] */ ICorSvcLogger *pCorSvcLogger,
1290 /* [out] */ ICorSvcWorker **pCorSvcWorker);
1291
1292 END_INTERFACE
1293 } ICorSvcBindToWorkerVtbl;
1294
1295 interface ICorSvcBindToWorker
1296 {
1297 CONST_VTBL struct ICorSvcBindToWorkerVtbl *lpVtbl;
1298 };
1299
1300
1301
1302#ifdef COBJMACROS
1303
1304
1305#define ICorSvcBindToWorker_QueryInterface(This,riid,ppvObject) \
1306 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1307
1308#define ICorSvcBindToWorker_AddRef(This) \
1309 ( (This)->lpVtbl -> AddRef(This) )
1310
1311#define ICorSvcBindToWorker_Release(This) \
1312 ( (This)->lpVtbl -> Release(This) )
1313
1314
1315#define ICorSvcBindToWorker_BindToRuntimeWorker(This,pRuntimeVersion,ParentProcessID,pInterruptEventName,pCorSvcLogger,pCorSvcWorker) \
1316 ( (This)->lpVtbl -> BindToRuntimeWorker(This,pRuntimeVersion,ParentProcessID,pInterruptEventName,pCorSvcLogger,pCorSvcWorker) )
1317
1318#endif /* COBJMACROS */
1319
1320
1321#endif /* C style interface */
1322
1323
1324
1325
1326#endif /* __ICorSvcBindToWorker_INTERFACE_DEFINED__ */
1327
1328#endif /* __mscorsvc_LIBRARY_DEFINED__ */
1329
1330/* interface __MIDL_itf_mscorsvc_0000_0001 */
1331/* [local] */
1332
1333typedef /* [public][public] */
1334enum __MIDL___MIDL_itf_mscorsvc_0000_0001_0001
1335 {
1336 Service_NoAction = -1,
1337 Service_Start = 0,
1338 Service_Stop = 0x1,
1339 Service_Pause = 0x2,
1340 Service_Continue = 0x3,
1341 Service_Interrogate = 0x4,
1342 Service_StartPaused = 0x5
1343 } ControlServiceAction;
1344
1345typedef struct _COR_SERVICE_STATUS
1346 {
1347 WCHAR sServiceName[ 64 ];
1348 DWORD dwServiceType;
1349 DWORD dwCurrentState;
1350 DWORD dwControlsAccepted;
1351 DWORD dwWin32ExitCode;
1352 DWORD dwServiceSpecificExitCode;
1353 DWORD dwCheckPoint;
1354 DWORD dwWaitHint;
1355 } COR_SERVICE_STATUS;
1356
1357typedef struct _COR_SERVICE_STATUS *LPCOR_SERVICE_STATUS;
1358
1359typedef struct _ServiceOptions
1360 {
1361 BOOL RunAsWindowsService;
1362 BOOL RunAsPrivateRuntime;
1363 BOOL StartPaused;
1364 } ServiceOptions;
1365
1366
1367
1368extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0001_v0_0_c_ifspec;
1369extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0001_v0_0_s_ifspec;
1370
1371#ifndef __ICorSvc_INTERFACE_DEFINED__
1372#define __ICorSvc_INTERFACE_DEFINED__
1373
1374/* interface ICorSvc */
1375/* [unique][uuid][object] */
1376
1377
1378EXTERN_C const IID IID_ICorSvc;
1379
1380#if defined(__cplusplus) && !defined(CINTERFACE)
1381
1382 MIDL_INTERFACE("3eef5ff0-3680-4f20-8a8f-9051aca66b22")
1383 ICorSvc : public IUnknown
1384 {
1385 public:
1386 virtual HRESULT STDMETHODCALLTYPE GetServiceManagerInterface(
1387 /* [in] */ IUnknown **pIUnknown) = 0;
1388
1389 virtual HRESULT STDMETHODCALLTYPE InstallService( void) = 0;
1390
1391 virtual HRESULT STDMETHODCALLTYPE UninstallService( void) = 0;
1392
1393 virtual HRESULT STDMETHODCALLTYPE ControlService(
1394 /* [in] */ ControlServiceAction Action,
1395 /* [out] */ LPCOR_SERVICE_STATUS lpServiceStatus) = 0;
1396
1397 virtual HRESULT STDMETHODCALLTYPE RunService(
1398 /* [in] */ ServiceOptions options) = 0;
1399
1400 };
1401
1402
1403#else /* C style interface */
1404
1405 typedef struct ICorSvcVtbl
1406 {
1407 BEGIN_INTERFACE
1408
1409 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1410 ICorSvc * This,
1411 /* [in] */ REFIID riid,
1412 /* [annotation][iid_is][out] */
1413 _COM_Outptr_ void **ppvObject);
1414
1415 ULONG ( STDMETHODCALLTYPE *AddRef )(
1416 ICorSvc * This);
1417
1418 ULONG ( STDMETHODCALLTYPE *Release )(
1419 ICorSvc * This);
1420
1421 HRESULT ( STDMETHODCALLTYPE *GetServiceManagerInterface )(
1422 ICorSvc * This,
1423 /* [in] */ IUnknown **pIUnknown);
1424
1425 HRESULT ( STDMETHODCALLTYPE *InstallService )(
1426 ICorSvc * This);
1427
1428 HRESULT ( STDMETHODCALLTYPE *UninstallService )(
1429 ICorSvc * This);
1430
1431 HRESULT ( STDMETHODCALLTYPE *ControlService )(
1432 ICorSvc * This,
1433 /* [in] */ ControlServiceAction Action,
1434 /* [out] */ LPCOR_SERVICE_STATUS lpServiceStatus);
1435
1436 HRESULT ( STDMETHODCALLTYPE *RunService )(
1437 ICorSvc * This,
1438 /* [in] */ ServiceOptions options);
1439
1440 END_INTERFACE
1441 } ICorSvcVtbl;
1442
1443 interface ICorSvc
1444 {
1445 CONST_VTBL struct ICorSvcVtbl *lpVtbl;
1446 };
1447
1448
1449
1450#ifdef COBJMACROS
1451
1452
1453#define ICorSvc_QueryInterface(This,riid,ppvObject) \
1454 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1455
1456#define ICorSvc_AddRef(This) \
1457 ( (This)->lpVtbl -> AddRef(This) )
1458
1459#define ICorSvc_Release(This) \
1460 ( (This)->lpVtbl -> Release(This) )
1461
1462
1463#define ICorSvc_GetServiceManagerInterface(This,pIUnknown) \
1464 ( (This)->lpVtbl -> GetServiceManagerInterface(This,pIUnknown) )
1465
1466#define ICorSvc_InstallService(This) \
1467 ( (This)->lpVtbl -> InstallService(This) )
1468
1469#define ICorSvc_UninstallService(This) \
1470 ( (This)->lpVtbl -> UninstallService(This) )
1471
1472#define ICorSvc_ControlService(This,Action,lpServiceStatus) \
1473 ( (This)->lpVtbl -> ControlService(This,Action,lpServiceStatus) )
1474
1475#define ICorSvc_RunService(This,options) \
1476 ( (This)->lpVtbl -> RunService(This,options) )
1477
1478#endif /* COBJMACROS */
1479
1480
1481#endif /* C style interface */
1482
1483
1484
1485
1486#endif /* __ICorSvc_INTERFACE_DEFINED__ */
1487
1488
1489#ifndef __ICompileProgressNotification_INTERFACE_DEFINED__
1490#define __ICompileProgressNotification_INTERFACE_DEFINED__
1491
1492/* interface ICompileProgressNotification */
1493/* [unique][uuid][object] */
1494
1495
1496EXTERN_C const IID IID_ICompileProgressNotification;
1497
1498#if defined(__cplusplus) && !defined(CINTERFACE)
1499
1500 MIDL_INTERFACE("01c10030-6c81-4671-bd51-14b184c673b2")
1501 ICompileProgressNotification : public IUnknown
1502 {
1503 public:
1504 virtual HRESULT STDMETHODCALLTYPE CompileStarted(
1505 /* [in] */ DWORD cAssembliesToCompile,
1506 /* [in] */ DWORD cTimeEstimate) = 0;
1507
1508 virtual HRESULT STDMETHODCALLTYPE ProgressNotification(
1509 /* [in] */ DWORD cAssembly,
1510 /* [in] */ BSTR pAssemblyName,
1511 /* [in] */ BOOL isStartNotification,
1512 /* [in] */ HRESULT hrResult,
1513 /* [in] */ BSTR errorExplanation,
1514 /* [in] */ DWORD cTimeRemainingEstimate) = 0;
1515
1516 };
1517
1518
1519#else /* C style interface */
1520
1521 typedef struct ICompileProgressNotificationVtbl
1522 {
1523 BEGIN_INTERFACE
1524
1525 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1526 ICompileProgressNotification * This,
1527 /* [in] */ REFIID riid,
1528 /* [annotation][iid_is][out] */
1529 _COM_Outptr_ void **ppvObject);
1530
1531 ULONG ( STDMETHODCALLTYPE *AddRef )(
1532 ICompileProgressNotification * This);
1533
1534 ULONG ( STDMETHODCALLTYPE *Release )(
1535 ICompileProgressNotification * This);
1536
1537 HRESULT ( STDMETHODCALLTYPE *CompileStarted )(
1538 ICompileProgressNotification * This,
1539 /* [in] */ DWORD cAssembliesToCompile,
1540 /* [in] */ DWORD cTimeEstimate);
1541
1542 HRESULT ( STDMETHODCALLTYPE *ProgressNotification )(
1543 ICompileProgressNotification * This,
1544 /* [in] */ DWORD cAssembly,
1545 /* [in] */ BSTR pAssemblyName,
1546 /* [in] */ BOOL isStartNotification,
1547 /* [in] */ HRESULT hrResult,
1548 /* [in] */ BSTR errorExplanation,
1549 /* [in] */ DWORD cTimeRemainingEstimate);
1550
1551 END_INTERFACE
1552 } ICompileProgressNotificationVtbl;
1553
1554 interface ICompileProgressNotification
1555 {
1556 CONST_VTBL struct ICompileProgressNotificationVtbl *lpVtbl;
1557 };
1558
1559
1560
1561#ifdef COBJMACROS
1562
1563
1564#define ICompileProgressNotification_QueryInterface(This,riid,ppvObject) \
1565 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1566
1567#define ICompileProgressNotification_AddRef(This) \
1568 ( (This)->lpVtbl -> AddRef(This) )
1569
1570#define ICompileProgressNotification_Release(This) \
1571 ( (This)->lpVtbl -> Release(This) )
1572
1573
1574#define ICompileProgressNotification_CompileStarted(This,cAssembliesToCompile,cTimeEstimate) \
1575 ( (This)->lpVtbl -> CompileStarted(This,cAssembliesToCompile,cTimeEstimate) )
1576
1577#define ICompileProgressNotification_ProgressNotification(This,cAssembly,pAssemblyName,isStartNotification,hrResult,errorExplanation,cTimeRemainingEstimate) \
1578 ( (This)->lpVtbl -> ProgressNotification(This,cAssembly,pAssemblyName,isStartNotification,hrResult,errorExplanation,cTimeRemainingEstimate) )
1579
1580#endif /* COBJMACROS */
1581
1582
1583#endif /* C style interface */
1584
1585
1586
1587
1588#endif /* __ICompileProgressNotification_INTERFACE_DEFINED__ */
1589
1590
1591#ifndef __ICompileProgressNotification2_INTERFACE_DEFINED__
1592#define __ICompileProgressNotification2_INTERFACE_DEFINED__
1593
1594/* interface ICompileProgressNotification2 */
1595/* [unique][uuid][object] */
1596
1597
1598EXTERN_C const IID IID_ICompileProgressNotification2;
1599
1600#if defined(__cplusplus) && !defined(CINTERFACE)
1601
1602 MIDL_INTERFACE("98E5BDE2-E9A0-4ADE-9CB2-6CD06FDB1A85")
1603 ICompileProgressNotification2 : public IUnknown
1604 {
1605 public:
1606 virtual HRESULT STDMETHODCALLTYPE CompileStarted(
1607 /* [in] */ DWORD cAssembliesToCompile,
1608 /* [in] */ DWORD cTimeEstimate,
1609 /* [in] */ DWORD threadID) = 0;
1610
1611 virtual HRESULT STDMETHODCALLTYPE ProgressNotification(
1612 /* [in] */ DWORD cAssembly,
1613 /* [in] */ BSTR pAssemblyName,
1614 /* [in] */ BOOL isStartNotification,
1615 /* [in] */ HRESULT hrResult,
1616 /* [in] */ BSTR errorExplanation,
1617 /* [in] */ DWORD cTimeRemainingEstimate,
1618 /* [in] */ DWORD threadID) = 0;
1619
1620 };
1621
1622
1623#else /* C style interface */
1624
1625 typedef struct ICompileProgressNotification2Vtbl
1626 {
1627 BEGIN_INTERFACE
1628
1629 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1630 ICompileProgressNotification2 * This,
1631 /* [in] */ REFIID riid,
1632 /* [annotation][iid_is][out] */
1633 _COM_Outptr_ void **ppvObject);
1634
1635 ULONG ( STDMETHODCALLTYPE *AddRef )(
1636 ICompileProgressNotification2 * This);
1637
1638 ULONG ( STDMETHODCALLTYPE *Release )(
1639 ICompileProgressNotification2 * This);
1640
1641 HRESULT ( STDMETHODCALLTYPE *CompileStarted )(
1642 ICompileProgressNotification2 * This,
1643 /* [in] */ DWORD cAssembliesToCompile,
1644 /* [in] */ DWORD cTimeEstimate,
1645 /* [in] */ DWORD threadID);
1646
1647 HRESULT ( STDMETHODCALLTYPE *ProgressNotification )(
1648 ICompileProgressNotification2 * This,
1649 /* [in] */ DWORD cAssembly,
1650 /* [in] */ BSTR pAssemblyName,
1651 /* [in] */ BOOL isStartNotification,
1652 /* [in] */ HRESULT hrResult,
1653 /* [in] */ BSTR errorExplanation,
1654 /* [in] */ DWORD cTimeRemainingEstimate,
1655 /* [in] */ DWORD threadID);
1656
1657 END_INTERFACE
1658 } ICompileProgressNotification2Vtbl;
1659
1660 interface ICompileProgressNotification2
1661 {
1662 CONST_VTBL struct ICompileProgressNotification2Vtbl *lpVtbl;
1663 };
1664
1665
1666
1667#ifdef COBJMACROS
1668
1669
1670#define ICompileProgressNotification2_QueryInterface(This,riid,ppvObject) \
1671 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1672
1673#define ICompileProgressNotification2_AddRef(This) \
1674 ( (This)->lpVtbl -> AddRef(This) )
1675
1676#define ICompileProgressNotification2_Release(This) \
1677 ( (This)->lpVtbl -> Release(This) )
1678
1679
1680#define ICompileProgressNotification2_CompileStarted(This,cAssembliesToCompile,cTimeEstimate,threadID) \
1681 ( (This)->lpVtbl -> CompileStarted(This,cAssembliesToCompile,cTimeEstimate,threadID) )
1682
1683#define ICompileProgressNotification2_ProgressNotification(This,cAssembly,pAssemblyName,isStartNotification,hrResult,errorExplanation,cTimeRemainingEstimate,threadID) \
1684 ( (This)->lpVtbl -> ProgressNotification(This,cAssembly,pAssemblyName,isStartNotification,hrResult,errorExplanation,cTimeRemainingEstimate,threadID) )
1685
1686#endif /* COBJMACROS */
1687
1688
1689#endif /* C style interface */
1690
1691
1692
1693
1694#endif /* __ICompileProgressNotification2_INTERFACE_DEFINED__ */
1695
1696
1697/* interface __MIDL_itf_mscorsvc_0000_0004 */
1698/* [local] */
1699
1700typedef /* [public][public] */
1701enum __MIDL___MIDL_itf_mscorsvc_0000_0004_0001
1702 {
1703 DefaultOptimizeFlags = 0,
1704 TolerateCompilationFailures = 0x1,
1705 OptimizeNGenQueueOnly = 0x2
1706 } OptimizeFlags;
1707
1708
1709
1710extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0004_v0_0_c_ifspec;
1711extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0004_v0_0_s_ifspec;
1712
1713#ifndef __ICorSvcInstaller_INTERFACE_DEFINED__
1714#define __ICorSvcInstaller_INTERFACE_DEFINED__
1715
1716/* interface ICorSvcInstaller */
1717/* [unique][uuid][object] */
1718
1719
1720EXTERN_C const IID IID_ICorSvcInstaller;
1721
1722#if defined(__cplusplus) && !defined(CINTERFACE)
1723
1724 MIDL_INTERFACE("0523feee-eb0e-4857-b2aa-db787521d077")
1725 ICorSvcInstaller : public IUnknown
1726 {
1727 public:
1728 virtual HRESULT STDMETHODCALLTYPE Install(
1729 /* [in] */ BSTR path) = 0;
1730
1731 virtual HRESULT STDMETHODCALLTYPE Uninstall(
1732 /* [in] */ BSTR path) = 0;
1733
1734 virtual HRESULT STDMETHODCALLTYPE Optimize(
1735 /* [in] */ ICompileProgressNotification *pCompileProgressNotification,
1736 /* [in] */ OptimizeFlags optimizeFlags) = 0;
1737
1738 virtual HRESULT STDMETHODCALLTYPE SetLogger(
1739 /* [in] */ ICorSvcLogger *pCorSvcLogger) = 0;
1740
1741 };
1742
1743
1744#else /* C style interface */
1745
1746 typedef struct ICorSvcInstallerVtbl
1747 {
1748 BEGIN_INTERFACE
1749
1750 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1751 ICorSvcInstaller * This,
1752 /* [in] */ REFIID riid,
1753 /* [annotation][iid_is][out] */
1754 _COM_Outptr_ void **ppvObject);
1755
1756 ULONG ( STDMETHODCALLTYPE *AddRef )(
1757 ICorSvcInstaller * This);
1758
1759 ULONG ( STDMETHODCALLTYPE *Release )(
1760 ICorSvcInstaller * This);
1761
1762 HRESULT ( STDMETHODCALLTYPE *Install )(
1763 ICorSvcInstaller * This,
1764 /* [in] */ BSTR path);
1765
1766 HRESULT ( STDMETHODCALLTYPE *Uninstall )(
1767 ICorSvcInstaller * This,
1768 /* [in] */ BSTR path);
1769
1770 HRESULT ( STDMETHODCALLTYPE *Optimize )(
1771 ICorSvcInstaller * This,
1772 /* [in] */ ICompileProgressNotification *pCompileProgressNotification,
1773 /* [in] */ OptimizeFlags optimizeFlags);
1774
1775 HRESULT ( STDMETHODCALLTYPE *SetLogger )(
1776 ICorSvcInstaller * This,
1777 /* [in] */ ICorSvcLogger *pCorSvcLogger);
1778
1779 END_INTERFACE
1780 } ICorSvcInstallerVtbl;
1781
1782 interface ICorSvcInstaller
1783 {
1784 CONST_VTBL struct ICorSvcInstallerVtbl *lpVtbl;
1785 };
1786
1787
1788
1789#ifdef COBJMACROS
1790
1791
1792#define ICorSvcInstaller_QueryInterface(This,riid,ppvObject) \
1793 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1794
1795#define ICorSvcInstaller_AddRef(This) \
1796 ( (This)->lpVtbl -> AddRef(This) )
1797
1798#define ICorSvcInstaller_Release(This) \
1799 ( (This)->lpVtbl -> Release(This) )
1800
1801
1802#define ICorSvcInstaller_Install(This,path) \
1803 ( (This)->lpVtbl -> Install(This,path) )
1804
1805#define ICorSvcInstaller_Uninstall(This,path) \
1806 ( (This)->lpVtbl -> Uninstall(This,path) )
1807
1808#define ICorSvcInstaller_Optimize(This,pCompileProgressNotification,optimizeFlags) \
1809 ( (This)->lpVtbl -> Optimize(This,pCompileProgressNotification,optimizeFlags) )
1810
1811#define ICorSvcInstaller_SetLogger(This,pCorSvcLogger) \
1812 ( (This)->lpVtbl -> SetLogger(This,pCorSvcLogger) )
1813
1814#endif /* COBJMACROS */
1815
1816
1817#endif /* C style interface */
1818
1819
1820
1821
1822#endif /* __ICorSvcInstaller_INTERFACE_DEFINED__ */
1823
1824
1825/* interface __MIDL_itf_mscorsvc_0000_0005 */
1826/* [local] */
1827
1828typedef /* [public][public][public][public][public] */
1829enum __MIDL___MIDL_itf_mscorsvc_0000_0005_0001
1830 {
1831 DefaultFlags = 0,
1832 AllowPartialNames = 0x1,
1833 KeepPriority = 0x2,
1834 NoRoot = 0x4
1835 } GeneralFlags;
1836
1837typedef /* [public][public][public][public][public] */
1838enum __MIDL___MIDL_itf_mscorsvc_0000_0005_0002
1839 {
1840 Priority_None = -1,
1841 Priority_0 = 0,
1842 Priority_1 = 0x1,
1843 Priority_2 = 0x2,
1844 Priority_3 = 0x3,
1845 Priority_Default = Priority_3,
1846 Priority_Lowest = Priority_3,
1847 Priority_LowestAggressive = Priority_2,
1848 Priority_Highest = Priority_0,
1849 Priority_Highest_Root = Priority_1,
1850 Priority_Lowest_Root = Priority_3
1851 } PriorityLevel;
1852
1853
1854
1855extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0005_v0_0_c_ifspec;
1856extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0005_v0_0_s_ifspec;
1857
1858#ifndef __ICorSvcAdvancedInstaller_INTERFACE_DEFINED__
1859#define __ICorSvcAdvancedInstaller_INTERFACE_DEFINED__
1860
1861/* interface ICorSvcAdvancedInstaller */
1862/* [unique][uuid][object] */
1863
1864
1865EXTERN_C const IID IID_ICorSvcAdvancedInstaller;
1866
1867#if defined(__cplusplus) && !defined(CINTERFACE)
1868
1869 MIDL_INTERFACE("0871fb80-3ea0-47cc-9b51-d92e2aee75db")
1870 ICorSvcAdvancedInstaller : public IUnknown
1871 {
1872 public:
1873 virtual HRESULT STDMETHODCALLTYPE Install(
1874 /* [in] */ BSTR path,
1875 /* [in] */ OptimizationScenario optScenario,
1876 /* [in] */ BSTR config,
1877 /* [in] */ GeneralFlags generalFlags,
1878 /* [in] */ PriorityLevel priorityLevel) = 0;
1879
1880 virtual HRESULT STDMETHODCALLTYPE Uninstall(
1881 /* [in] */ BSTR path,
1882 /* [in] */ OptimizationScenario optScenario,
1883 /* [in] */ BSTR config,
1884 /* [in] */ GeneralFlags generalFlags) = 0;
1885
1886 };
1887
1888
1889#else /* C style interface */
1890
1891 typedef struct ICorSvcAdvancedInstallerVtbl
1892 {
1893 BEGIN_INTERFACE
1894
1895 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1896 ICorSvcAdvancedInstaller * This,
1897 /* [in] */ REFIID riid,
1898 /* [annotation][iid_is][out] */
1899 _COM_Outptr_ void **ppvObject);
1900
1901 ULONG ( STDMETHODCALLTYPE *AddRef )(
1902 ICorSvcAdvancedInstaller * This);
1903
1904 ULONG ( STDMETHODCALLTYPE *Release )(
1905 ICorSvcAdvancedInstaller * This);
1906
1907 HRESULT ( STDMETHODCALLTYPE *Install )(
1908 ICorSvcAdvancedInstaller * This,
1909 /* [in] */ BSTR path,
1910 /* [in] */ OptimizationScenario optScenario,
1911 /* [in] */ BSTR config,
1912 /* [in] */ GeneralFlags generalFlags,
1913 /* [in] */ PriorityLevel priorityLevel);
1914
1915 HRESULT ( STDMETHODCALLTYPE *Uninstall )(
1916 ICorSvcAdvancedInstaller * This,
1917 /* [in] */ BSTR path,
1918 /* [in] */ OptimizationScenario optScenario,
1919 /* [in] */ BSTR config,
1920 /* [in] */ GeneralFlags generalFlags);
1921
1922 END_INTERFACE
1923 } ICorSvcAdvancedInstallerVtbl;
1924
1925 interface ICorSvcAdvancedInstaller
1926 {
1927 CONST_VTBL struct ICorSvcAdvancedInstallerVtbl *lpVtbl;
1928 };
1929
1930
1931
1932#ifdef COBJMACROS
1933
1934
1935#define ICorSvcAdvancedInstaller_QueryInterface(This,riid,ppvObject) \
1936 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
1937
1938#define ICorSvcAdvancedInstaller_AddRef(This) \
1939 ( (This)->lpVtbl -> AddRef(This) )
1940
1941#define ICorSvcAdvancedInstaller_Release(This) \
1942 ( (This)->lpVtbl -> Release(This) )
1943
1944
1945#define ICorSvcAdvancedInstaller_Install(This,path,optScenario,config,generalFlags,priorityLevel) \
1946 ( (This)->lpVtbl -> Install(This,path,optScenario,config,generalFlags,priorityLevel) )
1947
1948#define ICorSvcAdvancedInstaller_Uninstall(This,path,optScenario,config,generalFlags) \
1949 ( (This)->lpVtbl -> Uninstall(This,path,optScenario,config,generalFlags) )
1950
1951#endif /* COBJMACROS */
1952
1953
1954#endif /* C style interface */
1955
1956
1957
1958
1959#endif /* __ICorSvcAdvancedInstaller_INTERFACE_DEFINED__ */
1960
1961
1962/* interface __MIDL_itf_mscorsvc_0000_0006 */
1963/* [local] */
1964
1965typedef /* [public][public][public] */
1966enum __MIDL___MIDL_itf_mscorsvc_0000_0006_0001
1967 {
1968 UpdateDefault = 0,
1969 Force = 0x1,
1970 PostReboot = 0x2
1971 } UpdateFlags;
1972
1973
1974
1975extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0006_v0_0_c_ifspec;
1976extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0006_v0_0_s_ifspec;
1977
1978#ifndef __ICorSvcOptimizer_INTERFACE_DEFINED__
1979#define __ICorSvcOptimizer_INTERFACE_DEFINED__
1980
1981/* interface ICorSvcOptimizer */
1982/* [unique][uuid][object] */
1983
1984
1985EXTERN_C const IID IID_ICorSvcOptimizer;
1986
1987#if defined(__cplusplus) && !defined(CINTERFACE)
1988
1989 MIDL_INTERFACE("94af0ec4-c10d-45d4-a625-d68d1b02a396")
1990 ICorSvcOptimizer : public IUnknown
1991 {
1992 public:
1993 virtual HRESULT STDMETHODCALLTYPE Update(
1994 /* [in] */ BSTR path,
1995 /* [in] */ UpdateFlags updateFlags,
1996 /* [in] */ GeneralFlags generalFlags) = 0;
1997
1998 virtual HRESULT STDMETHODCALLTYPE Display(
1999 /* [in] */ BSTR path,
2000 /* [in] */ GeneralFlags generalFlags) = 0;
2001
2002 virtual HRESULT STDMETHODCALLTYPE ScheduleWork(
2003 /* [in] */ PriorityLevel priorityLevel) = 0;
2004
2005 };
2006
2007
2008#else /* C style interface */
2009
2010 typedef struct ICorSvcOptimizerVtbl
2011 {
2012 BEGIN_INTERFACE
2013
2014 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2015 ICorSvcOptimizer * This,
2016 /* [in] */ REFIID riid,
2017 /* [annotation][iid_is][out] */
2018 _COM_Outptr_ void **ppvObject);
2019
2020 ULONG ( STDMETHODCALLTYPE *AddRef )(
2021 ICorSvcOptimizer * This);
2022
2023 ULONG ( STDMETHODCALLTYPE *Release )(
2024 ICorSvcOptimizer * This);
2025
2026 HRESULT ( STDMETHODCALLTYPE *Update )(
2027 ICorSvcOptimizer * This,
2028 /* [in] */ BSTR path,
2029 /* [in] */ UpdateFlags updateFlags,
2030 /* [in] */ GeneralFlags generalFlags);
2031
2032 HRESULT ( STDMETHODCALLTYPE *Display )(
2033 ICorSvcOptimizer * This,
2034 /* [in] */ BSTR path,
2035 /* [in] */ GeneralFlags generalFlags);
2036
2037 HRESULT ( STDMETHODCALLTYPE *ScheduleWork )(
2038 ICorSvcOptimizer * This,
2039 /* [in] */ PriorityLevel priorityLevel);
2040
2041 END_INTERFACE
2042 } ICorSvcOptimizerVtbl;
2043
2044 interface ICorSvcOptimizer
2045 {
2046 CONST_VTBL struct ICorSvcOptimizerVtbl *lpVtbl;
2047 };
2048
2049
2050
2051#ifdef COBJMACROS
2052
2053
2054#define ICorSvcOptimizer_QueryInterface(This,riid,ppvObject) \
2055 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2056
2057#define ICorSvcOptimizer_AddRef(This) \
2058 ( (This)->lpVtbl -> AddRef(This) )
2059
2060#define ICorSvcOptimizer_Release(This) \
2061 ( (This)->lpVtbl -> Release(This) )
2062
2063
2064#define ICorSvcOptimizer_Update(This,path,updateFlags,generalFlags) \
2065 ( (This)->lpVtbl -> Update(This,path,updateFlags,generalFlags) )
2066
2067#define ICorSvcOptimizer_Display(This,path,generalFlags) \
2068 ( (This)->lpVtbl -> Display(This,path,generalFlags) )
2069
2070#define ICorSvcOptimizer_ScheduleWork(This,priorityLevel) \
2071 ( (This)->lpVtbl -> ScheduleWork(This,priorityLevel) )
2072
2073#endif /* COBJMACROS */
2074
2075
2076#endif /* C style interface */
2077
2078
2079
2080
2081#endif /* __ICorSvcOptimizer_INTERFACE_DEFINED__ */
2082
2083
2084#ifndef __ICorSvcOptimizer2_INTERFACE_DEFINED__
2085#define __ICorSvcOptimizer2_INTERFACE_DEFINED__
2086
2087/* interface ICorSvcOptimizer2 */
2088/* [unique][uuid][object] */
2089
2090
2091EXTERN_C const IID IID_ICorSvcOptimizer2;
2092
2093#if defined(__cplusplus) && !defined(CINTERFACE)
2094
2095 MIDL_INTERFACE("ee3b09c2-0110-4b6e-a73f-a3d6562f98ab")
2096 ICorSvcOptimizer2 : public ICorSvcOptimizer
2097 {
2098 public:
2099 virtual HRESULT STDMETHODCALLTYPE CreatePdb(
2100 /* [in] */ BSTR nativeImagePath,
2101 /* [in] */ BSTR pdbPath) = 0;
2102
2103 };
2104
2105
2106#else /* C style interface */
2107
2108 typedef struct ICorSvcOptimizer2Vtbl
2109 {
2110 BEGIN_INTERFACE
2111
2112 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2113 ICorSvcOptimizer2 * This,
2114 /* [in] */ REFIID riid,
2115 /* [annotation][iid_is][out] */
2116 _COM_Outptr_ void **ppvObject);
2117
2118 ULONG ( STDMETHODCALLTYPE *AddRef )(
2119 ICorSvcOptimizer2 * This);
2120
2121 ULONG ( STDMETHODCALLTYPE *Release )(
2122 ICorSvcOptimizer2 * This);
2123
2124 HRESULT ( STDMETHODCALLTYPE *Update )(
2125 ICorSvcOptimizer2 * This,
2126 /* [in] */ BSTR path,
2127 /* [in] */ UpdateFlags updateFlags,
2128 /* [in] */ GeneralFlags generalFlags);
2129
2130 HRESULT ( STDMETHODCALLTYPE *Display )(
2131 ICorSvcOptimizer2 * This,
2132 /* [in] */ BSTR path,
2133 /* [in] */ GeneralFlags generalFlags);
2134
2135 HRESULT ( STDMETHODCALLTYPE *ScheduleWork )(
2136 ICorSvcOptimizer2 * This,
2137 /* [in] */ PriorityLevel priorityLevel);
2138
2139 HRESULT ( STDMETHODCALLTYPE *CreatePdb )(
2140 ICorSvcOptimizer2 * This,
2141 /* [in] */ BSTR nativeImagePath,
2142 /* [in] */ BSTR pdbPath);
2143
2144 END_INTERFACE
2145 } ICorSvcOptimizer2Vtbl;
2146
2147 interface ICorSvcOptimizer2
2148 {
2149 CONST_VTBL struct ICorSvcOptimizer2Vtbl *lpVtbl;
2150 };
2151
2152
2153
2154#ifdef COBJMACROS
2155
2156
2157#define ICorSvcOptimizer2_QueryInterface(This,riid,ppvObject) \
2158 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2159
2160#define ICorSvcOptimizer2_AddRef(This) \
2161 ( (This)->lpVtbl -> AddRef(This) )
2162
2163#define ICorSvcOptimizer2_Release(This) \
2164 ( (This)->lpVtbl -> Release(This) )
2165
2166
2167#define ICorSvcOptimizer2_Update(This,path,updateFlags,generalFlags) \
2168 ( (This)->lpVtbl -> Update(This,path,updateFlags,generalFlags) )
2169
2170#define ICorSvcOptimizer2_Display(This,path,generalFlags) \
2171 ( (This)->lpVtbl -> Display(This,path,generalFlags) )
2172
2173#define ICorSvcOptimizer2_ScheduleWork(This,priorityLevel) \
2174 ( (This)->lpVtbl -> ScheduleWork(This,priorityLevel) )
2175
2176
2177#define ICorSvcOptimizer2_CreatePdb(This,nativeImagePath,pdbPath) \
2178 ( (This)->lpVtbl -> CreatePdb(This,nativeImagePath,pdbPath) )
2179
2180#endif /* COBJMACROS */
2181
2182
2183#endif /* C style interface */
2184
2185
2186
2187
2188#endif /* __ICorSvcOptimizer2_INTERFACE_DEFINED__ */
2189
2190
2191#ifndef __ICorSvcOptimizer3_INTERFACE_DEFINED__
2192#define __ICorSvcOptimizer3_INTERFACE_DEFINED__
2193
2194/* interface ICorSvcOptimizer3 */
2195/* [unique][uuid][object] */
2196
2197
2198EXTERN_C const IID IID_ICorSvcOptimizer3;
2199
2200#if defined(__cplusplus) && !defined(CINTERFACE)
2201
2202 MIDL_INTERFACE("6EED164F-61EE-4a07-ABE8-670F92B4B7A9")
2203 ICorSvcOptimizer3 : public ICorSvcOptimizer2
2204 {
2205 public:
2206 virtual HRESULT STDMETHODCALLTYPE CreatePdb2(
2207 /* [in] */ BSTR nativeImagePath,
2208 /* [in] */ BSTR pdbPath,
2209 /* [in] */ BOOL pdbLines,
2210 /* [in] */ BSTR managedPdbSearchPath) = 0;
2211
2212 };
2213
2214
2215#else /* C style interface */
2216
2217 typedef struct ICorSvcOptimizer3Vtbl
2218 {
2219 BEGIN_INTERFACE
2220
2221 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2222 ICorSvcOptimizer3 * This,
2223 /* [in] */ REFIID riid,
2224 /* [annotation][iid_is][out] */
2225 _COM_Outptr_ void **ppvObject);
2226
2227 ULONG ( STDMETHODCALLTYPE *AddRef )(
2228 ICorSvcOptimizer3 * This);
2229
2230 ULONG ( STDMETHODCALLTYPE *Release )(
2231 ICorSvcOptimizer3 * This);
2232
2233 HRESULT ( STDMETHODCALLTYPE *Update )(
2234 ICorSvcOptimizer3 * This,
2235 /* [in] */ BSTR path,
2236 /* [in] */ UpdateFlags updateFlags,
2237 /* [in] */ GeneralFlags generalFlags);
2238
2239 HRESULT ( STDMETHODCALLTYPE *Display )(
2240 ICorSvcOptimizer3 * This,
2241 /* [in] */ BSTR path,
2242 /* [in] */ GeneralFlags generalFlags);
2243
2244 HRESULT ( STDMETHODCALLTYPE *ScheduleWork )(
2245 ICorSvcOptimizer3 * This,
2246 /* [in] */ PriorityLevel priorityLevel);
2247
2248 HRESULT ( STDMETHODCALLTYPE *CreatePdb )(
2249 ICorSvcOptimizer3 * This,
2250 /* [in] */ BSTR nativeImagePath,
2251 /* [in] */ BSTR pdbPath);
2252
2253 HRESULT ( STDMETHODCALLTYPE *CreatePdb2 )(
2254 ICorSvcOptimizer3 * This,
2255 /* [in] */ BSTR nativeImagePath,
2256 /* [in] */ BSTR pdbPath,
2257 /* [in] */ BOOL pdbLines,
2258 /* [in] */ BSTR managedPdbSearchPath);
2259
2260 END_INTERFACE
2261 } ICorSvcOptimizer3Vtbl;
2262
2263 interface ICorSvcOptimizer3
2264 {
2265 CONST_VTBL struct ICorSvcOptimizer3Vtbl *lpVtbl;
2266 };
2267
2268
2269
2270#ifdef COBJMACROS
2271
2272
2273#define ICorSvcOptimizer3_QueryInterface(This,riid,ppvObject) \
2274 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2275
2276#define ICorSvcOptimizer3_AddRef(This) \
2277 ( (This)->lpVtbl -> AddRef(This) )
2278
2279#define ICorSvcOptimizer3_Release(This) \
2280 ( (This)->lpVtbl -> Release(This) )
2281
2282
2283#define ICorSvcOptimizer3_Update(This,path,updateFlags,generalFlags) \
2284 ( (This)->lpVtbl -> Update(This,path,updateFlags,generalFlags) )
2285
2286#define ICorSvcOptimizer3_Display(This,path,generalFlags) \
2287 ( (This)->lpVtbl -> Display(This,path,generalFlags) )
2288
2289#define ICorSvcOptimizer3_ScheduleWork(This,priorityLevel) \
2290 ( (This)->lpVtbl -> ScheduleWork(This,priorityLevel) )
2291
2292
2293#define ICorSvcOptimizer3_CreatePdb(This,nativeImagePath,pdbPath) \
2294 ( (This)->lpVtbl -> CreatePdb(This,nativeImagePath,pdbPath) )
2295
2296
2297#define ICorSvcOptimizer3_CreatePdb2(This,nativeImagePath,pdbPath,pdbLines,managedPdbSearchPath) \
2298 ( (This)->lpVtbl -> CreatePdb2(This,nativeImagePath,pdbPath,pdbLines,managedPdbSearchPath) )
2299
2300#endif /* COBJMACROS */
2301
2302
2303#endif /* C style interface */
2304
2305
2306
2307
2308#endif /* __ICorSvcOptimizer3_INTERFACE_DEFINED__ */
2309
2310
2311/* interface __MIDL_itf_mscorsvc_0000_0009 */
2312/* [local] */
2313
2314typedef /* [public][public] */
2315enum __MIDL___MIDL_itf_mscorsvc_0000_0009_0001
2316 {
2317 NewWorkAvailable = 0,
2318 ClientWorkStart = 0x1,
2319 ClientWorkDone = 0x2,
2320 UpdatePostReboot = 0x3,
2321 NewWorkAvailableWithDelay = 0x4
2322 } ServiceNotification;
2323
2324
2325
2326extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0009_v0_0_c_ifspec;
2327extern RPC_IF_HANDLE __MIDL_itf_mscorsvc_0000_0009_v0_0_s_ifspec;
2328
2329#ifndef __ICorSvcManager_INTERFACE_DEFINED__
2330#define __ICorSvcManager_INTERFACE_DEFINED__
2331
2332/* interface ICorSvcManager */
2333/* [unique][uuid][object] */
2334
2335
2336EXTERN_C const IID IID_ICorSvcManager;
2337
2338#if defined(__cplusplus) && !defined(CINTERFACE)
2339
2340 MIDL_INTERFACE("8f416a48-d663-4a7e-9732-fbca3fc46ea8")
2341 ICorSvcManager : public IUnknown
2342 {
2343 public:
2344 virtual HRESULT STDMETHODCALLTYPE ScheduleWorkForSinglePriorityLevel(
2345 /* [in] */ PriorityLevel priorityLevel,
2346 /* [in] */ BSTR pInterruptEventName,
2347 /* [out] */ BOOL *pWorkScheduled) = 0;
2348
2349 virtual HRESULT STDMETHODCALLTYPE Optimize(
2350 /* [in] */ DWORD dwWorkerPriorityClass,
2351 /* [in] */ ICompileProgressNotification *pCompileProgressNotification,
2352 /* [in] */ BSTR pInterruptEventName) = 0;
2353
2354 virtual HRESULT STDMETHODCALLTYPE NotifyService(
2355 ServiceNotification notification) = 0;
2356
2357 virtual HRESULT STDMETHODCALLTYPE IsWorkAvailable(
2358 /* [in] */ PriorityLevel priorityLevel,
2359 /* [out] */ BOOL *pWorkAvailable) = 0;
2360
2361 virtual HRESULT STDMETHODCALLTYPE Update(
2362 /* [in] */ UpdateFlags updateFlags,
2363 /* [in] */ BSTR pInterruptEventName) = 0;
2364
2365 virtual HRESULT STDMETHODCALLTYPE SetSvcLogger(
2366 /* [in] */ ICorSvcLogger *pCorSvcLogger) = 0;
2367
2368 };
2369
2370
2371#else /* C style interface */
2372
2373 typedef struct ICorSvcManagerVtbl
2374 {
2375 BEGIN_INTERFACE
2376
2377 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2378 ICorSvcManager * This,
2379 /* [in] */ REFIID riid,
2380 /* [annotation][iid_is][out] */
2381 _COM_Outptr_ void **ppvObject);
2382
2383 ULONG ( STDMETHODCALLTYPE *AddRef )(
2384 ICorSvcManager * This);
2385
2386 ULONG ( STDMETHODCALLTYPE *Release )(
2387 ICorSvcManager * This);
2388
2389 HRESULT ( STDMETHODCALLTYPE *ScheduleWorkForSinglePriorityLevel )(
2390 ICorSvcManager * This,
2391 /* [in] */ PriorityLevel priorityLevel,
2392 /* [in] */ BSTR pInterruptEventName,
2393 /* [out] */ BOOL *pWorkScheduled);
2394
2395 HRESULT ( STDMETHODCALLTYPE *Optimize )(
2396 ICorSvcManager * This,
2397 /* [in] */ DWORD dwWorkerPriorityClass,
2398 /* [in] */ ICompileProgressNotification *pCompileProgressNotification,
2399 /* [in] */ BSTR pInterruptEventName);
2400
2401 HRESULT ( STDMETHODCALLTYPE *NotifyService )(
2402 ICorSvcManager * This,
2403 ServiceNotification notification);
2404
2405 HRESULT ( STDMETHODCALLTYPE *IsWorkAvailable )(
2406 ICorSvcManager * This,
2407 /* [in] */ PriorityLevel priorityLevel,
2408 /* [out] */ BOOL *pWorkAvailable);
2409
2410 HRESULT ( STDMETHODCALLTYPE *Update )(
2411 ICorSvcManager * This,
2412 /* [in] */ UpdateFlags updateFlags,
2413 /* [in] */ BSTR pInterruptEventName);
2414
2415 HRESULT ( STDMETHODCALLTYPE *SetSvcLogger )(
2416 ICorSvcManager * This,
2417 /* [in] */ ICorSvcLogger *pCorSvcLogger);
2418
2419 END_INTERFACE
2420 } ICorSvcManagerVtbl;
2421
2422 interface ICorSvcManager
2423 {
2424 CONST_VTBL struct ICorSvcManagerVtbl *lpVtbl;
2425 };
2426
2427
2428
2429#ifdef COBJMACROS
2430
2431
2432#define ICorSvcManager_QueryInterface(This,riid,ppvObject) \
2433 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2434
2435#define ICorSvcManager_AddRef(This) \
2436 ( (This)->lpVtbl -> AddRef(This) )
2437
2438#define ICorSvcManager_Release(This) \
2439 ( (This)->lpVtbl -> Release(This) )
2440
2441
2442#define ICorSvcManager_ScheduleWorkForSinglePriorityLevel(This,priorityLevel,pInterruptEventName,pWorkScheduled) \
2443 ( (This)->lpVtbl -> ScheduleWorkForSinglePriorityLevel(This,priorityLevel,pInterruptEventName,pWorkScheduled) )
2444
2445#define ICorSvcManager_Optimize(This,dwWorkerPriorityClass,pCompileProgressNotification,pInterruptEventName) \
2446 ( (This)->lpVtbl -> Optimize(This,dwWorkerPriorityClass,pCompileProgressNotification,pInterruptEventName) )
2447
2448#define ICorSvcManager_NotifyService(This,notification) \
2449 ( (This)->lpVtbl -> NotifyService(This,notification) )
2450
2451#define ICorSvcManager_IsWorkAvailable(This,priorityLevel,pWorkAvailable) \
2452 ( (This)->lpVtbl -> IsWorkAvailable(This,priorityLevel,pWorkAvailable) )
2453
2454#define ICorSvcManager_Update(This,updateFlags,pInterruptEventName) \
2455 ( (This)->lpVtbl -> Update(This,updateFlags,pInterruptEventName) )
2456
2457#define ICorSvcManager_SetSvcLogger(This,pCorSvcLogger) \
2458 ( (This)->lpVtbl -> SetSvcLogger(This,pCorSvcLogger) )
2459
2460#endif /* COBJMACROS */
2461
2462
2463#endif /* C style interface */
2464
2465
2466
2467
2468#endif /* __ICorSvcManager_INTERFACE_DEFINED__ */
2469
2470
2471#ifndef __ICorSvcManager2_INTERFACE_DEFINED__
2472#define __ICorSvcManager2_INTERFACE_DEFINED__
2473
2474/* interface ICorSvcManager2 */
2475/* [unique][uuid][object] */
2476
2477
2478EXTERN_C const IID IID_ICorSvcManager2;
2479
2480#if defined(__cplusplus) && !defined(CINTERFACE)
2481
2482 MIDL_INTERFACE("29626056-8031-441b-affa-7a82480058b3")
2483 ICorSvcManager2 : public IUnknown
2484 {
2485 public:
2486 virtual HRESULT STDMETHODCALLTYPE SetRuntimeVersion(
2487 BSTR version) = 0;
2488
2489 virtual HRESULT STDMETHODCALLTYPE SetPackageMoniker(
2490 BSTR moniker) = 0;
2491
2492 virtual HRESULT STDMETHODCALLTYPE SetLocalAppData(
2493 BSTR directory) = 0;
2494
2495 };
2496
2497
2498#else /* C style interface */
2499
2500 typedef struct ICorSvcManager2Vtbl
2501 {
2502 BEGIN_INTERFACE
2503
2504 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2505 ICorSvcManager2 * This,
2506 /* [in] */ REFIID riid,
2507 /* [annotation][iid_is][out] */
2508 _COM_Outptr_ void **ppvObject);
2509
2510 ULONG ( STDMETHODCALLTYPE *AddRef )(
2511 ICorSvcManager2 * This);
2512
2513 ULONG ( STDMETHODCALLTYPE *Release )(
2514 ICorSvcManager2 * This);
2515
2516 HRESULT ( STDMETHODCALLTYPE *SetRuntimeVersion )(
2517 ICorSvcManager2 * This,
2518 BSTR version);
2519
2520 HRESULT ( STDMETHODCALLTYPE *SetPackageMoniker )(
2521 ICorSvcManager2 * This,
2522 BSTR moniker);
2523
2524 HRESULT ( STDMETHODCALLTYPE *SetLocalAppData )(
2525 ICorSvcManager2 * This,
2526 BSTR directory);
2527
2528 END_INTERFACE
2529 } ICorSvcManager2Vtbl;
2530
2531 interface ICorSvcManager2
2532 {
2533 CONST_VTBL struct ICorSvcManager2Vtbl *lpVtbl;
2534 };
2535
2536
2537
2538#ifdef COBJMACROS
2539
2540
2541#define ICorSvcManager2_QueryInterface(This,riid,ppvObject) \
2542 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2543
2544#define ICorSvcManager2_AddRef(This) \
2545 ( (This)->lpVtbl -> AddRef(This) )
2546
2547#define ICorSvcManager2_Release(This) \
2548 ( (This)->lpVtbl -> Release(This) )
2549
2550
2551#define ICorSvcManager2_SetRuntimeVersion(This,version) \
2552 ( (This)->lpVtbl -> SetRuntimeVersion(This,version) )
2553
2554#define ICorSvcManager2_SetPackageMoniker(This,moniker) \
2555 ( (This)->lpVtbl -> SetPackageMoniker(This,moniker) )
2556
2557#define ICorSvcManager2_SetLocalAppData(This,directory) \
2558 ( (This)->lpVtbl -> SetLocalAppData(This,directory) )
2559
2560#endif /* COBJMACROS */
2561
2562
2563#endif /* C style interface */
2564
2565
2566
2567
2568#endif /* __ICorSvcManager2_INTERFACE_DEFINED__ */
2569
2570
2571#ifndef __ICorSvcSetLegacyServiceBehavior_INTERFACE_DEFINED__
2572#define __ICorSvcSetLegacyServiceBehavior_INTERFACE_DEFINED__
2573
2574/* interface ICorSvcSetLegacyServiceBehavior */
2575/* [unique][uuid][object] */
2576
2577
2578EXTERN_C const IID IID_ICorSvcSetLegacyServiceBehavior;
2579
2580#if defined(__cplusplus) && !defined(CINTERFACE)
2581
2582 MIDL_INTERFACE("35e5d609-ec3d-4fc2-9ba2-5f99e42ff42f")
2583 ICorSvcSetLegacyServiceBehavior : public IUnknown
2584 {
2585 public:
2586 virtual HRESULT STDMETHODCALLTYPE SetLegacyServiceBehavior( void) = 0;
2587
2588 };
2589
2590
2591#else /* C style interface */
2592
2593 typedef struct ICorSvcSetLegacyServiceBehaviorVtbl
2594 {
2595 BEGIN_INTERFACE
2596
2597 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2598 ICorSvcSetLegacyServiceBehavior * This,
2599 /* [in] */ REFIID riid,
2600 /* [annotation][iid_is][out] */
2601 _COM_Outptr_ void **ppvObject);
2602
2603 ULONG ( STDMETHODCALLTYPE *AddRef )(
2604 ICorSvcSetLegacyServiceBehavior * This);
2605
2606 ULONG ( STDMETHODCALLTYPE *Release )(
2607 ICorSvcSetLegacyServiceBehavior * This);
2608
2609 HRESULT ( STDMETHODCALLTYPE *SetLegacyServiceBehavior )(
2610 ICorSvcSetLegacyServiceBehavior * This);
2611
2612 END_INTERFACE
2613 } ICorSvcSetLegacyServiceBehaviorVtbl;
2614
2615 interface ICorSvcSetLegacyServiceBehavior
2616 {
2617 CONST_VTBL struct ICorSvcSetLegacyServiceBehaviorVtbl *lpVtbl;
2618 };
2619
2620
2621
2622#ifdef COBJMACROS
2623
2624
2625#define ICorSvcSetLegacyServiceBehavior_QueryInterface(This,riid,ppvObject) \
2626 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2627
2628#define ICorSvcSetLegacyServiceBehavior_AddRef(This) \
2629 ( (This)->lpVtbl -> AddRef(This) )
2630
2631#define ICorSvcSetLegacyServiceBehavior_Release(This) \
2632 ( (This)->lpVtbl -> Release(This) )
2633
2634
2635#define ICorSvcSetLegacyServiceBehavior_SetLegacyServiceBehavior(This) \
2636 ( (This)->lpVtbl -> SetLegacyServiceBehavior(This) )
2637
2638#endif /* COBJMACROS */
2639
2640
2641#endif /* C style interface */
2642
2643
2644
2645
2646#endif /* __ICorSvcSetLegacyServiceBehavior_INTERFACE_DEFINED__ */
2647
2648
2649#ifndef __ICorSvcSetTaskBootTriggerState_INTERFACE_DEFINED__
2650#define __ICorSvcSetTaskBootTriggerState_INTERFACE_DEFINED__
2651
2652/* interface ICorSvcSetTaskBootTriggerState */
2653/* [unique][uuid][object] */
2654
2655
2656EXTERN_C const IID IID_ICorSvcSetTaskBootTriggerState;
2657
2658#if defined(__cplusplus) && !defined(CINTERFACE)
2659
2660 MIDL_INTERFACE("115466A4-7005-4CA3-971F-01F0A2C8EF09")
2661 ICorSvcSetTaskBootTriggerState : public IUnknown
2662 {
2663 public:
2664 virtual HRESULT STDMETHODCALLTYPE SetTaskBootTriggerState(
2665 BOOL bEnabled) = 0;
2666
2667 };
2668
2669
2670#else /* C style interface */
2671
2672 typedef struct ICorSvcSetTaskBootTriggerStateVtbl
2673 {
2674 BEGIN_INTERFACE
2675
2676 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2677 ICorSvcSetTaskBootTriggerState * This,
2678 /* [in] */ REFIID riid,
2679 /* [annotation][iid_is][out] */
2680 _COM_Outptr_ void **ppvObject);
2681
2682 ULONG ( STDMETHODCALLTYPE *AddRef )(
2683 ICorSvcSetTaskBootTriggerState * This);
2684
2685 ULONG ( STDMETHODCALLTYPE *Release )(
2686 ICorSvcSetTaskBootTriggerState * This);
2687
2688 HRESULT ( STDMETHODCALLTYPE *SetTaskBootTriggerState )(
2689 ICorSvcSetTaskBootTriggerState * This,
2690 BOOL bEnabled);
2691
2692 END_INTERFACE
2693 } ICorSvcSetTaskBootTriggerStateVtbl;
2694
2695 interface ICorSvcSetTaskBootTriggerState
2696 {
2697 CONST_VTBL struct ICorSvcSetTaskBootTriggerStateVtbl *lpVtbl;
2698 };
2699
2700
2701
2702#ifdef COBJMACROS
2703
2704
2705#define ICorSvcSetTaskBootTriggerState_QueryInterface(This,riid,ppvObject) \
2706 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2707
2708#define ICorSvcSetTaskBootTriggerState_AddRef(This) \
2709 ( (This)->lpVtbl -> AddRef(This) )
2710
2711#define ICorSvcSetTaskBootTriggerState_Release(This) \
2712 ( (This)->lpVtbl -> Release(This) )
2713
2714
2715#define ICorSvcSetTaskBootTriggerState_SetTaskBootTriggerState(This,bEnabled) \
2716 ( (This)->lpVtbl -> SetTaskBootTriggerState(This,bEnabled) )
2717
2718#endif /* COBJMACROS */
2719
2720
2721#endif /* C style interface */
2722
2723
2724
2725
2726#endif /* __ICorSvcSetTaskBootTriggerState_INTERFACE_DEFINED__ */
2727
2728
2729#ifndef __ICorSvcSetTaskDelayStartTriggerState_INTERFACE_DEFINED__
2730#define __ICorSvcSetTaskDelayStartTriggerState_INTERFACE_DEFINED__
2731
2732/* interface ICorSvcSetTaskDelayStartTriggerState */
2733/* [unique][uuid][object] */
2734
2735
2736EXTERN_C const IID IID_ICorSvcSetTaskDelayStartTriggerState;
2737
2738#if defined(__cplusplus) && !defined(CINTERFACE)
2739
2740 MIDL_INTERFACE("261DD1E3-F07E-4B8D-B54E-F26889413626")
2741 ICorSvcSetTaskDelayStartTriggerState : public IUnknown
2742 {
2743 public:
2744 virtual HRESULT STDMETHODCALLTYPE SetTaskDelayStartTriggerState(
2745 BOOL bEnabled) = 0;
2746
2747 };
2748
2749
2750#else /* C style interface */
2751
2752 typedef struct ICorSvcSetTaskDelayStartTriggerStateVtbl
2753 {
2754 BEGIN_INTERFACE
2755
2756 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2757 ICorSvcSetTaskDelayStartTriggerState * This,
2758 /* [in] */ REFIID riid,
2759 /* [annotation][iid_is][out] */
2760 _COM_Outptr_ void **ppvObject);
2761
2762 ULONG ( STDMETHODCALLTYPE *AddRef )(
2763 ICorSvcSetTaskDelayStartTriggerState * This);
2764
2765 ULONG ( STDMETHODCALLTYPE *Release )(
2766 ICorSvcSetTaskDelayStartTriggerState * This);
2767
2768 HRESULT ( STDMETHODCALLTYPE *SetTaskDelayStartTriggerState )(
2769 ICorSvcSetTaskDelayStartTriggerState * This,
2770 BOOL bEnabled);
2771
2772 END_INTERFACE
2773 } ICorSvcSetTaskDelayStartTriggerStateVtbl;
2774
2775 interface ICorSvcSetTaskDelayStartTriggerState
2776 {
2777 CONST_VTBL struct ICorSvcSetTaskDelayStartTriggerStateVtbl *lpVtbl;
2778 };
2779
2780
2781
2782#ifdef COBJMACROS
2783
2784
2785#define ICorSvcSetTaskDelayStartTriggerState_QueryInterface(This,riid,ppvObject) \
2786 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2787
2788#define ICorSvcSetTaskDelayStartTriggerState_AddRef(This) \
2789 ( (This)->lpVtbl -> AddRef(This) )
2790
2791#define ICorSvcSetTaskDelayStartTriggerState_Release(This) \
2792 ( (This)->lpVtbl -> Release(This) )
2793
2794
2795#define ICorSvcSetTaskDelayStartTriggerState_SetTaskDelayStartTriggerState(This,bEnabled) \
2796 ( (This)->lpVtbl -> SetTaskDelayStartTriggerState(This,bEnabled) )
2797
2798#endif /* COBJMACROS */
2799
2800
2801#endif /* C style interface */
2802
2803
2804
2805
2806#endif /* __ICorSvcSetTaskDelayStartTriggerState_INTERFACE_DEFINED__ */
2807
2808
2809/* Additional Prototypes for ALL interfaces */
2810
2811unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
2812unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
2813unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
2814void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
2815
2816/* end of Additional Prototypes */
2817
2818#ifdef __cplusplus
2819}
2820#endif
2821
2822#endif
2823
2824
2825