/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.00.0603 */ /* @@MIDL_FILE_HEADING( ) */ #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCSAL_H_VERSION__ #define __REQUIRED_RPCSAL_H_VERSION__ 100 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif // __RPCNDR_H_VERSION__ #ifndef COM_NO_WINDOWS_H #include "windows.h" #include "ole2.h" #endif /*COM_NO_WINDOWS_H*/ #ifndef __gchost_h__ #define __gchost_h__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif /* Forward Declarations */ #ifndef __IGCHost_FWD_DEFINED__ #define __IGCHost_FWD_DEFINED__ typedef interface IGCHost IGCHost; #endif /* __IGCHost_FWD_DEFINED__ */ #ifndef __IGCHost2_FWD_DEFINED__ #define __IGCHost2_FWD_DEFINED__ typedef interface IGCHost2 IGCHost2; #endif /* __IGCHost2_FWD_DEFINED__ */ /* header files for imported files */ #include "unknwn.h" #ifdef __cplusplus extern "C"{ #endif /* interface __MIDL_itf_gchost_0000_0000 */ /* [local] */ typedef /* [public] */ enum __MIDL___MIDL_itf_gchost_0000_0000_0001 { COR_GC_COUNTS = 0x1, COR_GC_MEMORYUSAGE = 0x2 } COR_GC_STAT_TYPES; typedef /* [public] */ enum __MIDL___MIDL_itf_gchost_0000_0000_0002 { COR_GC_THREAD_HAS_PROMOTED_BYTES = 0x1 } COR_GC_THREAD_STATS_TYPES; typedef struct _COR_GC_STATS { ULONG Flags; SIZE_T ExplicitGCCount; SIZE_T GenCollectionsTaken[ 3 ]; SIZE_T CommittedKBytes; SIZE_T ReservedKBytes; SIZE_T Gen0HeapSizeKBytes; SIZE_T Gen1HeapSizeKBytes; SIZE_T Gen2HeapSizeKBytes; SIZE_T LargeObjectHeapSizeKBytes; SIZE_T KBytesPromotedFromGen0; SIZE_T KBytesPromotedFromGen1; } COR_GC_STATS; typedef struct _COR_GC_THREAD_STATS { ULONGLONG PerThreadAllocation; ULONG Flags; } COR_GC_THREAD_STATS; extern RPC_IF_HANDLE __MIDL_itf_gchost_0000_0000_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_gchost_0000_0000_v0_0_s_ifspec; #ifndef __IGCHost_INTERFACE_DEFINED__ #define __IGCHost_INTERFACE_DEFINED__ /* interface IGCHost */ /* [local][unique][uuid][object] */ EXTERN_C const IID IID_IGCHost; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("FAC34F6E-0DCD-47b5-8021-531BC5ECCA63") IGCHost : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE SetGCStartupLimits( /* [in] */ DWORD SegmentSize, /* [in] */ DWORD MaxGen0Size) = 0; virtual HRESULT STDMETHODCALLTYPE Collect( /* [in] */ LONG Generation) = 0; virtual HRESULT STDMETHODCALLTYPE GetStats( /* [out][in] */ COR_GC_STATS *pStats) = 0; virtual HRESULT STDMETHODCALLTYPE GetThreadStats( /* [in] */ DWORD *pFiberCookie, /* [out][in] */ COR_GC_THREAD_STATS *pStats) = 0; virtual HRESULT STDMETHODCALLTYPE SetVirtualMemLimit( /* [in] */ SIZE_T sztMaxVirtualMemMB) = 0; }; #else /* C style interface */ typedef struct IGCHostVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( IGCHost * This, /* [in] */ REFIID riid, /* [annotation][iid_is][out] */ _COM_Outptr_ void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( IGCHost * This); ULONG ( STDMETHODCALLTYPE *Release )( IGCHost * This); HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimits )( IGCHost * This, /* [in] */ DWORD SegmentSize, /* [in] */ DWORD MaxGen0Size); HRESULT ( STDMETHODCALLTYPE *Collect )( IGCHost * This, /* [in] */ LONG Generation); HRESULT ( STDMETHODCALLTYPE *GetStats )( IGCHost * This, /* [out][in] */ COR_GC_STATS *pStats); HRESULT ( STDMETHODCALLTYPE *GetThreadStats )( IGCHost * This, /* [in] */ DWORD *pFiberCookie, /* [out][in] */ COR_GC_THREAD_STATS *pStats); HRESULT ( STDMETHODCALLTYPE *SetVirtualMemLimit )( IGCHost * This, /* [in] */ SIZE_T sztMaxVirtualMemMB); END_INTERFACE } IGCHostVtbl; interface IGCHost { CONST_VTBL struct IGCHostVtbl *lpVtbl; }; #ifdef COBJMACROS #define IGCHost_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IGCHost_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IGCHost_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IGCHost_SetGCStartupLimits(This,SegmentSize,MaxGen0Size) \ ( (This)->lpVtbl -> SetGCStartupLimits(This,SegmentSize,MaxGen0Size) ) #define IGCHost_Collect(This,Generation) \ ( (This)->lpVtbl -> Collect(This,Generation) ) #define IGCHost_GetStats(This,pStats) \ ( (This)->lpVtbl -> GetStats(This,pStats) ) #define IGCHost_GetThreadStats(This,pFiberCookie,pStats) \ ( (This)->lpVtbl -> GetThreadStats(This,pFiberCookie,pStats) ) #define IGCHost_SetVirtualMemLimit(This,sztMaxVirtualMemMB) \ ( (This)->lpVtbl -> SetVirtualMemLimit(This,sztMaxVirtualMemMB) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IGCHost_INTERFACE_DEFINED__ */ #ifndef __IGCHost2_INTERFACE_DEFINED__ #define __IGCHost2_INTERFACE_DEFINED__ /* interface IGCHost2 */ /* [local][unique][uuid][object] */ EXTERN_C const IID IID_IGCHost2; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("A1D70CEC-2DBE-4E2F-9291-FDF81438A1DF") IGCHost2 : public IGCHost { public: virtual HRESULT STDMETHODCALLTYPE SetGCStartupLimitsEx( /* [in] */ SIZE_T SegmentSize, /* [in] */ SIZE_T MaxGen0Size) = 0; }; #else /* C style interface */ typedef struct IGCHost2Vtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( IGCHost2 * This, /* [in] */ REFIID riid, /* [annotation][iid_is][out] */ _COM_Outptr_ void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( IGCHost2 * This); ULONG ( STDMETHODCALLTYPE *Release )( IGCHost2 * This); HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimits )( IGCHost2 * This, /* [in] */ DWORD SegmentSize, /* [in] */ DWORD MaxGen0Size); HRESULT ( STDMETHODCALLTYPE *Collect )( IGCHost2 * This, /* [in] */ LONG Generation); HRESULT ( STDMETHODCALLTYPE *GetStats )( IGCHost2 * This, /* [out][in] */ COR_GC_STATS *pStats); HRESULT ( STDMETHODCALLTYPE *GetThreadStats )( IGCHost2 * This, /* [in] */ DWORD *pFiberCookie, /* [out][in] */ COR_GC_THREAD_STATS *pStats); HRESULT ( STDMETHODCALLTYPE *SetVirtualMemLimit )( IGCHost2 * This, /* [in] */ SIZE_T sztMaxVirtualMemMB); HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimitsEx )( IGCHost2 * This, /* [in] */ SIZE_T SegmentSize, /* [in] */ SIZE_T MaxGen0Size); END_INTERFACE } IGCHost2Vtbl; interface IGCHost2 { CONST_VTBL struct IGCHost2Vtbl *lpVtbl; }; #ifdef COBJMACROS #define IGCHost2_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IGCHost2_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IGCHost2_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IGCHost2_SetGCStartupLimits(This,SegmentSize,MaxGen0Size) \ ( (This)->lpVtbl -> SetGCStartupLimits(This,SegmentSize,MaxGen0Size) ) #define IGCHost2_Collect(This,Generation) \ ( (This)->lpVtbl -> Collect(This,Generation) ) #define IGCHost2_GetStats(This,pStats) \ ( (This)->lpVtbl -> GetStats(This,pStats) ) #define IGCHost2_GetThreadStats(This,pFiberCookie,pStats) \ ( (This)->lpVtbl -> GetThreadStats(This,pFiberCookie,pStats) ) #define IGCHost2_SetVirtualMemLimit(This,sztMaxVirtualMemMB) \ ( (This)->lpVtbl -> SetVirtualMemLimit(This,sztMaxVirtualMemMB) ) #define IGCHost2_SetGCStartupLimitsEx(This,SegmentSize,MaxGen0Size) \ ( (This)->lpVtbl -> SetGCStartupLimitsEx(This,SegmentSize,MaxGen0Size) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IGCHost2_INTERFACE_DEFINED__ */ /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif