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 __CLRPrivHosting_h__
34#define __CLRPrivHosting_h__
35
36#if defined(_MSC_VER) && (_MSC_VER >= 1020)
37#pragma once
38#endif
39
40/* Forward Declarations */
41
42#ifndef __CLRPrivRuntime_FWD_DEFINED__
43#define __CLRPrivRuntime_FWD_DEFINED__
44
45#ifdef __cplusplus
46typedef class CLRPrivRuntime CLRPrivRuntime;
47#else
48typedef struct CLRPrivRuntime CLRPrivRuntime;
49#endif /* __cplusplus */
50
51#endif /* __CLRPrivRuntime_FWD_DEFINED__ */
52
53
54#ifndef __ICLRPrivRuntime_FWD_DEFINED__
55#define __ICLRPrivRuntime_FWD_DEFINED__
56typedef interface ICLRPrivRuntime ICLRPrivRuntime;
57
58#endif /* __ICLRPrivRuntime_FWD_DEFINED__ */
59
60
61/* header files for imported files */
62#include "unknwn.h"
63#include "clrprivbinding.h"
64
65#ifdef __cplusplus
66extern "C"{
67#endif
68
69
70/* interface __MIDL_itf_CLRPrivHosting_0000_0000 */
71/* [local] */
72
73
74
75
76extern RPC_IF_HANDLE __MIDL_itf_CLRPrivHosting_0000_0000_v0_0_c_ifspec;
77extern RPC_IF_HANDLE __MIDL_itf_CLRPrivHosting_0000_0000_v0_0_s_ifspec;
78
79
80#ifndef __CLRPrivHosting_LIBRARY_DEFINED__
81#define __CLRPrivHosting_LIBRARY_DEFINED__
82
83/* library CLRPrivHosting */
84/* [uuid] */
85
86
87EXTERN_C const IID LIBID_CLRPrivHosting;
88
89EXTERN_C const CLSID CLSID_CLRPrivRuntime;
90
91#ifdef __cplusplus
92
93class DECLSPEC_UUID("BC1B53A8-DCBC-43B2-BB17-1E4061447AE8")
94CLRPrivRuntime;
95#endif
96#endif /* __CLRPrivHosting_LIBRARY_DEFINED__ */
97
98#ifndef __ICLRPrivRuntime_INTERFACE_DEFINED__
99#define __ICLRPrivRuntime_INTERFACE_DEFINED__
100
101/* interface ICLRPrivRuntime */
102/* [object][local][version][uuid] */
103
104
105EXTERN_C const IID IID_ICLRPrivRuntime;
106
107#if defined(__cplusplus) && !defined(CINTERFACE)
108
109 MIDL_INTERFACE("BC1B53A8-DCBC-43B2-BB17-1E4061447AE9")
110 ICLRPrivRuntime : public IUnknown
111 {
112 public:
113 virtual HRESULT STDMETHODCALLTYPE GetInterface(
114 /* [in] */ REFCLSID rclsid,
115 /* [in] */ REFIID riid,
116 /* [retval][iid_is][out] */ LPVOID *ppUnk) = 0;
117
118 virtual HRESULT STDMETHODCALLTYPE CreateAppDomain(
119 /* [string][in] */ LPCWSTR pwzFriendlyName,
120 /* [in] */ ICLRPrivBinder *pBinder,
121 /* [retval][out] */ LPDWORD pdwAppDomainId) = 0;
122
123 virtual HRESULT STDMETHODCALLTYPE CreateDelegate(
124 /* [in] */ DWORD appDomainID,
125 /* [string][in] */ LPCWSTR wszAssemblyName,
126 /* [string][in] */ LPCWSTR wszClassName,
127 /* [string][in] */ LPCWSTR wszMethodName,
128 /* [retval][out] */ LPVOID *ppvDelegate) = 0;
129
130 virtual HRESULT STDMETHODCALLTYPE ExecuteMain(
131 /* [in] */ ICLRPrivBinder *pBinder,
132 /* [retval][out] */ int *pRetVal) = 0;
133
134 };
135
136
137#else /* C style interface */
138
139 typedef struct ICLRPrivRuntimeVtbl
140 {
141 BEGIN_INTERFACE
142
143 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
144 ICLRPrivRuntime * This,
145 /* [in] */ REFIID riid,
146 /* [annotation][iid_is][out] */
147 _COM_Outptr_ void **ppvObject);
148
149 ULONG ( STDMETHODCALLTYPE *AddRef )(
150 ICLRPrivRuntime * This);
151
152 ULONG ( STDMETHODCALLTYPE *Release )(
153 ICLRPrivRuntime * This);
154
155 HRESULT ( STDMETHODCALLTYPE *GetInterface )(
156 ICLRPrivRuntime * This,
157 /* [in] */ REFCLSID rclsid,
158 /* [in] */ REFIID riid,
159 /* [retval][iid_is][out] */ LPVOID *ppUnk);
160
161 HRESULT ( STDMETHODCALLTYPE *CreateAppDomain )(
162 ICLRPrivRuntime * This,
163 /* [string][in] */ LPCWSTR pwzFriendlyName,
164 /* [in] */ ICLRPrivBinder *pBinder,
165 /* [retval][out] */ LPDWORD pdwAppDomainId);
166
167 HRESULT ( STDMETHODCALLTYPE *CreateDelegate )(
168 ICLRPrivRuntime * This,
169 /* [in] */ DWORD appDomainID,
170 /* [string][in] */ LPCWSTR wszAssemblyName,
171 /* [string][in] */ LPCWSTR wszClassName,
172 /* [string][in] */ LPCWSTR wszMethodName,
173 /* [retval][out] */ LPVOID *ppvDelegate);
174
175 HRESULT ( STDMETHODCALLTYPE *ExecuteMain )(
176 ICLRPrivRuntime * This,
177 /* [in] */ ICLRPrivBinder *pBinder,
178 /* [retval][out] */ int *pRetVal);
179
180 END_INTERFACE
181 } ICLRPrivRuntimeVtbl;
182
183 interface ICLRPrivRuntime
184 {
185 CONST_VTBL struct ICLRPrivRuntimeVtbl *lpVtbl;
186 };
187
188
189
190#ifdef COBJMACROS
191
192
193#define ICLRPrivRuntime_QueryInterface(This,riid,ppvObject) \
194 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
195
196#define ICLRPrivRuntime_AddRef(This) \
197 ( (This)->lpVtbl -> AddRef(This) )
198
199#define ICLRPrivRuntime_Release(This) \
200 ( (This)->lpVtbl -> Release(This) )
201
202
203#define ICLRPrivRuntime_GetInterface(This,rclsid,riid,ppUnk) \
204 ( (This)->lpVtbl -> GetInterface(This,rclsid,riid,ppUnk) )
205
206#define ICLRPrivRuntime_CreateAppDomain(This,pwzFriendlyName,pBinder,pdwAppDomainId) \
207 ( (This)->lpVtbl -> CreateAppDomain(This,pwzFriendlyName,pBinder,pdwAppDomainId) )
208
209#define ICLRPrivRuntime_CreateDelegate(This,appDomainID,wszAssemblyName,wszClassName,wszMethodName,ppvDelegate) \
210 ( (This)->lpVtbl -> CreateDelegate(This,appDomainID,wszAssemblyName,wszClassName,wszMethodName,ppvDelegate) )
211
212#define ICLRPrivRuntime_ExecuteMain(This,pBinder,pRetVal) \
213 ( (This)->lpVtbl -> ExecuteMain(This,pBinder,pRetVal) )
214
215#endif /* COBJMACROS */
216
217
218#endif /* C style interface */
219
220
221
222
223#endif /* __ICLRPrivRuntime_INTERFACE_DEFINED__ */
224
225
226/* Additional Prototypes for ALL interfaces */
227
228/* end of Additional Prototypes */
229
230#ifdef __cplusplus
231}
232#endif
233
234#endif
235
236
237