Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2285 lines
68 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* at Fri Jan 04 21:21:37 2002
  5. */
  6. /* Compiler settings for mscoree.idl:
  7. Oicf, W1, Zp8, env=Win32 (32b run)
  8. protocol : dce , ms_ext, c_ext
  9. error checks: allocation ref bounds_check enum stub_data , no_format_optimization
  10. VC __declspec() decoration level:
  11. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  12. DECLSPEC_UUID(), MIDL_INTERFACE()
  13. */
  14. //@@MIDL_FILE_HEADING( )
  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__ 440
  18. #endif
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21. #ifndef __RPCNDR_H_VERSION__
  22. #error this stub requires an updated version of <rpcndr.h>
  23. #endif // __RPCNDR_H_VERSION__
  24. #ifndef COM_NO_WINDOWS_H
  25. #include "windows.h"
  26. #include "ole2.h"
  27. #endif /*COM_NO_WINDOWS_H*/
  28. #ifndef __mscoree_h__
  29. #define __mscoree_h__
  30. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  31. #pragma once
  32. #endif
  33. /* Forward Declarations */
  34. #ifndef __IObjectHandle_FWD_DEFINED__
  35. #define __IObjectHandle_FWD_DEFINED__
  36. typedef interface IObjectHandle IObjectHandle;
  37. #endif /* __IObjectHandle_FWD_DEFINED__ */
  38. #ifndef __IAppDomainBinding_FWD_DEFINED__
  39. #define __IAppDomainBinding_FWD_DEFINED__
  40. typedef interface IAppDomainBinding IAppDomainBinding;
  41. #endif /* __IAppDomainBinding_FWD_DEFINED__ */
  42. #ifndef __IGCThreadControl_FWD_DEFINED__
  43. #define __IGCThreadControl_FWD_DEFINED__
  44. typedef interface IGCThreadControl IGCThreadControl;
  45. #endif /* __IGCThreadControl_FWD_DEFINED__ */
  46. #ifndef __IGCHostControl_FWD_DEFINED__
  47. #define __IGCHostControl_FWD_DEFINED__
  48. typedef interface IGCHostControl IGCHostControl;
  49. #endif /* __IGCHostControl_FWD_DEFINED__ */
  50. #ifndef __ICorThreadpool_FWD_DEFINED__
  51. #define __ICorThreadpool_FWD_DEFINED__
  52. typedef interface ICorThreadpool ICorThreadpool;
  53. #endif /* __ICorThreadpool_FWD_DEFINED__ */
  54. #ifndef __IDebuggerThreadControl_FWD_DEFINED__
  55. #define __IDebuggerThreadControl_FWD_DEFINED__
  56. typedef interface IDebuggerThreadControl IDebuggerThreadControl;
  57. #endif /* __IDebuggerThreadControl_FWD_DEFINED__ */
  58. #ifndef __IDebuggerInfo_FWD_DEFINED__
  59. #define __IDebuggerInfo_FWD_DEFINED__
  60. typedef interface IDebuggerInfo IDebuggerInfo;
  61. #endif /* __IDebuggerInfo_FWD_DEFINED__ */
  62. #ifndef __ICorConfiguration_FWD_DEFINED__
  63. #define __ICorConfiguration_FWD_DEFINED__
  64. typedef interface ICorConfiguration ICorConfiguration;
  65. #endif /* __ICorConfiguration_FWD_DEFINED__ */
  66. #ifndef __ICorRuntimeHost_FWD_DEFINED__
  67. #define __ICorRuntimeHost_FWD_DEFINED__
  68. typedef interface ICorRuntimeHost ICorRuntimeHost;
  69. #endif /* __ICorRuntimeHost_FWD_DEFINED__ */
  70. #ifndef __IApartmentCallback_FWD_DEFINED__
  71. #define __IApartmentCallback_FWD_DEFINED__
  72. typedef interface IApartmentCallback IApartmentCallback;
  73. #endif /* __IApartmentCallback_FWD_DEFINED__ */
  74. #ifndef __IManagedObject_FWD_DEFINED__
  75. #define __IManagedObject_FWD_DEFINED__
  76. typedef interface IManagedObject IManagedObject;
  77. #endif /* __IManagedObject_FWD_DEFINED__ */
  78. #ifndef __ICatalogServices_FWD_DEFINED__
  79. #define __ICatalogServices_FWD_DEFINED__
  80. typedef interface ICatalogServices ICatalogServices;
  81. #endif /* __ICatalogServices_FWD_DEFINED__ */
  82. #ifndef __ComCallUnmarshal_FWD_DEFINED__
  83. #define __ComCallUnmarshal_FWD_DEFINED__
  84. #ifdef __cplusplus
  85. typedef class ComCallUnmarshal ComCallUnmarshal;
  86. #else
  87. typedef struct ComCallUnmarshal ComCallUnmarshal;
  88. #endif /* __cplusplus */
  89. #endif /* __ComCallUnmarshal_FWD_DEFINED__ */
  90. #ifndef __CorRuntimeHost_FWD_DEFINED__
  91. #define __CorRuntimeHost_FWD_DEFINED__
  92. #ifdef __cplusplus
  93. typedef class CorRuntimeHost CorRuntimeHost;
  94. #else
  95. typedef struct CorRuntimeHost CorRuntimeHost;
  96. #endif /* __cplusplus */
  97. #endif /* __CorRuntimeHost_FWD_DEFINED__ */
  98. /* header files for imported files */
  99. #include "unknwn.h"
  100. #include "gchost.h"
  101. #include "ivalidator.h"
  102. #ifdef __cplusplus
  103. extern "C"{
  104. #endif
  105. void * __RPC_USER MIDL_user_allocate(size_t);
  106. void __RPC_USER MIDL_user_free( void * );
  107. /* interface __MIDL_itf_mscoree_0000 */
  108. /* [local] */
  109. #define CLR_MAJOR_VERSION ( 1 )
  110. #define CLR_MINOR_VERSION ( 0 )
  111. #define CLR_BUILD_VERSION ( 3705 )
  112. extern const GUID __declspec(selectany) LIBID_mscoree = {0x5477469e,0x83b1,0x11d2,{0x8b,0x49,0x00,0xa0,0xc9,0xb7,0xc9,0xc4}};
  113. extern const GUID __declspec(selectany) CLSID_CorRuntimeHost = { 0xcb2f6723, 0xab3a, 0x11d2, { 0x9c, 0x40, 0x00, 0xc0, 0x4f, 0xa3, 0x0a, 0x3e } };
  114. extern const GUID __declspec(selectany) CLSID_ComCallUnmarshal = {0x3F281000,0xE95A,0x11d2,{0x88,0x6B,0x00,0xC0,0x4F,0x86,0x9F,0x04}};
  115. extern const GUID __declspec(selectany) IID_IObjectHandle = { 0xc460e2b4, 0xe199, 0x412a, { 0x84, 0x56, 0x84, 0xdc, 0x3e, 0x48, 0x38, 0xc3 } };
  116. extern const GUID __declspec(selectany) IID_IManagedObject = { 0xc3fcc19e, 0xa970, 0x11d2, { 0x8b, 0x5a, 0x00, 0xa0, 0xc9, 0xb7, 0xc9, 0xc4 } };
  117. extern const GUID __declspec(selectany) IID_IApartmentCallback = { 0x178e5337, 0x1528, 0x4591, { 0xb1, 0xc9, 0x1c, 0x6e, 0x48, 0x46, 0x86, 0xd8 } };
  118. extern const GUID __declspec(selectany) IID_ICatalogServices = { 0x04c6be1e, 0x1db1, 0x4058, { 0xab, 0x7a, 0x70, 0x0c, 0xcc, 0xfb, 0xf2, 0x54} };
  119. extern const GUID __declspec(selectany) IID_ICorRuntimeHost = { 0xcb2f6722, 0xab3a, 0x11d2, { 0x9c, 0x40, 0x00, 0xc0, 0x4f, 0xa3, 0x0a, 0x3e } };
  120. extern const GUID __declspec(selectany) IID_ICorThreadpool = { 0x84680D3A, 0xB2C1, 0x46e8, {0xAC, 0xC2, 0xDB, 0xC0, 0xA3, 0x59, 0x15, 0x9A } };
  121. STDAPI GetCORSystemDirectory(LPWSTR pbuffer, DWORD cchBuffer, DWORD* dwlength);
  122. STDAPI GetCORVersion(LPWSTR pbuffer, DWORD cchBuffer, DWORD* dwlength);
  123. STDAPI GetCORRequiredVersion(LPWSTR pbuffer, DWORD cchBuffer, DWORD* dwlength);
  124. STDAPI CorBindToRuntimeHost(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, LPCWSTR pwszHostConfigFile, VOID* pReserved, DWORD startupFlags, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
  125. STDAPI CorBindToRuntimeEx(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, DWORD startupFlags, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
  126. STDAPI CorBindToRuntimeByCfg(IStream* pCfgStream, DWORD reserved, DWORD startupFlags, REFCLSID rclsid,REFIID riid, LPVOID FAR* ppv);
  127. STDAPI CorBindToRuntime(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
  128. STDAPI CorBindToCurrentRuntime(LPCWSTR pwszFileName, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
  129. STDAPI ClrCreateManagedInstance(LPCWSTR pTypeName, REFIID riid, void **ppObject);
  130. void STDMETHODCALLTYPE CorMarkThreadInThreadPool();
  131. STDAPI RunDll32ShimW(HWND hwnd, HINSTANCE hinst, LPCWSTR lpszCmdLine, int nCmdShow);
  132. STDAPI LoadLibraryShim(LPCWSTR szDllName, LPCWSTR szVersion, LPVOID pvReserved, HMODULE *phModDll);
  133. STDAPI CallFunctionShim(LPCWSTR szDllName, LPCSTR szFunctionName, LPVOID lpvArgument1, LPVOID lpvArgument2, LPCWSTR szVersion, LPVOID pvReserved);
  134. STDAPI GetRealProcAddress(LPCSTR pwszProcName, VOID** ppv);
  135. void STDMETHODCALLTYPE CorExitProcess(int exitCode);
  136. typedef /* [public] */
  137. enum __MIDL___MIDL_itf_mscoree_0000_0001
  138. { STARTUP_CONCURRENT_GC = 0x1,
  139. STARTUP_LOADER_OPTIMIZATION_MASK = 0x3 << 1,
  140. STARTUP_LOADER_OPTIMIZATION_SINGLE_DOMAIN = 0x1 << 1,
  141. STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN = 0x2 << 1,
  142. STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN_HOST = 0x3 << 1,
  143. STARTUP_LOADER_SAFEMODE = 0x10,
  144. STARTUP_LOADER_SETPREFERENCE = 0x100
  145. } STARTUP_FLAGS;
  146. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_v0_0_c_ifspec;
  147. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_v0_0_s_ifspec;
  148. #ifndef __IObjectHandle_INTERFACE_DEFINED__
  149. #define __IObjectHandle_INTERFACE_DEFINED__
  150. /* interface IObjectHandle */
  151. /* [unique][helpstring][uuid][oleautomation][object] */
  152. EXTERN_C const IID IID_IObjectHandle;
  153. #if defined(__cplusplus) && !defined(CINTERFACE)
  154. MIDL_INTERFACE("C460E2B4-E199-412a-8456-84DC3E4838C3")
  155. IObjectHandle : public IUnknown
  156. {
  157. public:
  158. virtual HRESULT STDMETHODCALLTYPE Unwrap(
  159. /* [retval][out] */ VARIANT *ppv) = 0;
  160. };
  161. #else /* C style interface */
  162. typedef struct IObjectHandleVtbl
  163. {
  164. BEGIN_INTERFACE
  165. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  166. IObjectHandle * This,
  167. /* [in] */ REFIID riid,
  168. /* [iid_is][out] */ void **ppvObject);
  169. ULONG ( STDMETHODCALLTYPE *AddRef )(
  170. IObjectHandle * This);
  171. ULONG ( STDMETHODCALLTYPE *Release )(
  172. IObjectHandle * This);
  173. HRESULT ( STDMETHODCALLTYPE *Unwrap )(
  174. IObjectHandle * This,
  175. /* [retval][out] */ VARIANT *ppv);
  176. END_INTERFACE
  177. } IObjectHandleVtbl;
  178. interface IObjectHandle
  179. {
  180. CONST_VTBL struct IObjectHandleVtbl *lpVtbl;
  181. };
  182. #ifdef COBJMACROS
  183. #define IObjectHandle_QueryInterface(This,riid,ppvObject) \
  184. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  185. #define IObjectHandle_AddRef(This) \
  186. (This)->lpVtbl -> AddRef(This)
  187. #define IObjectHandle_Release(This) \
  188. (This)->lpVtbl -> Release(This)
  189. #define IObjectHandle_Unwrap(This,ppv) \
  190. (This)->lpVtbl -> Unwrap(This,ppv)
  191. #endif /* COBJMACROS */
  192. #endif /* C style interface */
  193. HRESULT STDMETHODCALLTYPE IObjectHandle_Unwrap_Proxy(
  194. IObjectHandle * This,
  195. /* [retval][out] */ VARIANT *ppv);
  196. void __RPC_STUB IObjectHandle_Unwrap_Stub(
  197. IRpcStubBuffer *This,
  198. IRpcChannelBuffer *_pRpcChannelBuffer,
  199. PRPC_MESSAGE _pRpcMessage,
  200. DWORD *_pdwStubPhase);
  201. #endif /* __IObjectHandle_INTERFACE_DEFINED__ */
  202. #ifndef __IAppDomainBinding_INTERFACE_DEFINED__
  203. #define __IAppDomainBinding_INTERFACE_DEFINED__
  204. /* interface IAppDomainBinding */
  205. /* [object][local][unique][helpstring][version][uuid] */
  206. EXTERN_C const IID IID_IAppDomainBinding;
  207. #if defined(__cplusplus) && !defined(CINTERFACE)
  208. MIDL_INTERFACE("5C2B07A7-1E98-11d3-872F-00C04F79ED0D")
  209. IAppDomainBinding : public IUnknown
  210. {
  211. public:
  212. virtual HRESULT STDMETHODCALLTYPE OnAppDomain(
  213. /* [in] */ IUnknown *pAppdomain) = 0;
  214. };
  215. #else /* C style interface */
  216. typedef struct IAppDomainBindingVtbl
  217. {
  218. BEGIN_INTERFACE
  219. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  220. IAppDomainBinding * This,
  221. /* [in] */ REFIID riid,
  222. /* [iid_is][out] */ void **ppvObject);
  223. ULONG ( STDMETHODCALLTYPE *AddRef )(
  224. IAppDomainBinding * This);
  225. ULONG ( STDMETHODCALLTYPE *Release )(
  226. IAppDomainBinding * This);
  227. HRESULT ( STDMETHODCALLTYPE *OnAppDomain )(
  228. IAppDomainBinding * This,
  229. /* [in] */ IUnknown *pAppdomain);
  230. END_INTERFACE
  231. } IAppDomainBindingVtbl;
  232. interface IAppDomainBinding
  233. {
  234. CONST_VTBL struct IAppDomainBindingVtbl *lpVtbl;
  235. };
  236. #ifdef COBJMACROS
  237. #define IAppDomainBinding_QueryInterface(This,riid,ppvObject) \
  238. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  239. #define IAppDomainBinding_AddRef(This) \
  240. (This)->lpVtbl -> AddRef(This)
  241. #define IAppDomainBinding_Release(This) \
  242. (This)->lpVtbl -> Release(This)
  243. #define IAppDomainBinding_OnAppDomain(This,pAppdomain) \
  244. (This)->lpVtbl -> OnAppDomain(This,pAppdomain)
  245. #endif /* COBJMACROS */
  246. #endif /* C style interface */
  247. HRESULT STDMETHODCALLTYPE IAppDomainBinding_OnAppDomain_Proxy(
  248. IAppDomainBinding * This,
  249. /* [in] */ IUnknown *pAppdomain);
  250. void __RPC_STUB IAppDomainBinding_OnAppDomain_Stub(
  251. IRpcStubBuffer *This,
  252. IRpcChannelBuffer *_pRpcChannelBuffer,
  253. PRPC_MESSAGE _pRpcMessage,
  254. DWORD *_pdwStubPhase);
  255. #endif /* __IAppDomainBinding_INTERFACE_DEFINED__ */
  256. #ifndef __IGCThreadControl_INTERFACE_DEFINED__
  257. #define __IGCThreadControl_INTERFACE_DEFINED__
  258. /* interface IGCThreadControl */
  259. /* [object][local][unique][helpstring][version][uuid] */
  260. EXTERN_C const IID IID_IGCThreadControl;
  261. #if defined(__cplusplus) && !defined(CINTERFACE)
  262. MIDL_INTERFACE("F31D1788-C397-4725-87A5-6AF3472C2791")
  263. IGCThreadControl : public IUnknown
  264. {
  265. public:
  266. virtual HRESULT STDMETHODCALLTYPE ThreadIsBlockingForSuspension( void) = 0;
  267. virtual HRESULT STDMETHODCALLTYPE SuspensionStarting( void) = 0;
  268. virtual HRESULT STDMETHODCALLTYPE SuspensionEnding(
  269. DWORD Generation) = 0;
  270. };
  271. #else /* C style interface */
  272. typedef struct IGCThreadControlVtbl
  273. {
  274. BEGIN_INTERFACE
  275. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  276. IGCThreadControl * This,
  277. /* [in] */ REFIID riid,
  278. /* [iid_is][out] */ void **ppvObject);
  279. ULONG ( STDMETHODCALLTYPE *AddRef )(
  280. IGCThreadControl * This);
  281. ULONG ( STDMETHODCALLTYPE *Release )(
  282. IGCThreadControl * This);
  283. HRESULT ( STDMETHODCALLTYPE *ThreadIsBlockingForSuspension )(
  284. IGCThreadControl * This);
  285. HRESULT ( STDMETHODCALLTYPE *SuspensionStarting )(
  286. IGCThreadControl * This);
  287. HRESULT ( STDMETHODCALLTYPE *SuspensionEnding )(
  288. IGCThreadControl * This,
  289. DWORD Generation);
  290. END_INTERFACE
  291. } IGCThreadControlVtbl;
  292. interface IGCThreadControl
  293. {
  294. CONST_VTBL struct IGCThreadControlVtbl *lpVtbl;
  295. };
  296. #ifdef COBJMACROS
  297. #define IGCThreadControl_QueryInterface(This,riid,ppvObject) \
  298. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  299. #define IGCThreadControl_AddRef(This) \
  300. (This)->lpVtbl -> AddRef(This)
  301. #define IGCThreadControl_Release(This) \
  302. (This)->lpVtbl -> Release(This)
  303. #define IGCThreadControl_ThreadIsBlockingForSuspension(This) \
  304. (This)->lpVtbl -> ThreadIsBlockingForSuspension(This)
  305. #define IGCThreadControl_SuspensionStarting(This) \
  306. (This)->lpVtbl -> SuspensionStarting(This)
  307. #define IGCThreadControl_SuspensionEnding(This,Generation) \
  308. (This)->lpVtbl -> SuspensionEnding(This,Generation)
  309. #endif /* COBJMACROS */
  310. #endif /* C style interface */
  311. HRESULT STDMETHODCALLTYPE IGCThreadControl_ThreadIsBlockingForSuspension_Proxy(
  312. IGCThreadControl * This);
  313. void __RPC_STUB IGCThreadControl_ThreadIsBlockingForSuspension_Stub(
  314. IRpcStubBuffer *This,
  315. IRpcChannelBuffer *_pRpcChannelBuffer,
  316. PRPC_MESSAGE _pRpcMessage,
  317. DWORD *_pdwStubPhase);
  318. HRESULT STDMETHODCALLTYPE IGCThreadControl_SuspensionStarting_Proxy(
  319. IGCThreadControl * This);
  320. void __RPC_STUB IGCThreadControl_SuspensionStarting_Stub(
  321. IRpcStubBuffer *This,
  322. IRpcChannelBuffer *_pRpcChannelBuffer,
  323. PRPC_MESSAGE _pRpcMessage,
  324. DWORD *_pdwStubPhase);
  325. HRESULT STDMETHODCALLTYPE IGCThreadControl_SuspensionEnding_Proxy(
  326. IGCThreadControl * This,
  327. DWORD Generation);
  328. void __RPC_STUB IGCThreadControl_SuspensionEnding_Stub(
  329. IRpcStubBuffer *This,
  330. IRpcChannelBuffer *_pRpcChannelBuffer,
  331. PRPC_MESSAGE _pRpcMessage,
  332. DWORD *_pdwStubPhase);
  333. #endif /* __IGCThreadControl_INTERFACE_DEFINED__ */
  334. #ifndef __IGCHostControl_INTERFACE_DEFINED__
  335. #define __IGCHostControl_INTERFACE_DEFINED__
  336. /* interface IGCHostControl */
  337. /* [object][local][unique][helpstring][version][uuid] */
  338. EXTERN_C const IID IID_IGCHostControl;
  339. #if defined(__cplusplus) && !defined(CINTERFACE)
  340. MIDL_INTERFACE("5513D564-8374-4cb9-AED9-0083F4160A1D")
  341. IGCHostControl : public IUnknown
  342. {
  343. public:
  344. virtual HRESULT STDMETHODCALLTYPE RequestVirtualMemLimit(
  345. /* [in] */ SIZE_T sztMaxVirtualMemMB,
  346. /* [out][in] */ SIZE_T *psztNewMaxVirtualMemMB) = 0;
  347. };
  348. #else /* C style interface */
  349. typedef struct IGCHostControlVtbl
  350. {
  351. BEGIN_INTERFACE
  352. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  353. IGCHostControl * This,
  354. /* [in] */ REFIID riid,
  355. /* [iid_is][out] */ void **ppvObject);
  356. ULONG ( STDMETHODCALLTYPE *AddRef )(
  357. IGCHostControl * This);
  358. ULONG ( STDMETHODCALLTYPE *Release )(
  359. IGCHostControl * This);
  360. HRESULT ( STDMETHODCALLTYPE *RequestVirtualMemLimit )(
  361. IGCHostControl * This,
  362. /* [in] */ SIZE_T sztMaxVirtualMemMB,
  363. /* [out][in] */ SIZE_T *psztNewMaxVirtualMemMB);
  364. END_INTERFACE
  365. } IGCHostControlVtbl;
  366. interface IGCHostControl
  367. {
  368. CONST_VTBL struct IGCHostControlVtbl *lpVtbl;
  369. };
  370. #ifdef COBJMACROS
  371. #define IGCHostControl_QueryInterface(This,riid,ppvObject) \
  372. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  373. #define IGCHostControl_AddRef(This) \
  374. (This)->lpVtbl -> AddRef(This)
  375. #define IGCHostControl_Release(This) \
  376. (This)->lpVtbl -> Release(This)
  377. #define IGCHostControl_RequestVirtualMemLimit(This,sztMaxVirtualMemMB,psztNewMaxVirtualMemMB) \
  378. (This)->lpVtbl -> RequestVirtualMemLimit(This,sztMaxVirtualMemMB,psztNewMaxVirtualMemMB)
  379. #endif /* COBJMACROS */
  380. #endif /* C style interface */
  381. HRESULT STDMETHODCALLTYPE IGCHostControl_RequestVirtualMemLimit_Proxy(
  382. IGCHostControl * This,
  383. /* [in] */ SIZE_T sztMaxVirtualMemMB,
  384. /* [out][in] */ SIZE_T *psztNewMaxVirtualMemMB);
  385. void __RPC_STUB IGCHostControl_RequestVirtualMemLimit_Stub(
  386. IRpcStubBuffer *This,
  387. IRpcChannelBuffer *_pRpcChannelBuffer,
  388. PRPC_MESSAGE _pRpcMessage,
  389. DWORD *_pdwStubPhase);
  390. #endif /* __IGCHostControl_INTERFACE_DEFINED__ */
  391. /* interface __MIDL_itf_mscoree_0122 */
  392. /* [local] */
  393. #if (_MSC_VER < 1300 || _WIN32_WINNT < 0x0500)
  394. typedef VOID ( __stdcall *WAITORTIMERCALLBACK )(
  395. PVOID __MIDL_0010,
  396. BOOL __MIDL_0011);
  397. #endif // (_MSC_VER < 1300 || _WIN32_WINNT < 0x0500)
  398. #ifdef __midl
  399. typedef DWORD ( __stdcall *LPTHREAD_START_ROUTINE )(
  400. LPVOID lpThreadParameter);
  401. typedef VOID ( *LPOVERLAPPED_COMPLETION_ROUTINE )(
  402. DWORD dwErrorCode,
  403. DWORD dwNumberOfBytesTransfered,
  404. LPVOID lpOverlapped);
  405. #endif // __midl
  406. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0122_v0_0_c_ifspec;
  407. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0122_v0_0_s_ifspec;
  408. #ifndef __ICorThreadpool_INTERFACE_DEFINED__
  409. #define __ICorThreadpool_INTERFACE_DEFINED__
  410. /* interface ICorThreadpool */
  411. /* [object][local][unique][helpstring][version][uuid] */
  412. EXTERN_C const IID IID_ICorThreadpool;
  413. #if defined(__cplusplus) && !defined(CINTERFACE)
  414. MIDL_INTERFACE("84680D3A-B2C1-46e8-ACC2-DBC0A359159A")
  415. ICorThreadpool : public IUnknown
  416. {
  417. public:
  418. virtual HRESULT STDMETHODCALLTYPE CorRegisterWaitForSingleObject(
  419. /* [in] */ HANDLE *phNewWaitObject,
  420. /* [in] */ HANDLE hWaitObject,
  421. /* [in] */ WAITORTIMERCALLBACK Callback,
  422. /* [in] */ PVOID Context,
  423. /* [in] */ ULONG timeout,
  424. /* [in] */ BOOL executeOnlyOnce,
  425. /* [out] */ BOOL *result) = 0;
  426. virtual HRESULT STDMETHODCALLTYPE CorUnregisterWait(
  427. /* [in] */ HANDLE hWaitObject,
  428. /* [in] */ HANDLE CompletionEvent,
  429. /* [out] */ BOOL *result) = 0;
  430. virtual HRESULT STDMETHODCALLTYPE CorQueueUserWorkItem(
  431. /* [in] */ LPTHREAD_START_ROUTINE Function,
  432. /* [in] */ PVOID Context,
  433. /* [in] */ BOOL executeOnlyOnce,
  434. /* [out] */ BOOL *result) = 0;
  435. virtual HRESULT STDMETHODCALLTYPE CorCreateTimer(
  436. /* [in] */ HANDLE *phNewTimer,
  437. /* [in] */ WAITORTIMERCALLBACK Callback,
  438. /* [in] */ PVOID Parameter,
  439. /* [in] */ DWORD DueTime,
  440. /* [in] */ DWORD Period,
  441. /* [out] */ BOOL *result) = 0;
  442. virtual HRESULT STDMETHODCALLTYPE CorChangeTimer(
  443. /* [in] */ HANDLE Timer,
  444. /* [in] */ ULONG DueTime,
  445. /* [in] */ ULONG Period,
  446. /* [out] */ BOOL *result) = 0;
  447. virtual HRESULT STDMETHODCALLTYPE CorDeleteTimer(
  448. /* [in] */ HANDLE Timer,
  449. /* [in] */ HANDLE CompletionEvent,
  450. /* [out] */ BOOL *result) = 0;
  451. virtual HRESULT STDMETHODCALLTYPE CorBindIoCompletionCallback(
  452. /* [in] */ HANDLE fileHandle,
  453. /* [in] */ LPOVERLAPPED_COMPLETION_ROUTINE callback) = 0;
  454. virtual HRESULT STDMETHODCALLTYPE CorCallOrQueueUserWorkItem(
  455. /* [in] */ LPTHREAD_START_ROUTINE Function,
  456. /* [in] */ PVOID Context,
  457. /* [out] */ BOOL *result) = 0;
  458. virtual HRESULT STDMETHODCALLTYPE CorSetMaxThreads(
  459. /* [in] */ DWORD MaxWorkerThreads,
  460. /* [in] */ DWORD MaxIOCompletionThreads) = 0;
  461. virtual HRESULT STDMETHODCALLTYPE CorGetMaxThreads(
  462. /* [out] */ DWORD *MaxWorkerThreads,
  463. /* [out] */ DWORD *MaxIOCompletionThreads) = 0;
  464. virtual HRESULT STDMETHODCALLTYPE CorGetAvailableThreads(
  465. /* [out] */ DWORD *AvailableWorkerThreads,
  466. /* [out] */ DWORD *AvailableIOCompletionThreads) = 0;
  467. };
  468. #else /* C style interface */
  469. typedef struct ICorThreadpoolVtbl
  470. {
  471. BEGIN_INTERFACE
  472. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  473. ICorThreadpool * This,
  474. /* [in] */ REFIID riid,
  475. /* [iid_is][out] */ void **ppvObject);
  476. ULONG ( STDMETHODCALLTYPE *AddRef )(
  477. ICorThreadpool * This);
  478. ULONG ( STDMETHODCALLTYPE *Release )(
  479. ICorThreadpool * This);
  480. HRESULT ( STDMETHODCALLTYPE *CorRegisterWaitForSingleObject )(
  481. ICorThreadpool * This,
  482. /* [in] */ HANDLE *phNewWaitObject,
  483. /* [in] */ HANDLE hWaitObject,
  484. /* [in] */ WAITORTIMERCALLBACK Callback,
  485. /* [in] */ PVOID Context,
  486. /* [in] */ ULONG timeout,
  487. /* [in] */ BOOL executeOnlyOnce,
  488. /* [out] */ BOOL *result);
  489. HRESULT ( STDMETHODCALLTYPE *CorUnregisterWait )(
  490. ICorThreadpool * This,
  491. /* [in] */ HANDLE hWaitObject,
  492. /* [in] */ HANDLE CompletionEvent,
  493. /* [out] */ BOOL *result);
  494. HRESULT ( STDMETHODCALLTYPE *CorQueueUserWorkItem )(
  495. ICorThreadpool * This,
  496. /* [in] */ LPTHREAD_START_ROUTINE Function,
  497. /* [in] */ PVOID Context,
  498. /* [in] */ BOOL executeOnlyOnce,
  499. /* [out] */ BOOL *result);
  500. HRESULT ( STDMETHODCALLTYPE *CorCreateTimer )(
  501. ICorThreadpool * This,
  502. /* [in] */ HANDLE *phNewTimer,
  503. /* [in] */ WAITORTIMERCALLBACK Callback,
  504. /* [in] */ PVOID Parameter,
  505. /* [in] */ DWORD DueTime,
  506. /* [in] */ DWORD Period,
  507. /* [out] */ BOOL *result);
  508. HRESULT ( STDMETHODCALLTYPE *CorChangeTimer )(
  509. ICorThreadpool * This,
  510. /* [in] */ HANDLE Timer,
  511. /* [in] */ ULONG DueTime,
  512. /* [in] */ ULONG Period,
  513. /* [out] */ BOOL *result);
  514. HRESULT ( STDMETHODCALLTYPE *CorDeleteTimer )(
  515. ICorThreadpool * This,
  516. /* [in] */ HANDLE Timer,
  517. /* [in] */ HANDLE CompletionEvent,
  518. /* [out] */ BOOL *result);
  519. HRESULT ( STDMETHODCALLTYPE *CorBindIoCompletionCallback )(
  520. ICorThreadpool * This,
  521. /* [in] */ HANDLE fileHandle,
  522. /* [in] */ LPOVERLAPPED_COMPLETION_ROUTINE callback);
  523. HRESULT ( STDMETHODCALLTYPE *CorCallOrQueueUserWorkItem )(
  524. ICorThreadpool * This,
  525. /* [in] */ LPTHREAD_START_ROUTINE Function,
  526. /* [in] */ PVOID Context,
  527. /* [out] */ BOOL *result);
  528. HRESULT ( STDMETHODCALLTYPE *CorSetMaxThreads )(
  529. ICorThreadpool * This,
  530. /* [in] */ DWORD MaxWorkerThreads,
  531. /* [in] */ DWORD MaxIOCompletionThreads);
  532. HRESULT ( STDMETHODCALLTYPE *CorGetMaxThreads )(
  533. ICorThreadpool * This,
  534. /* [out] */ DWORD *MaxWorkerThreads,
  535. /* [out] */ DWORD *MaxIOCompletionThreads);
  536. HRESULT ( STDMETHODCALLTYPE *CorGetAvailableThreads )(
  537. ICorThreadpool * This,
  538. /* [out] */ DWORD *AvailableWorkerThreads,
  539. /* [out] */ DWORD *AvailableIOCompletionThreads);
  540. END_INTERFACE
  541. } ICorThreadpoolVtbl;
  542. interface ICorThreadpool
  543. {
  544. CONST_VTBL struct ICorThreadpoolVtbl *lpVtbl;
  545. };
  546. #ifdef COBJMACROS
  547. #define ICorThreadpool_QueryInterface(This,riid,ppvObject) \
  548. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  549. #define ICorThreadpool_AddRef(This) \
  550. (This)->lpVtbl -> AddRef(This)
  551. #define ICorThreadpool_Release(This) \
  552. (This)->lpVtbl -> Release(This)
  553. #define ICorThreadpool_CorRegisterWaitForSingleObject(This,phNewWaitObject,hWaitObject,Callback,Context,timeout,executeOnlyOnce,result) \
  554. (This)->lpVtbl -> CorRegisterWaitForSingleObject(This,phNewWaitObject,hWaitObject,Callback,Context,timeout,executeOnlyOnce,result)
  555. #define ICorThreadpool_CorUnregisterWait(This,hWaitObject,CompletionEvent,result) \
  556. (This)->lpVtbl -> CorUnregisterWait(This,hWaitObject,CompletionEvent,result)
  557. #define ICorThreadpool_CorQueueUserWorkItem(This,Function,Context,executeOnlyOnce,result) \
  558. (This)->lpVtbl -> CorQueueUserWorkItem(This,Function,Context,executeOnlyOnce,result)
  559. #define ICorThreadpool_CorCreateTimer(This,phNewTimer,Callback,Parameter,DueTime,Period,result) \
  560. (This)->lpVtbl -> CorCreateTimer(This,phNewTimer,Callback,Parameter,DueTime,Period,result)
  561. #define ICorThreadpool_CorChangeTimer(This,Timer,DueTime,Period,result) \
  562. (This)->lpVtbl -> CorChangeTimer(This,Timer,DueTime,Period,result)
  563. #define ICorThreadpool_CorDeleteTimer(This,Timer,CompletionEvent,result) \
  564. (This)->lpVtbl -> CorDeleteTimer(This,Timer,CompletionEvent,result)
  565. #define ICorThreadpool_CorBindIoCompletionCallback(This,fileHandle,callback) \
  566. (This)->lpVtbl -> CorBindIoCompletionCallback(This,fileHandle,callback)
  567. #define ICorThreadpool_CorCallOrQueueUserWorkItem(This,Function,Context,result) \
  568. (This)->lpVtbl -> CorCallOrQueueUserWorkItem(This,Function,Context,result)
  569. #define ICorThreadpool_CorSetMaxThreads(This,MaxWorkerThreads,MaxIOCompletionThreads) \
  570. (This)->lpVtbl -> CorSetMaxThreads(This,MaxWorkerThreads,MaxIOCompletionThreads)
  571. #define ICorThreadpool_CorGetMaxThreads(This,MaxWorkerThreads,MaxIOCompletionThreads) \
  572. (This)->lpVtbl -> CorGetMaxThreads(This,MaxWorkerThreads,MaxIOCompletionThreads)
  573. #define ICorThreadpool_CorGetAvailableThreads(This,AvailableWorkerThreads,AvailableIOCompletionThreads) \
  574. (This)->lpVtbl -> CorGetAvailableThreads(This,AvailableWorkerThreads,AvailableIOCompletionThreads)
  575. #endif /* COBJMACROS */
  576. #endif /* C style interface */
  577. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorRegisterWaitForSingleObject_Proxy(
  578. ICorThreadpool * This,
  579. /* [in] */ HANDLE *phNewWaitObject,
  580. /* [in] */ HANDLE hWaitObject,
  581. /* [in] */ WAITORTIMERCALLBACK Callback,
  582. /* [in] */ PVOID Context,
  583. /* [in] */ ULONG timeout,
  584. /* [in] */ BOOL executeOnlyOnce,
  585. /* [out] */ BOOL *result);
  586. void __RPC_STUB ICorThreadpool_CorRegisterWaitForSingleObject_Stub(
  587. IRpcStubBuffer *This,
  588. IRpcChannelBuffer *_pRpcChannelBuffer,
  589. PRPC_MESSAGE _pRpcMessage,
  590. DWORD *_pdwStubPhase);
  591. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorUnregisterWait_Proxy(
  592. ICorThreadpool * This,
  593. /* [in] */ HANDLE hWaitObject,
  594. /* [in] */ HANDLE CompletionEvent,
  595. /* [out] */ BOOL *result);
  596. void __RPC_STUB ICorThreadpool_CorUnregisterWait_Stub(
  597. IRpcStubBuffer *This,
  598. IRpcChannelBuffer *_pRpcChannelBuffer,
  599. PRPC_MESSAGE _pRpcMessage,
  600. DWORD *_pdwStubPhase);
  601. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorQueueUserWorkItem_Proxy(
  602. ICorThreadpool * This,
  603. /* [in] */ LPTHREAD_START_ROUTINE Function,
  604. /* [in] */ PVOID Context,
  605. /* [in] */ BOOL executeOnlyOnce,
  606. /* [out] */ BOOL *result);
  607. void __RPC_STUB ICorThreadpool_CorQueueUserWorkItem_Stub(
  608. IRpcStubBuffer *This,
  609. IRpcChannelBuffer *_pRpcChannelBuffer,
  610. PRPC_MESSAGE _pRpcMessage,
  611. DWORD *_pdwStubPhase);
  612. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorCreateTimer_Proxy(
  613. ICorThreadpool * This,
  614. /* [in] */ HANDLE *phNewTimer,
  615. /* [in] */ WAITORTIMERCALLBACK Callback,
  616. /* [in] */ PVOID Parameter,
  617. /* [in] */ DWORD DueTime,
  618. /* [in] */ DWORD Period,
  619. /* [out] */ BOOL *result);
  620. void __RPC_STUB ICorThreadpool_CorCreateTimer_Stub(
  621. IRpcStubBuffer *This,
  622. IRpcChannelBuffer *_pRpcChannelBuffer,
  623. PRPC_MESSAGE _pRpcMessage,
  624. DWORD *_pdwStubPhase);
  625. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorChangeTimer_Proxy(
  626. ICorThreadpool * This,
  627. /* [in] */ HANDLE Timer,
  628. /* [in] */ ULONG DueTime,
  629. /* [in] */ ULONG Period,
  630. /* [out] */ BOOL *result);
  631. void __RPC_STUB ICorThreadpool_CorChangeTimer_Stub(
  632. IRpcStubBuffer *This,
  633. IRpcChannelBuffer *_pRpcChannelBuffer,
  634. PRPC_MESSAGE _pRpcMessage,
  635. DWORD *_pdwStubPhase);
  636. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorDeleteTimer_Proxy(
  637. ICorThreadpool * This,
  638. /* [in] */ HANDLE Timer,
  639. /* [in] */ HANDLE CompletionEvent,
  640. /* [out] */ BOOL *result);
  641. void __RPC_STUB ICorThreadpool_CorDeleteTimer_Stub(
  642. IRpcStubBuffer *This,
  643. IRpcChannelBuffer *_pRpcChannelBuffer,
  644. PRPC_MESSAGE _pRpcMessage,
  645. DWORD *_pdwStubPhase);
  646. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorBindIoCompletionCallback_Proxy(
  647. ICorThreadpool * This,
  648. /* [in] */ HANDLE fileHandle,
  649. /* [in] */ LPOVERLAPPED_COMPLETION_ROUTINE callback);
  650. void __RPC_STUB ICorThreadpool_CorBindIoCompletionCallback_Stub(
  651. IRpcStubBuffer *This,
  652. IRpcChannelBuffer *_pRpcChannelBuffer,
  653. PRPC_MESSAGE _pRpcMessage,
  654. DWORD *_pdwStubPhase);
  655. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorCallOrQueueUserWorkItem_Proxy(
  656. ICorThreadpool * This,
  657. /* [in] */ LPTHREAD_START_ROUTINE Function,
  658. /* [in] */ PVOID Context,
  659. /* [out] */ BOOL *result);
  660. void __RPC_STUB ICorThreadpool_CorCallOrQueueUserWorkItem_Stub(
  661. IRpcStubBuffer *This,
  662. IRpcChannelBuffer *_pRpcChannelBuffer,
  663. PRPC_MESSAGE _pRpcMessage,
  664. DWORD *_pdwStubPhase);
  665. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorSetMaxThreads_Proxy(
  666. ICorThreadpool * This,
  667. /* [in] */ DWORD MaxWorkerThreads,
  668. /* [in] */ DWORD MaxIOCompletionThreads);
  669. void __RPC_STUB ICorThreadpool_CorSetMaxThreads_Stub(
  670. IRpcStubBuffer *This,
  671. IRpcChannelBuffer *_pRpcChannelBuffer,
  672. PRPC_MESSAGE _pRpcMessage,
  673. DWORD *_pdwStubPhase);
  674. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorGetMaxThreads_Proxy(
  675. ICorThreadpool * This,
  676. /* [out] */ DWORD *MaxWorkerThreads,
  677. /* [out] */ DWORD *MaxIOCompletionThreads);
  678. void __RPC_STUB ICorThreadpool_CorGetMaxThreads_Stub(
  679. IRpcStubBuffer *This,
  680. IRpcChannelBuffer *_pRpcChannelBuffer,
  681. PRPC_MESSAGE _pRpcMessage,
  682. DWORD *_pdwStubPhase);
  683. HRESULT STDMETHODCALLTYPE ICorThreadpool_CorGetAvailableThreads_Proxy(
  684. ICorThreadpool * This,
  685. /* [out] */ DWORD *AvailableWorkerThreads,
  686. /* [out] */ DWORD *AvailableIOCompletionThreads);
  687. void __RPC_STUB ICorThreadpool_CorGetAvailableThreads_Stub(
  688. IRpcStubBuffer *This,
  689. IRpcChannelBuffer *_pRpcChannelBuffer,
  690. PRPC_MESSAGE _pRpcMessage,
  691. DWORD *_pdwStubPhase);
  692. #endif /* __ICorThreadpool_INTERFACE_DEFINED__ */
  693. /* interface __MIDL_itf_mscoree_0123 */
  694. /* [local] */
  695. extern const GUID __declspec(selectany) IID_IDebuggerThreadControl = { 0x23d86786, 0x0bb5, 0x4774, { 0x8f, 0xb5, 0xe3, 0x52, 0x2a, 0xdd, 0x62, 0x46 } };
  696. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0123_v0_0_c_ifspec;
  697. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0123_v0_0_s_ifspec;
  698. #ifndef __IDebuggerThreadControl_INTERFACE_DEFINED__
  699. #define __IDebuggerThreadControl_INTERFACE_DEFINED__
  700. /* interface IDebuggerThreadControl */
  701. /* [object][local][unique][helpstring][version][uuid] */
  702. EXTERN_C const IID IID_IDebuggerThreadControl;
  703. #if defined(__cplusplus) && !defined(CINTERFACE)
  704. MIDL_INTERFACE("23D86786-0BB5-4774-8FB5-E3522ADD6246")
  705. IDebuggerThreadControl : public IUnknown
  706. {
  707. public:
  708. virtual HRESULT STDMETHODCALLTYPE ThreadIsBlockingForDebugger( void) = 0;
  709. virtual HRESULT STDMETHODCALLTYPE ReleaseAllRuntimeThreads( void) = 0;
  710. virtual HRESULT STDMETHODCALLTYPE StartBlockingForDebugger(
  711. DWORD dwUnused) = 0;
  712. };
  713. #else /* C style interface */
  714. typedef struct IDebuggerThreadControlVtbl
  715. {
  716. BEGIN_INTERFACE
  717. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  718. IDebuggerThreadControl * This,
  719. /* [in] */ REFIID riid,
  720. /* [iid_is][out] */ void **ppvObject);
  721. ULONG ( STDMETHODCALLTYPE *AddRef )(
  722. IDebuggerThreadControl * This);
  723. ULONG ( STDMETHODCALLTYPE *Release )(
  724. IDebuggerThreadControl * This);
  725. HRESULT ( STDMETHODCALLTYPE *ThreadIsBlockingForDebugger )(
  726. IDebuggerThreadControl * This);
  727. HRESULT ( STDMETHODCALLTYPE *ReleaseAllRuntimeThreads )(
  728. IDebuggerThreadControl * This);
  729. HRESULT ( STDMETHODCALLTYPE *StartBlockingForDebugger )(
  730. IDebuggerThreadControl * This,
  731. DWORD dwUnused);
  732. END_INTERFACE
  733. } IDebuggerThreadControlVtbl;
  734. interface IDebuggerThreadControl
  735. {
  736. CONST_VTBL struct IDebuggerThreadControlVtbl *lpVtbl;
  737. };
  738. #ifdef COBJMACROS
  739. #define IDebuggerThreadControl_QueryInterface(This,riid,ppvObject) \
  740. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  741. #define IDebuggerThreadControl_AddRef(This) \
  742. (This)->lpVtbl -> AddRef(This)
  743. #define IDebuggerThreadControl_Release(This) \
  744. (This)->lpVtbl -> Release(This)
  745. #define IDebuggerThreadControl_ThreadIsBlockingForDebugger(This) \
  746. (This)->lpVtbl -> ThreadIsBlockingForDebugger(This)
  747. #define IDebuggerThreadControl_ReleaseAllRuntimeThreads(This) \
  748. (This)->lpVtbl -> ReleaseAllRuntimeThreads(This)
  749. #define IDebuggerThreadControl_StartBlockingForDebugger(This,dwUnused) \
  750. (This)->lpVtbl -> StartBlockingForDebugger(This,dwUnused)
  751. #endif /* COBJMACROS */
  752. #endif /* C style interface */
  753. HRESULT STDMETHODCALLTYPE IDebuggerThreadControl_ThreadIsBlockingForDebugger_Proxy(
  754. IDebuggerThreadControl * This);
  755. void __RPC_STUB IDebuggerThreadControl_ThreadIsBlockingForDebugger_Stub(
  756. IRpcStubBuffer *This,
  757. IRpcChannelBuffer *_pRpcChannelBuffer,
  758. PRPC_MESSAGE _pRpcMessage,
  759. DWORD *_pdwStubPhase);
  760. HRESULT STDMETHODCALLTYPE IDebuggerThreadControl_ReleaseAllRuntimeThreads_Proxy(
  761. IDebuggerThreadControl * This);
  762. void __RPC_STUB IDebuggerThreadControl_ReleaseAllRuntimeThreads_Stub(
  763. IRpcStubBuffer *This,
  764. IRpcChannelBuffer *_pRpcChannelBuffer,
  765. PRPC_MESSAGE _pRpcMessage,
  766. DWORD *_pdwStubPhase);
  767. HRESULT STDMETHODCALLTYPE IDebuggerThreadControl_StartBlockingForDebugger_Proxy(
  768. IDebuggerThreadControl * This,
  769. DWORD dwUnused);
  770. void __RPC_STUB IDebuggerThreadControl_StartBlockingForDebugger_Stub(
  771. IRpcStubBuffer *This,
  772. IRpcChannelBuffer *_pRpcChannelBuffer,
  773. PRPC_MESSAGE _pRpcMessage,
  774. DWORD *_pdwStubPhase);
  775. #endif /* __IDebuggerThreadControl_INTERFACE_DEFINED__ */
  776. /* interface __MIDL_itf_mscoree_0124 */
  777. /* [local] */
  778. extern const GUID __declspec(selectany) IID_IDebuggerInfo = { 0xbf24142d, 0xa47d, 0x4d24, { 0xa6, 0x6d, 0x8c, 0x21, 0x41, 0x94, 0x4e, 0x44 }};
  779. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0124_v0_0_c_ifspec;
  780. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0124_v0_0_s_ifspec;
  781. #ifndef __IDebuggerInfo_INTERFACE_DEFINED__
  782. #define __IDebuggerInfo_INTERFACE_DEFINED__
  783. /* interface IDebuggerInfo */
  784. /* [object][local][unique][helpstring][version][uuid] */
  785. EXTERN_C const IID IID_IDebuggerInfo;
  786. #if defined(__cplusplus) && !defined(CINTERFACE)
  787. MIDL_INTERFACE("BF24142D-A47D-4d24-A66D-8C2141944E44")
  788. IDebuggerInfo : public IUnknown
  789. {
  790. public:
  791. virtual HRESULT STDMETHODCALLTYPE IsDebuggerAttached(
  792. /* [out] */ BOOL *pbAttached) = 0;
  793. };
  794. #else /* C style interface */
  795. typedef struct IDebuggerInfoVtbl
  796. {
  797. BEGIN_INTERFACE
  798. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  799. IDebuggerInfo * This,
  800. /* [in] */ REFIID riid,
  801. /* [iid_is][out] */ void **ppvObject);
  802. ULONG ( STDMETHODCALLTYPE *AddRef )(
  803. IDebuggerInfo * This);
  804. ULONG ( STDMETHODCALLTYPE *Release )(
  805. IDebuggerInfo * This);
  806. HRESULT ( STDMETHODCALLTYPE *IsDebuggerAttached )(
  807. IDebuggerInfo * This,
  808. /* [out] */ BOOL *pbAttached);
  809. END_INTERFACE
  810. } IDebuggerInfoVtbl;
  811. interface IDebuggerInfo
  812. {
  813. CONST_VTBL struct IDebuggerInfoVtbl *lpVtbl;
  814. };
  815. #ifdef COBJMACROS
  816. #define IDebuggerInfo_QueryInterface(This,riid,ppvObject) \
  817. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  818. #define IDebuggerInfo_AddRef(This) \
  819. (This)->lpVtbl -> AddRef(This)
  820. #define IDebuggerInfo_Release(This) \
  821. (This)->lpVtbl -> Release(This)
  822. #define IDebuggerInfo_IsDebuggerAttached(This,pbAttached) \
  823. (This)->lpVtbl -> IsDebuggerAttached(This,pbAttached)
  824. #endif /* COBJMACROS */
  825. #endif /* C style interface */
  826. HRESULT STDMETHODCALLTYPE IDebuggerInfo_IsDebuggerAttached_Proxy(
  827. IDebuggerInfo * This,
  828. /* [out] */ BOOL *pbAttached);
  829. void __RPC_STUB IDebuggerInfo_IsDebuggerAttached_Stub(
  830. IRpcStubBuffer *This,
  831. IRpcChannelBuffer *_pRpcChannelBuffer,
  832. PRPC_MESSAGE _pRpcMessage,
  833. DWORD *_pdwStubPhase);
  834. #endif /* __IDebuggerInfo_INTERFACE_DEFINED__ */
  835. /* interface __MIDL_itf_mscoree_0125 */
  836. /* [local] */
  837. extern const GUID __declspec(selectany) IID_ICorConfiguration = { 0x5c2b07a5, 0x1e98, 0x11d3, { 0x87, 0x2f, 0x00, 0xc0, 0x4f, 0x79, 0xed, 0x0d } };
  838. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0125_v0_0_c_ifspec;
  839. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0125_v0_0_s_ifspec;
  840. #ifndef __ICorConfiguration_INTERFACE_DEFINED__
  841. #define __ICorConfiguration_INTERFACE_DEFINED__
  842. /* interface ICorConfiguration */
  843. /* [object][local][unique][helpstring][version][uuid] */
  844. EXTERN_C const IID IID_ICorConfiguration;
  845. #if defined(__cplusplus) && !defined(CINTERFACE)
  846. MIDL_INTERFACE("5C2B07A5-1E98-11d3-872F-00C04F79ED0D")
  847. ICorConfiguration : public IUnknown
  848. {
  849. public:
  850. virtual HRESULT STDMETHODCALLTYPE SetGCThreadControl(
  851. /* [in] */ IGCThreadControl *pGCThreadControl) = 0;
  852. virtual HRESULT STDMETHODCALLTYPE SetGCHostControl(
  853. /* [in] */ IGCHostControl *pGCHostControl) = 0;
  854. virtual HRESULT STDMETHODCALLTYPE SetDebuggerThreadControl(
  855. /* [in] */ IDebuggerThreadControl *pDebuggerThreadControl) = 0;
  856. virtual HRESULT STDMETHODCALLTYPE AddDebuggerSpecialThread(
  857. /* [in] */ DWORD dwSpecialThreadId) = 0;
  858. };
  859. #else /* C style interface */
  860. typedef struct ICorConfigurationVtbl
  861. {
  862. BEGIN_INTERFACE
  863. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  864. ICorConfiguration * This,
  865. /* [in] */ REFIID riid,
  866. /* [iid_is][out] */ void **ppvObject);
  867. ULONG ( STDMETHODCALLTYPE *AddRef )(
  868. ICorConfiguration * This);
  869. ULONG ( STDMETHODCALLTYPE *Release )(
  870. ICorConfiguration * This);
  871. HRESULT ( STDMETHODCALLTYPE *SetGCThreadControl )(
  872. ICorConfiguration * This,
  873. /* [in] */ IGCThreadControl *pGCThreadControl);
  874. HRESULT ( STDMETHODCALLTYPE *SetGCHostControl )(
  875. ICorConfiguration * This,
  876. /* [in] */ IGCHostControl *pGCHostControl);
  877. HRESULT ( STDMETHODCALLTYPE *SetDebuggerThreadControl )(
  878. ICorConfiguration * This,
  879. /* [in] */ IDebuggerThreadControl *pDebuggerThreadControl);
  880. HRESULT ( STDMETHODCALLTYPE *AddDebuggerSpecialThread )(
  881. ICorConfiguration * This,
  882. /* [in] */ DWORD dwSpecialThreadId);
  883. END_INTERFACE
  884. } ICorConfigurationVtbl;
  885. interface ICorConfiguration
  886. {
  887. CONST_VTBL struct ICorConfigurationVtbl *lpVtbl;
  888. };
  889. #ifdef COBJMACROS
  890. #define ICorConfiguration_QueryInterface(This,riid,ppvObject) \
  891. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  892. #define ICorConfiguration_AddRef(This) \
  893. (This)->lpVtbl -> AddRef(This)
  894. #define ICorConfiguration_Release(This) \
  895. (This)->lpVtbl -> Release(This)
  896. #define ICorConfiguration_SetGCThreadControl(This,pGCThreadControl) \
  897. (This)->lpVtbl -> SetGCThreadControl(This,pGCThreadControl)
  898. #define ICorConfiguration_SetGCHostControl(This,pGCHostControl) \
  899. (This)->lpVtbl -> SetGCHostControl(This,pGCHostControl)
  900. #define ICorConfiguration_SetDebuggerThreadControl(This,pDebuggerThreadControl) \
  901. (This)->lpVtbl -> SetDebuggerThreadControl(This,pDebuggerThreadControl)
  902. #define ICorConfiguration_AddDebuggerSpecialThread(This,dwSpecialThreadId) \
  903. (This)->lpVtbl -> AddDebuggerSpecialThread(This,dwSpecialThreadId)
  904. #endif /* COBJMACROS */
  905. #endif /* C style interface */
  906. HRESULT STDMETHODCALLTYPE ICorConfiguration_SetGCThreadControl_Proxy(
  907. ICorConfiguration * This,
  908. /* [in] */ IGCThreadControl *pGCThreadControl);
  909. void __RPC_STUB ICorConfiguration_SetGCThreadControl_Stub(
  910. IRpcStubBuffer *This,
  911. IRpcChannelBuffer *_pRpcChannelBuffer,
  912. PRPC_MESSAGE _pRpcMessage,
  913. DWORD *_pdwStubPhase);
  914. HRESULT STDMETHODCALLTYPE ICorConfiguration_SetGCHostControl_Proxy(
  915. ICorConfiguration * This,
  916. /* [in] */ IGCHostControl *pGCHostControl);
  917. void __RPC_STUB ICorConfiguration_SetGCHostControl_Stub(
  918. IRpcStubBuffer *This,
  919. IRpcChannelBuffer *_pRpcChannelBuffer,
  920. PRPC_MESSAGE _pRpcMessage,
  921. DWORD *_pdwStubPhase);
  922. HRESULT STDMETHODCALLTYPE ICorConfiguration_SetDebuggerThreadControl_Proxy(
  923. ICorConfiguration * This,
  924. /* [in] */ IDebuggerThreadControl *pDebuggerThreadControl);
  925. void __RPC_STUB ICorConfiguration_SetDebuggerThreadControl_Stub(
  926. IRpcStubBuffer *This,
  927. IRpcChannelBuffer *_pRpcChannelBuffer,
  928. PRPC_MESSAGE _pRpcMessage,
  929. DWORD *_pdwStubPhase);
  930. HRESULT STDMETHODCALLTYPE ICorConfiguration_AddDebuggerSpecialThread_Proxy(
  931. ICorConfiguration * This,
  932. /* [in] */ DWORD dwSpecialThreadId);
  933. void __RPC_STUB ICorConfiguration_AddDebuggerSpecialThread_Stub(
  934. IRpcStubBuffer *This,
  935. IRpcChannelBuffer *_pRpcChannelBuffer,
  936. PRPC_MESSAGE _pRpcMessage,
  937. DWORD *_pdwStubPhase);
  938. #endif /* __ICorConfiguration_INTERFACE_DEFINED__ */
  939. /* interface __MIDL_itf_mscoree_0126 */
  940. /* [local] */
  941. typedef void *HDOMAINENUM;
  942. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0126_v0_0_c_ifspec;
  943. extern RPC_IF_HANDLE __MIDL_itf_mscoree_0126_v0_0_s_ifspec;
  944. #ifndef __ICorRuntimeHost_INTERFACE_DEFINED__
  945. #define __ICorRuntimeHost_INTERFACE_DEFINED__
  946. /* interface ICorRuntimeHost */
  947. /* [object][local][unique][helpstring][version][uuid] */
  948. EXTERN_C const IID IID_ICorRuntimeHost;
  949. #if defined(__cplusplus) && !defined(CINTERFACE)
  950. MIDL_INTERFACE("CB2F6722-AB3A-11d2-9C40-00C04FA30A3E")
  951. ICorRuntimeHost : public IUnknown
  952. {
  953. public:
  954. virtual HRESULT STDMETHODCALLTYPE CreateLogicalThreadState( void) = 0;
  955. virtual HRESULT STDMETHODCALLTYPE DeleteLogicalThreadState( void) = 0;
  956. virtual HRESULT STDMETHODCALLTYPE SwitchInLogicalThreadState(
  957. /* [in] */ DWORD *pFiberCookie) = 0;
  958. virtual HRESULT STDMETHODCALLTYPE SwitchOutLogicalThreadState(
  959. /* [out] */ DWORD **pFiberCookie) = 0;
  960. virtual HRESULT STDMETHODCALLTYPE LocksHeldByLogicalThread(
  961. /* [out] */ DWORD *pCount) = 0;
  962. virtual HRESULT STDMETHODCALLTYPE MapFile(
  963. /* [in] */ HANDLE hFile,
  964. /* [out] */ HMODULE *hMapAddress) = 0;
  965. virtual HRESULT STDMETHODCALLTYPE GetConfiguration(
  966. /* [out] */ ICorConfiguration **pConfiguration) = 0;
  967. virtual HRESULT STDMETHODCALLTYPE Start( void) = 0;
  968. virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
  969. virtual HRESULT STDMETHODCALLTYPE CreateDomain(
  970. /* [in] */ LPCWSTR pwzFriendlyName,
  971. /* [in] */ IUnknown *pIdentityArray,
  972. /* [out] */ IUnknown **pAppDomain) = 0;
  973. virtual HRESULT STDMETHODCALLTYPE GetDefaultDomain(
  974. /* [out] */ IUnknown **pAppDomain) = 0;
  975. virtual HRESULT STDMETHODCALLTYPE EnumDomains(
  976. /* [out] */ HDOMAINENUM *hEnum) = 0;
  977. virtual HRESULT STDMETHODCALLTYPE NextDomain(
  978. /* [in] */ HDOMAINENUM hEnum,
  979. /* [out] */ IUnknown **pAppDomain) = 0;
  980. virtual HRESULT STDMETHODCALLTYPE CloseEnum(
  981. /* [in] */ HDOMAINENUM hEnum) = 0;
  982. virtual HRESULT STDMETHODCALLTYPE CreateDomainEx(
  983. /* [in] */ LPCWSTR pwzFriendlyName,
  984. /* [in] */ IUnknown *pSetup,
  985. /* [in] */ IUnknown *pEvidence,
  986. /* [out] */ IUnknown **pAppDomain) = 0;
  987. virtual HRESULT STDMETHODCALLTYPE CreateDomainSetup(
  988. /* [out] */ IUnknown **pAppDomainSetup) = 0;
  989. virtual HRESULT STDMETHODCALLTYPE CreateEvidence(
  990. /* [out] */ IUnknown **pEvidence) = 0;
  991. virtual HRESULT STDMETHODCALLTYPE UnloadDomain(
  992. /* [in] */ IUnknown *pAppDomain) = 0;
  993. virtual HRESULT STDMETHODCALLTYPE CurrentDomain(
  994. /* [out] */ IUnknown **pAppDomain) = 0;
  995. };
  996. #else /* C style interface */
  997. typedef struct ICorRuntimeHostVtbl
  998. {
  999. BEGIN_INTERFACE
  1000. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1001. ICorRuntimeHost * This,
  1002. /* [in] */ REFIID riid,
  1003. /* [iid_is][out] */ void **ppvObject);
  1004. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1005. ICorRuntimeHost * This);
  1006. ULONG ( STDMETHODCALLTYPE *Release )(
  1007. ICorRuntimeHost * This);
  1008. HRESULT ( STDMETHODCALLTYPE *CreateLogicalThreadState )(
  1009. ICorRuntimeHost * This);
  1010. HRESULT ( STDMETHODCALLTYPE *DeleteLogicalThreadState )(
  1011. ICorRuntimeHost * This);
  1012. HRESULT ( STDMETHODCALLTYPE *SwitchInLogicalThreadState )(
  1013. ICorRuntimeHost * This,
  1014. /* [in] */ DWORD *pFiberCookie);
  1015. HRESULT ( STDMETHODCALLTYPE *SwitchOutLogicalThreadState )(
  1016. ICorRuntimeHost * This,
  1017. /* [out] */ DWORD **pFiberCookie);
  1018. HRESULT ( STDMETHODCALLTYPE *LocksHeldByLogicalThread )(
  1019. ICorRuntimeHost * This,
  1020. /* [out] */ DWORD *pCount);
  1021. HRESULT ( STDMETHODCALLTYPE *MapFile )(
  1022. ICorRuntimeHost * This,
  1023. /* [in] */ HANDLE hFile,
  1024. /* [out] */ HMODULE *hMapAddress);
  1025. HRESULT ( STDMETHODCALLTYPE *GetConfiguration )(
  1026. ICorRuntimeHost * This,
  1027. /* [out] */ ICorConfiguration **pConfiguration);
  1028. HRESULT ( STDMETHODCALLTYPE *Start )(
  1029. ICorRuntimeHost * This);
  1030. HRESULT ( STDMETHODCALLTYPE *Stop )(
  1031. ICorRuntimeHost * This);
  1032. HRESULT ( STDMETHODCALLTYPE *CreateDomain )(
  1033. ICorRuntimeHost * This,
  1034. /* [in] */ LPCWSTR pwzFriendlyName,
  1035. /* [in] */ IUnknown *pIdentityArray,
  1036. /* [out] */ IUnknown **pAppDomain);
  1037. HRESULT ( STDMETHODCALLTYPE *GetDefaultDomain )(
  1038. ICorRuntimeHost * This,
  1039. /* [out] */ IUnknown **pAppDomain);
  1040. HRESULT ( STDMETHODCALLTYPE *EnumDomains )(
  1041. ICorRuntimeHost * This,
  1042. /* [out] */ HDOMAINENUM *hEnum);
  1043. HRESULT ( STDMETHODCALLTYPE *NextDomain )(
  1044. ICorRuntimeHost * This,
  1045. /* [in] */ HDOMAINENUM hEnum,
  1046. /* [out] */ IUnknown **pAppDomain);
  1047. HRESULT ( STDMETHODCALLTYPE *CloseEnum )(
  1048. ICorRuntimeHost * This,
  1049. /* [in] */ HDOMAINENUM hEnum);
  1050. HRESULT ( STDMETHODCALLTYPE *CreateDomainEx )(
  1051. ICorRuntimeHost * This,
  1052. /* [in] */ LPCWSTR pwzFriendlyName,
  1053. /* [in] */ IUnknown *pSetup,
  1054. /* [in] */ IUnknown *pEvidence,
  1055. /* [out] */ IUnknown **pAppDomain);
  1056. HRESULT ( STDMETHODCALLTYPE *CreateDomainSetup )(
  1057. ICorRuntimeHost * This,
  1058. /* [out] */ IUnknown **pAppDomainSetup);
  1059. HRESULT ( STDMETHODCALLTYPE *CreateEvidence )(
  1060. ICorRuntimeHost * This,
  1061. /* [out] */ IUnknown **pEvidence);
  1062. HRESULT ( STDMETHODCALLTYPE *UnloadDomain )(
  1063. ICorRuntimeHost * This,
  1064. /* [in] */ IUnknown *pAppDomain);
  1065. HRESULT ( STDMETHODCALLTYPE *CurrentDomain )(
  1066. ICorRuntimeHost * This,
  1067. /* [out] */ IUnknown **pAppDomain);
  1068. END_INTERFACE
  1069. } ICorRuntimeHostVtbl;
  1070. interface ICorRuntimeHost
  1071. {
  1072. CONST_VTBL struct ICorRuntimeHostVtbl *lpVtbl;
  1073. };
  1074. #ifdef COBJMACROS
  1075. #define ICorRuntimeHost_QueryInterface(This,riid,ppvObject) \
  1076. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1077. #define ICorRuntimeHost_AddRef(This) \
  1078. (This)->lpVtbl -> AddRef(This)
  1079. #define ICorRuntimeHost_Release(This) \
  1080. (This)->lpVtbl -> Release(This)
  1081. #define ICorRuntimeHost_CreateLogicalThreadState(This) \
  1082. (This)->lpVtbl -> CreateLogicalThreadState(This)
  1083. #define ICorRuntimeHost_DeleteLogicalThreadState(This) \
  1084. (This)->lpVtbl -> DeleteLogicalThreadState(This)
  1085. #define ICorRuntimeHost_SwitchInLogicalThreadState(This,pFiberCookie) \
  1086. (This)->lpVtbl -> SwitchInLogicalThreadState(This,pFiberCookie)
  1087. #define ICorRuntimeHost_SwitchOutLogicalThreadState(This,pFiberCookie) \
  1088. (This)->lpVtbl -> SwitchOutLogicalThreadState(This,pFiberCookie)
  1089. #define ICorRuntimeHost_LocksHeldByLogicalThread(This,pCount) \
  1090. (This)->lpVtbl -> LocksHeldByLogicalThread(This,pCount)
  1091. #define ICorRuntimeHost_MapFile(This,hFile,hMapAddress) \
  1092. (This)->lpVtbl -> MapFile(This,hFile,hMapAddress)
  1093. #define ICorRuntimeHost_GetConfiguration(This,pConfiguration) \
  1094. (This)->lpVtbl -> GetConfiguration(This,pConfiguration)
  1095. #define ICorRuntimeHost_Start(This) \
  1096. (This)->lpVtbl -> Start(This)
  1097. #define ICorRuntimeHost_Stop(This) \
  1098. (This)->lpVtbl -> Stop(This)
  1099. #define ICorRuntimeHost_CreateDomain(This,pwzFriendlyName,pIdentityArray,pAppDomain) \
  1100. (This)->lpVtbl -> CreateDomain(This,pwzFriendlyName,pIdentityArray,pAppDomain)
  1101. #define ICorRuntimeHost_GetDefaultDomain(This,pAppDomain) \
  1102. (This)->lpVtbl -> GetDefaultDomain(This,pAppDomain)
  1103. #define ICorRuntimeHost_EnumDomains(This,hEnum) \
  1104. (This)->lpVtbl -> EnumDomains(This,hEnum)
  1105. #define ICorRuntimeHost_NextDomain(This,hEnum,pAppDomain) \
  1106. (This)->lpVtbl -> NextDomain(This,hEnum,pAppDomain)
  1107. #define ICorRuntimeHost_CloseEnum(This,hEnum) \
  1108. (This)->lpVtbl -> CloseEnum(This,hEnum)
  1109. #define ICorRuntimeHost_CreateDomainEx(This,pwzFriendlyName,pSetup,pEvidence,pAppDomain) \
  1110. (This)->lpVtbl -> CreateDomainEx(This,pwzFriendlyName,pSetup,pEvidence,pAppDomain)
  1111. #define ICorRuntimeHost_CreateDomainSetup(This,pAppDomainSetup) \
  1112. (This)->lpVtbl -> CreateDomainSetup(This,pAppDomainSetup)
  1113. #define ICorRuntimeHost_CreateEvidence(This,pEvidence) \
  1114. (This)->lpVtbl -> CreateEvidence(This,pEvidence)
  1115. #define ICorRuntimeHost_UnloadDomain(This,pAppDomain) \
  1116. (This)->lpVtbl -> UnloadDomain(This,pAppDomain)
  1117. #define ICorRuntimeHost_CurrentDomain(This,pAppDomain) \
  1118. (This)->lpVtbl -> CurrentDomain(This,pAppDomain)
  1119. #endif /* COBJMACROS */
  1120. #endif /* C style interface */
  1121. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_CreateLogicalThreadState_Proxy(
  1122. ICorRuntimeHost * This);
  1123. void __RPC_STUB ICorRuntimeHost_CreateLogicalThreadState_Stub(
  1124. IRpcStubBuffer *This,
  1125. IRpcChannelBuffer *_pRpcChannelBuffer,
  1126. PRPC_MESSAGE _pRpcMessage,
  1127. DWORD *_pdwStubPhase);
  1128. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_DeleteLogicalThreadState_Proxy(
  1129. ICorRuntimeHost * This);
  1130. void __RPC_STUB ICorRuntimeHost_DeleteLogicalThreadState_Stub(
  1131. IRpcStubBuffer *This,
  1132. IRpcChannelBuffer *_pRpcChannelBuffer,
  1133. PRPC_MESSAGE _pRpcMessage,
  1134. DWORD *_pdwStubPhase);
  1135. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_SwitchInLogicalThreadState_Proxy(
  1136. ICorRuntimeHost * This,
  1137. /* [in] */ DWORD *pFiberCookie);
  1138. void __RPC_STUB ICorRuntimeHost_SwitchInLogicalThreadState_Stub(
  1139. IRpcStubBuffer *This,
  1140. IRpcChannelBuffer *_pRpcChannelBuffer,
  1141. PRPC_MESSAGE _pRpcMessage,
  1142. DWORD *_pdwStubPhase);
  1143. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_SwitchOutLogicalThreadState_Proxy(
  1144. ICorRuntimeHost * This,
  1145. /* [out] */ DWORD **pFiberCookie);
  1146. void __RPC_STUB ICorRuntimeHost_SwitchOutLogicalThreadState_Stub(
  1147. IRpcStubBuffer *This,
  1148. IRpcChannelBuffer *_pRpcChannelBuffer,
  1149. PRPC_MESSAGE _pRpcMessage,
  1150. DWORD *_pdwStubPhase);
  1151. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_LocksHeldByLogicalThread_Proxy(
  1152. ICorRuntimeHost * This,
  1153. /* [out] */ DWORD *pCount);
  1154. void __RPC_STUB ICorRuntimeHost_LocksHeldByLogicalThread_Stub(
  1155. IRpcStubBuffer *This,
  1156. IRpcChannelBuffer *_pRpcChannelBuffer,
  1157. PRPC_MESSAGE _pRpcMessage,
  1158. DWORD *_pdwStubPhase);
  1159. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_MapFile_Proxy(
  1160. ICorRuntimeHost * This,
  1161. /* [in] */ HANDLE hFile,
  1162. /* [out] */ HMODULE *hMapAddress);
  1163. void __RPC_STUB ICorRuntimeHost_MapFile_Stub(
  1164. IRpcStubBuffer *This,
  1165. IRpcChannelBuffer *_pRpcChannelBuffer,
  1166. PRPC_MESSAGE _pRpcMessage,
  1167. DWORD *_pdwStubPhase);
  1168. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_GetConfiguration_Proxy(
  1169. ICorRuntimeHost * This,
  1170. /* [out] */ ICorConfiguration **pConfiguration);
  1171. void __RPC_STUB ICorRuntimeHost_GetConfiguration_Stub(
  1172. IRpcStubBuffer *This,
  1173. IRpcChannelBuffer *_pRpcChannelBuffer,
  1174. PRPC_MESSAGE _pRpcMessage,
  1175. DWORD *_pdwStubPhase);
  1176. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_Start_Proxy(
  1177. ICorRuntimeHost * This);
  1178. void __RPC_STUB ICorRuntimeHost_Start_Stub(
  1179. IRpcStubBuffer *This,
  1180. IRpcChannelBuffer *_pRpcChannelBuffer,
  1181. PRPC_MESSAGE _pRpcMessage,
  1182. DWORD *_pdwStubPhase);
  1183. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_Stop_Proxy(
  1184. ICorRuntimeHost * This);
  1185. void __RPC_STUB ICorRuntimeHost_Stop_Stub(
  1186. IRpcStubBuffer *This,
  1187. IRpcChannelBuffer *_pRpcChannelBuffer,
  1188. PRPC_MESSAGE _pRpcMessage,
  1189. DWORD *_pdwStubPhase);
  1190. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_CreateDomain_Proxy(
  1191. ICorRuntimeHost * This,
  1192. /* [in] */ LPCWSTR pwzFriendlyName,
  1193. /* [in] */ IUnknown *pIdentityArray,
  1194. /* [out] */ IUnknown **pAppDomain);
  1195. void __RPC_STUB ICorRuntimeHost_CreateDomain_Stub(
  1196. IRpcStubBuffer *This,
  1197. IRpcChannelBuffer *_pRpcChannelBuffer,
  1198. PRPC_MESSAGE _pRpcMessage,
  1199. DWORD *_pdwStubPhase);
  1200. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_GetDefaultDomain_Proxy(
  1201. ICorRuntimeHost * This,
  1202. /* [out] */ IUnknown **pAppDomain);
  1203. void __RPC_STUB ICorRuntimeHost_GetDefaultDomain_Stub(
  1204. IRpcStubBuffer *This,
  1205. IRpcChannelBuffer *_pRpcChannelBuffer,
  1206. PRPC_MESSAGE _pRpcMessage,
  1207. DWORD *_pdwStubPhase);
  1208. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_EnumDomains_Proxy(
  1209. ICorRuntimeHost * This,
  1210. /* [out] */ HDOMAINENUM *hEnum);
  1211. void __RPC_STUB ICorRuntimeHost_EnumDomains_Stub(
  1212. IRpcStubBuffer *This,
  1213. IRpcChannelBuffer *_pRpcChannelBuffer,
  1214. PRPC_MESSAGE _pRpcMessage,
  1215. DWORD *_pdwStubPhase);
  1216. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_NextDomain_Proxy(
  1217. ICorRuntimeHost * This,
  1218. /* [in] */ HDOMAINENUM hEnum,
  1219. /* [out] */ IUnknown **pAppDomain);
  1220. void __RPC_STUB ICorRuntimeHost_NextDomain_Stub(
  1221. IRpcStubBuffer *This,
  1222. IRpcChannelBuffer *_pRpcChannelBuffer,
  1223. PRPC_MESSAGE _pRpcMessage,
  1224. DWORD *_pdwStubPhase);
  1225. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_CloseEnum_Proxy(
  1226. ICorRuntimeHost * This,
  1227. /* [in] */ HDOMAINENUM hEnum);
  1228. void __RPC_STUB ICorRuntimeHost_CloseEnum_Stub(
  1229. IRpcStubBuffer *This,
  1230. IRpcChannelBuffer *_pRpcChannelBuffer,
  1231. PRPC_MESSAGE _pRpcMessage,
  1232. DWORD *_pdwStubPhase);
  1233. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_CreateDomainEx_Proxy(
  1234. ICorRuntimeHost * This,
  1235. /* [in] */ LPCWSTR pwzFriendlyName,
  1236. /* [in] */ IUnknown *pSetup,
  1237. /* [in] */ IUnknown *pEvidence,
  1238. /* [out] */ IUnknown **pAppDomain);
  1239. void __RPC_STUB ICorRuntimeHost_CreateDomainEx_Stub(
  1240. IRpcStubBuffer *This,
  1241. IRpcChannelBuffer *_pRpcChannelBuffer,
  1242. PRPC_MESSAGE _pRpcMessage,
  1243. DWORD *_pdwStubPhase);
  1244. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_CreateDomainSetup_Proxy(
  1245. ICorRuntimeHost * This,
  1246. /* [out] */ IUnknown **pAppDomainSetup);
  1247. void __RPC_STUB ICorRuntimeHost_CreateDomainSetup_Stub(
  1248. IRpcStubBuffer *This,
  1249. IRpcChannelBuffer *_pRpcChannelBuffer,
  1250. PRPC_MESSAGE _pRpcMessage,
  1251. DWORD *_pdwStubPhase);
  1252. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_CreateEvidence_Proxy(
  1253. ICorRuntimeHost * This,
  1254. /* [out] */ IUnknown **pEvidence);
  1255. void __RPC_STUB ICorRuntimeHost_CreateEvidence_Stub(
  1256. IRpcStubBuffer *This,
  1257. IRpcChannelBuffer *_pRpcChannelBuffer,
  1258. PRPC_MESSAGE _pRpcMessage,
  1259. DWORD *_pdwStubPhase);
  1260. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_UnloadDomain_Proxy(
  1261. ICorRuntimeHost * This,
  1262. /* [in] */ IUnknown *pAppDomain);
  1263. void __RPC_STUB ICorRuntimeHost_UnloadDomain_Stub(
  1264. IRpcStubBuffer *This,
  1265. IRpcChannelBuffer *_pRpcChannelBuffer,
  1266. PRPC_MESSAGE _pRpcMessage,
  1267. DWORD *_pdwStubPhase);
  1268. HRESULT STDMETHODCALLTYPE ICorRuntimeHost_CurrentDomain_Proxy(
  1269. ICorRuntimeHost * This,
  1270. /* [out] */ IUnknown **pAppDomain);
  1271. void __RPC_STUB ICorRuntimeHost_CurrentDomain_Stub(
  1272. IRpcStubBuffer *This,
  1273. IRpcChannelBuffer *_pRpcChannelBuffer,
  1274. PRPC_MESSAGE _pRpcMessage,
  1275. DWORD *_pdwStubPhase);
  1276. #endif /* __ICorRuntimeHost_INTERFACE_DEFINED__ */
  1277. #ifndef __mscoree_LIBRARY_DEFINED__
  1278. #define __mscoree_LIBRARY_DEFINED__
  1279. /* library mscoree */
  1280. /* [helpstring][version][uuid] */
  1281. EXTERN_C const IID LIBID_mscoree;
  1282. #ifndef __IApartmentCallback_INTERFACE_DEFINED__
  1283. #define __IApartmentCallback_INTERFACE_DEFINED__
  1284. /* interface IApartmentCallback */
  1285. /* [unique][helpstring][uuid][oleautomation][object] */
  1286. EXTERN_C const IID IID_IApartmentCallback;
  1287. #if defined(__cplusplus) && !defined(CINTERFACE)
  1288. MIDL_INTERFACE("178E5337-1528-4591-B1C9-1C6E484686D8")
  1289. IApartmentCallback : public IUnknown
  1290. {
  1291. public:
  1292. virtual HRESULT __stdcall DoCallback(
  1293. /* [in] */ SIZE_T pFunc,
  1294. /* [in] */ SIZE_T pData) = 0;
  1295. };
  1296. #else /* C style interface */
  1297. typedef struct IApartmentCallbackVtbl
  1298. {
  1299. BEGIN_INTERFACE
  1300. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1301. IApartmentCallback * This,
  1302. /* [in] */ REFIID riid,
  1303. /* [iid_is][out] */ void **ppvObject);
  1304. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1305. IApartmentCallback * This);
  1306. ULONG ( STDMETHODCALLTYPE *Release )(
  1307. IApartmentCallback * This);
  1308. HRESULT ( __stdcall *DoCallback )(
  1309. IApartmentCallback * This,
  1310. /* [in] */ SIZE_T pFunc,
  1311. /* [in] */ SIZE_T pData);
  1312. END_INTERFACE
  1313. } IApartmentCallbackVtbl;
  1314. interface IApartmentCallback
  1315. {
  1316. CONST_VTBL struct IApartmentCallbackVtbl *lpVtbl;
  1317. };
  1318. #ifdef COBJMACROS
  1319. #define IApartmentCallback_QueryInterface(This,riid,ppvObject) \
  1320. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1321. #define IApartmentCallback_AddRef(This) \
  1322. (This)->lpVtbl -> AddRef(This)
  1323. #define IApartmentCallback_Release(This) \
  1324. (This)->lpVtbl -> Release(This)
  1325. #define IApartmentCallback_DoCallback(This,pFunc,pData) \
  1326. (This)->lpVtbl -> DoCallback(This,pFunc,pData)
  1327. #endif /* COBJMACROS */
  1328. #endif /* C style interface */
  1329. HRESULT __stdcall IApartmentCallback_DoCallback_Proxy(
  1330. IApartmentCallback * This,
  1331. /* [in] */ SIZE_T pFunc,
  1332. /* [in] */ SIZE_T pData);
  1333. void __RPC_STUB IApartmentCallback_DoCallback_Stub(
  1334. IRpcStubBuffer *This,
  1335. IRpcChannelBuffer *_pRpcChannelBuffer,
  1336. PRPC_MESSAGE _pRpcMessage,
  1337. DWORD *_pdwStubPhase);
  1338. #endif /* __IApartmentCallback_INTERFACE_DEFINED__ */
  1339. #ifndef __IManagedObject_INTERFACE_DEFINED__
  1340. #define __IManagedObject_INTERFACE_DEFINED__
  1341. /* interface IManagedObject */
  1342. /* [unique][helpstring][uuid][oleautomation][object] */
  1343. EXTERN_C const IID IID_IManagedObject;
  1344. #if defined(__cplusplus) && !defined(CINTERFACE)
  1345. MIDL_INTERFACE("C3FCC19E-A970-11d2-8B5A-00A0C9B7C9C4")
  1346. IManagedObject : public IUnknown
  1347. {
  1348. public:
  1349. virtual HRESULT STDMETHODCALLTYPE GetSerializedBuffer(
  1350. /* [out] */ BSTR *pBSTR) = 0;
  1351. virtual HRESULT STDMETHODCALLTYPE GetObjectIdentity(
  1352. /* [out] */ BSTR *pBSTRGUID,
  1353. /* [out] */ int *AppDomainID,
  1354. /* [out] */ int *pCCW) = 0;
  1355. };
  1356. #else /* C style interface */
  1357. typedef struct IManagedObjectVtbl
  1358. {
  1359. BEGIN_INTERFACE
  1360. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1361. IManagedObject * This,
  1362. /* [in] */ REFIID riid,
  1363. /* [iid_is][out] */ void **ppvObject);
  1364. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1365. IManagedObject * This);
  1366. ULONG ( STDMETHODCALLTYPE *Release )(
  1367. IManagedObject * This);
  1368. HRESULT ( STDMETHODCALLTYPE *GetSerializedBuffer )(
  1369. IManagedObject * This,
  1370. /* [out] */ BSTR *pBSTR);
  1371. HRESULT ( STDMETHODCALLTYPE *GetObjectIdentity )(
  1372. IManagedObject * This,
  1373. /* [out] */ BSTR *pBSTRGUID,
  1374. /* [out] */ int *AppDomainID,
  1375. /* [out] */ int *pCCW);
  1376. END_INTERFACE
  1377. } IManagedObjectVtbl;
  1378. interface IManagedObject
  1379. {
  1380. CONST_VTBL struct IManagedObjectVtbl *lpVtbl;
  1381. };
  1382. #ifdef COBJMACROS
  1383. #define IManagedObject_QueryInterface(This,riid,ppvObject) \
  1384. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1385. #define IManagedObject_AddRef(This) \
  1386. (This)->lpVtbl -> AddRef(This)
  1387. #define IManagedObject_Release(This) \
  1388. (This)->lpVtbl -> Release(This)
  1389. #define IManagedObject_GetSerializedBuffer(This,pBSTR) \
  1390. (This)->lpVtbl -> GetSerializedBuffer(This,pBSTR)
  1391. #define IManagedObject_GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW) \
  1392. (This)->lpVtbl -> GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW)
  1393. #endif /* COBJMACROS */
  1394. #endif /* C style interface */
  1395. HRESULT STDMETHODCALLTYPE IManagedObject_GetSerializedBuffer_Proxy(
  1396. IManagedObject * This,
  1397. /* [out] */ BSTR *pBSTR);
  1398. void __RPC_STUB IManagedObject_GetSerializedBuffer_Stub(
  1399. IRpcStubBuffer *This,
  1400. IRpcChannelBuffer *_pRpcChannelBuffer,
  1401. PRPC_MESSAGE _pRpcMessage,
  1402. DWORD *_pdwStubPhase);
  1403. HRESULT STDMETHODCALLTYPE IManagedObject_GetObjectIdentity_Proxy(
  1404. IManagedObject * This,
  1405. /* [out] */ BSTR *pBSTRGUID,
  1406. /* [out] */ int *AppDomainID,
  1407. /* [out] */ int *pCCW);
  1408. void __RPC_STUB IManagedObject_GetObjectIdentity_Stub(
  1409. IRpcStubBuffer *This,
  1410. IRpcChannelBuffer *_pRpcChannelBuffer,
  1411. PRPC_MESSAGE _pRpcMessage,
  1412. DWORD *_pdwStubPhase);
  1413. #endif /* __IManagedObject_INTERFACE_DEFINED__ */
  1414. #ifndef __ICatalogServices_INTERFACE_DEFINED__
  1415. #define __ICatalogServices_INTERFACE_DEFINED__
  1416. /* interface ICatalogServices */
  1417. /* [unique][helpstring][uuid][oleautomation][object] */
  1418. EXTERN_C const IID IID_ICatalogServices;
  1419. #if defined(__cplusplus) && !defined(CINTERFACE)
  1420. MIDL_INTERFACE("04C6BE1E-1DB1-4058-AB7A-700CCCFBF254")
  1421. ICatalogServices : public IUnknown
  1422. {
  1423. public:
  1424. virtual HRESULT STDMETHODCALLTYPE Autodone( void) = 0;
  1425. virtual HRESULT STDMETHODCALLTYPE NotAutodone( void) = 0;
  1426. };
  1427. #else /* C style interface */
  1428. typedef struct ICatalogServicesVtbl
  1429. {
  1430. BEGIN_INTERFACE
  1431. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1432. ICatalogServices * This,
  1433. /* [in] */ REFIID riid,
  1434. /* [iid_is][out] */ void **ppvObject);
  1435. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1436. ICatalogServices * This);
  1437. ULONG ( STDMETHODCALLTYPE *Release )(
  1438. ICatalogServices * This);
  1439. HRESULT ( STDMETHODCALLTYPE *Autodone )(
  1440. ICatalogServices * This);
  1441. HRESULT ( STDMETHODCALLTYPE *NotAutodone )(
  1442. ICatalogServices * This);
  1443. END_INTERFACE
  1444. } ICatalogServicesVtbl;
  1445. interface ICatalogServices
  1446. {
  1447. CONST_VTBL struct ICatalogServicesVtbl *lpVtbl;
  1448. };
  1449. #ifdef COBJMACROS
  1450. #define ICatalogServices_QueryInterface(This,riid,ppvObject) \
  1451. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1452. #define ICatalogServices_AddRef(This) \
  1453. (This)->lpVtbl -> AddRef(This)
  1454. #define ICatalogServices_Release(This) \
  1455. (This)->lpVtbl -> Release(This)
  1456. #define ICatalogServices_Autodone(This) \
  1457. (This)->lpVtbl -> Autodone(This)
  1458. #define ICatalogServices_NotAutodone(This) \
  1459. (This)->lpVtbl -> NotAutodone(This)
  1460. #endif /* COBJMACROS */
  1461. #endif /* C style interface */
  1462. HRESULT STDMETHODCALLTYPE ICatalogServices_Autodone_Proxy(
  1463. ICatalogServices * This);
  1464. void __RPC_STUB ICatalogServices_Autodone_Stub(
  1465. IRpcStubBuffer *This,
  1466. IRpcChannelBuffer *_pRpcChannelBuffer,
  1467. PRPC_MESSAGE _pRpcMessage,
  1468. DWORD *_pdwStubPhase);
  1469. HRESULT STDMETHODCALLTYPE ICatalogServices_NotAutodone_Proxy(
  1470. ICatalogServices * This);
  1471. void __RPC_STUB ICatalogServices_NotAutodone_Stub(
  1472. IRpcStubBuffer *This,
  1473. IRpcChannelBuffer *_pRpcChannelBuffer,
  1474. PRPC_MESSAGE _pRpcMessage,
  1475. DWORD *_pdwStubPhase);
  1476. #endif /* __ICatalogServices_INTERFACE_DEFINED__ */
  1477. EXTERN_C const CLSID CLSID_ComCallUnmarshal;
  1478. #ifdef __cplusplus
  1479. class DECLSPEC_UUID("3F281000-E95A-11d2-886B-00C04F869F04")
  1480. ComCallUnmarshal;
  1481. #endif
  1482. EXTERN_C const CLSID CLSID_CorRuntimeHost;
  1483. #ifdef __cplusplus
  1484. class DECLSPEC_UUID("CB2F6723-AB3A-11d2-9C40-00C04FA30A3E")
  1485. CorRuntimeHost;
  1486. #endif
  1487. #endif /* __mscoree_LIBRARY_DEFINED__ */
  1488. /* Additional Prototypes for ALL interfaces */
  1489. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  1490. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  1491. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  1492. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  1493. /* end of Additional Prototypes */
  1494. #ifdef __cplusplus
  1495. }
  1496. #endif
  1497. #endif