diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-03-07 07:37:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-07 07:37:04 -0800 |
commit | 70300c711b9e507d251f9a31d5c4be9653dd4c8a (patch) | |
tree | 207b2405799e4165fe8f3e9d323f4b9858bac0ac /src/pal | |
parent | 724112354c74b67629d58d1f6b9c0007f5a13fc9 (diff) | |
download | coreclr-70300c711b9e507d251f9a31d5c4be9653dd4c8a.tar.gz coreclr-70300c711b9e507d251f9a31d5c4be9653dd4c8a.tar.bz2 coreclr-70300c711b9e507d251f9a31d5c4be9653dd4c8a.zip |
Cleanup unused hosting interfaces (#23091)
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/prebuilt/idl/gchost_i.cpp | 73 | ||||
-rw-r--r-- | src/pal/prebuilt/inc/gchost.h | 166 | ||||
-rw-r--r-- | src/pal/prebuilt/inc/metahost.h | 961 | ||||
-rw-r--r-- | src/pal/prebuilt/inc/mscoree.h | 2240 |
4 files changed, 164 insertions, 3276 deletions
diff --git a/src/pal/prebuilt/idl/gchost_i.cpp b/src/pal/prebuilt/idl/gchost_i.cpp deleted file mode 100644 index 32ecfbe9d5..0000000000 --- a/src/pal/prebuilt/idl/gchost_i.cpp +++ /dev/null @@ -1,73 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - - - -/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */ - -/* link this file in with the server and any clients */ - - - /* File created by MIDL compiler version 8.00.0603 */ -/* @@MIDL_FILE_HEADING( ) */ - -#pragma warning( disable: 4049 ) /* more than 64k source lines */ - - -#ifdef __cplusplus -extern "C"{ -#endif - - -#include <rpc.h> -#include <rpcndr.h> - -#ifdef _MIDL_USE_GUIDDEF_ - -#ifndef INITGUID -#define INITGUID -#include <guiddef.h> -#undef INITGUID -#else -#include <guiddef.h> -#endif - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) - -#else // !_MIDL_USE_GUIDDEF_ - -#ifndef __IID_DEFINED__ -#define __IID_DEFINED__ - -typedef struct _IID -{ - unsigned long x; - unsigned short s1; - unsigned short s2; - unsigned char c[8]; -} IID; - -#endif // __IID_DEFINED__ - -#ifndef CLSID_DEFINED -#define CLSID_DEFINED -typedef IID CLSID; -#endif // CLSID_DEFINED - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} - -#endif !_MIDL_USE_GUIDDEF_ - -MIDL_DEFINE_GUID(IID, IID_IDummyDoNotUse,0xF9423916,0x2A35,0x4f03,0x9E,0xE9,0xDD,0xAF,0xA3,0xC8,0xAE,0xE0); - -#undef MIDL_DEFINE_GUID - -#ifdef __cplusplus -} -#endif - - - diff --git a/src/pal/prebuilt/inc/gchost.h b/src/pal/prebuilt/inc/gchost.h deleted file mode 100644 index c9e4fffa18..0000000000 --- a/src/pal/prebuilt/inc/gchost.h +++ /dev/null @@ -1,166 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - - - -/* 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 <rpcndr.h> version is high enough to compile this file*/ -#ifndef __REQUIRED_RPCNDR_H_VERSION__ -#define __REQUIRED_RPCNDR_H_VERSION__ 475 -#endif - -#include "rpc.h" -#include "rpcndr.h" - -#ifndef __RPCNDR_H_VERSION__ -#error this stub requires an updated version of <rpcndr.h> -#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 __IDummyDoNotUse_FWD_DEFINED__ -#define __IDummyDoNotUse_FWD_DEFINED__ -typedef interface IDummyDoNotUse IDummyDoNotUse; - -#endif /* __IDummyDoNotUse_FWD_DEFINED__ */ - - -/* header files for imported files */ -#include "unknwn.h" - -#ifdef __cplusplus -extern "C"{ -#endif - - -/* interface __MIDL_itf_gchost_0000_0000 */ -/* [local] */ - -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; - -/* - * WARNING - This is a dummy interface that should never be used. - * The code is written this way because Midl requires a CoClass, Interface, etc... that generates - * a guid. Removing the IGCHost interface removes the only guid - * This option was selected because ifdefs are not simple to implement for excluding files in SOURCES -*/ - - -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 __IDummyDoNotUse_INTERFACE_DEFINED__ -#define __IDummyDoNotUse_INTERFACE_DEFINED__ - -/* interface IDummyDoNotUse */ -/* [local][unique][uuid][object] */ - - -EXTERN_C const IID IID_IDummyDoNotUse; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("F9423916-2A35-4f03-9EE9-DDAFA3C8AEE0") - IDummyDoNotUse : public IUnknown - { - public: - }; - - -#else /* C style interface */ - - typedef struct IDummyDoNotUseVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - IDummyDoNotUse * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - IDummyDoNotUse * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - IDummyDoNotUse * This); - - END_INTERFACE - } IDummyDoNotUseVtbl; - - interface IDummyDoNotUse - { - CONST_VTBL struct IDummyDoNotUseVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define IDummyDoNotUse_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define IDummyDoNotUse_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define IDummyDoNotUse_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __IDummyDoNotUse_INTERFACE_DEFINED__ */ - - -/* Additional Prototypes for ALL interfaces */ - -/* end of Additional Prototypes */ - -#ifdef __cplusplus -} -#endif - -#endif - - diff --git a/src/pal/prebuilt/inc/metahost.h b/src/pal/prebuilt/inc/metahost.h index aa6c78c944..aae25d70db 100644 --- a/src/pal/prebuilt/inc/metahost.h +++ b/src/pal/prebuilt/inc/metahost.h @@ -6,7 +6,7 @@ /* File created by MIDL compiler version 8.01.0622 */ /* at Mon Jan 18 19:14:07 2038 */ -/* Compiler settings for C:/ssd/coreclr/src/inc/metahost.idl: +/* Compiler settings for metahost.idl: Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622 protocol : dce , ms_ext, c_ext, robust error checks: allocation ref bounds_check enum stub_data @@ -52,13 +52,6 @@ typedef interface ICLRMetaHost ICLRMetaHost; #endif /* __ICLRMetaHost_FWD_DEFINED__ */ -#ifndef __ICLRMetaHostPolicy_FWD_DEFINED__ -#define __ICLRMetaHostPolicy_FWD_DEFINED__ -typedef interface ICLRMetaHostPolicy ICLRMetaHostPolicy; - -#endif /* __ICLRMetaHostPolicy_FWD_DEFINED__ */ - - #ifndef __ICLRDebuggingLibraryProvider_FWD_DEFINED__ #define __ICLRDebuggingLibraryProvider_FWD_DEFINED__ typedef interface ICLRDebuggingLibraryProvider ICLRDebuggingLibraryProvider; @@ -87,69 +80,6 @@ typedef interface ICLRRuntimeInfo ICLRRuntimeInfo; #endif /* __ICLRRuntimeInfo_FWD_DEFINED__ */ -#ifndef __ICLRStrongName_FWD_DEFINED__ -#define __ICLRStrongName_FWD_DEFINED__ -typedef interface ICLRStrongName ICLRStrongName; - -#endif /* __ICLRStrongName_FWD_DEFINED__ */ - - -#ifndef __ICLRStrongName2_FWD_DEFINED__ -#define __ICLRStrongName2_FWD_DEFINED__ -typedef interface ICLRStrongName2 ICLRStrongName2; - -#endif /* __ICLRStrongName2_FWD_DEFINED__ */ - - -#ifndef __ICLRStrongName3_FWD_DEFINED__ -#define __ICLRStrongName3_FWD_DEFINED__ -typedef interface ICLRStrongName3 ICLRStrongName3; - -#endif /* __ICLRStrongName3_FWD_DEFINED__ */ - - -#ifndef __ICLRMetaHost_FWD_DEFINED__ -#define __ICLRMetaHost_FWD_DEFINED__ -typedef interface ICLRMetaHost ICLRMetaHost; - -#endif /* __ICLRMetaHost_FWD_DEFINED__ */ - - -#ifndef __ICLRMetaHostPolicy_FWD_DEFINED__ -#define __ICLRMetaHostPolicy_FWD_DEFINED__ -typedef interface ICLRMetaHostPolicy ICLRMetaHostPolicy; - -#endif /* __ICLRMetaHostPolicy_FWD_DEFINED__ */ - - -#ifndef __ICLRDebuggingLibraryProvider_FWD_DEFINED__ -#define __ICLRDebuggingLibraryProvider_FWD_DEFINED__ -typedef interface ICLRDebuggingLibraryProvider ICLRDebuggingLibraryProvider; - -#endif /* __ICLRDebuggingLibraryProvider_FWD_DEFINED__ */ - - -#ifndef __ICLRDebugging_FWD_DEFINED__ -#define __ICLRDebugging_FWD_DEFINED__ -typedef interface ICLRDebugging ICLRDebugging; - -#endif /* __ICLRDebugging_FWD_DEFINED__ */ - - -#ifndef __ICLRRuntimeInfo_FWD_DEFINED__ -#define __ICLRRuntimeInfo_FWD_DEFINED__ -typedef interface ICLRRuntimeInfo ICLRRuntimeInfo; - -#endif /* __ICLRRuntimeInfo_FWD_DEFINED__ */ - - -#ifndef __ICLRStrongName_FWD_DEFINED__ -#define __ICLRStrongName_FWD_DEFINED__ -typedef interface ICLRStrongName ICLRStrongName; - -#endif /* __ICLRStrongName_FWD_DEFINED__ */ - - /* header files for imported files */ #include "unknwn.h" #include "oaidl.h" @@ -165,33 +95,14 @@ extern "C"{ /* [local] */ #include <winapifamily.h> -#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) STDAPI CLRCreateInstance(REFCLSID clsid, REFIID riid, /*iid_is(riid)*/ LPVOID *ppInterface); -EXTERN_GUID(CLSID_CLRStrongName, 0xB79B0ACD, 0xF5CD, 0x409b, 0xB5, 0xA5, 0xA1, 0x62, 0x44, 0x61, 0x0B, 0x92); EXTERN_GUID(IID_ICLRMetaHost, 0xD332DB9E, 0xB9B3, 0x4125, 0x82, 0x07, 0xA1, 0x48, 0x84, 0xF5, 0x32, 0x16); EXTERN_GUID(CLSID_CLRMetaHost, 0x9280188d, 0xe8e, 0x4867, 0xb3, 0xc, 0x7f, 0xa8, 0x38, 0x84, 0xe8, 0xde); -EXTERN_GUID(IID_ICLRMetaHostPolicy, 0xE2190695, 0x77B2, 0x492e, 0x8E, 0x14, 0xC4, 0xB3, 0xA7, 0xFD, 0xD5, 0x93); -EXTERN_GUID(CLSID_CLRMetaHostPolicy, 0x2ebcd49a, 0x1b47, 0x4a61, 0xb1, 0x3a, 0x4a, 0x3, 0x70, 0x1e, 0x59, 0x4b); EXTERN_GUID(IID_ICLRDebugging, 0xd28f3c5a, 0x9634, 0x4206, 0xa5, 0x9, 0x47, 0x75, 0x52, 0xee, 0xfb, 0x10); EXTERN_GUID(CLSID_CLRDebugging, 0xbacc578d, 0xfbdd, 0x48a4, 0x96, 0x9f, 0x2, 0xd9, 0x32, 0xb7, 0x46, 0x34); EXTERN_GUID(IID_ICLRRuntimeInfo, 0xBD39D1D2, 0xBA2F, 0x486a, 0x89, 0xB0, 0xB4, 0xB0, 0xCB, 0x46, 0x68, 0x91); -EXTERN_GUID(IID_ICLRStrongName, 0x9FD93CCF, 0x3280, 0x4391, 0xB3, 0xA9, 0x96, 0xE1, 0xCD, 0xE7, 0x7C, 0x8D); -EXTERN_GUID(IID_ICLRStrongName2, 0xC22ED5C5, 0x4B59, 0x4975, 0x90, 0xEB, 0x85, 0xEA, 0x55, 0xC0, 0x06, 0x9B); -EXTERN_GUID(IID_ICLRStrongName3, 0x22c7089b, 0xbbd3, 0x414a, 0xb6, 0x98, 0x21, 0x0f, 0x26, 0x3f, 0x1f, 0xed); -EXTERN_GUID(CLSID_CLRDebuggingLegacy, 0xDF8395B5, 0xA4BA, 0x450b, 0xA7, 0x7C, 0xA9, 0xA4, 0x77, 0x62, 0xC5, 0x20); -EXTERN_GUID(CLSID_CLRProfiling, 0xbd097ed8, 0x733e, 0x43fe, 0x8e, 0xd7, 0xa9, 0x5f, 0xf9, 0xa8, 0x44, 0x8c); EXTERN_GUID(IID_ICLRDebuggingLibraryProvider, 0x3151c08d, 0x4d09, 0x4f9b, 0x88, 0x38, 0x28, 0x80, 0xbf, 0x18, 0xfe, 0x51); EXTERN_GUID(IID_ICLRDebuggingLibraryProvider2, 0xE04E2FF1, 0xDCFD, 0x45D5, 0xBC, 0xD1, 0x16, 0xFF, 0xF2, 0xFA, 0xF7, 0xBA); -typedef HRESULT ( __stdcall *CLRCreateInstanceFnPtr )( - REFCLSID clsid, - REFIID riid, - LPVOID *ppInterface); - -typedef HRESULT ( __stdcall *CreateInterfaceFnPtr )( - REFCLSID clsid, - REFIID riid, - LPVOID *ppInterface); - typedef HRESULT ( __stdcall *CallbackThreadSetFnPtr )( void); @@ -364,137 +275,6 @@ EXTERN_C const IID IID_ICLRMetaHost; /* interface __MIDL_itf_metahost_0000_0001 */ /* [local] */ -typedef /* [public][public] */ -enum __MIDL___MIDL_itf_metahost_0000_0001_0001 - { - METAHOST_POLICY_HIGHCOMPAT = 0, - METAHOST_POLICY_APPLY_UPGRADE_POLICY = 0x8, - METAHOST_POLICY_EMULATE_EXE_LAUNCH = 0x10, - METAHOST_POLICY_SHOW_ERROR_DIALOG = 0x20, - METAHOST_POLICY_USE_PROCESS_IMAGE_PATH = 0x40, - METAHOST_POLICY_ENSURE_SKU_SUPPORTED = 0x80, - METAHOST_POLICY_IGNORE_ERROR_MODE = 0x1000 - } METAHOST_POLICY_FLAGS; - -typedef /* [public] */ -enum __MIDL___MIDL_itf_metahost_0000_0001_0002 - { - METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_UNSET = 0, - METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_TRUE = 0x1, - METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_FALSE = 0x2, - METAHOST_CONFIG_FLAGS_LEGACY_V2_ACTIVATION_POLICY_MASK = 0x3 - } METAHOST_CONFIG_FLAGS; - - - -extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0001_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0001_v0_0_s_ifspec; - -#ifndef __ICLRMetaHostPolicy_INTERFACE_DEFINED__ -#define __ICLRMetaHostPolicy_INTERFACE_DEFINED__ - -/* interface ICLRMetaHostPolicy */ -/* [object][local][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_ICLRMetaHostPolicy; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("E2190695-77B2-492e-8E14-C4B3A7FDD593") - ICLRMetaHostPolicy : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE GetRequestedRuntime( - /* [in] */ METAHOST_POLICY_FLAGS dwPolicyFlags, - /* [in] */ LPCWSTR pwzBinary, - /* [in] */ IStream *pCfgStream, - /* [annotation][size_is][out][in] */ - _Inout_updates_all_opt_(*pcchVersion) LPWSTR pwzVersion, - /* [out][in] */ DWORD *pcchVersion, - /* [annotation][size_is][out] */ - _Out_writes_all_opt_(*pcchImageVersion) LPWSTR pwzImageVersion, - /* [out][in] */ DWORD *pcchImageVersion, - /* [out] */ DWORD *pdwConfigFlags, - /* [in] */ REFIID riid, - /* [retval][iid_is][out] */ LPVOID *ppRuntime) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRMetaHostPolicyVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRMetaHostPolicy * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRMetaHostPolicy * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRMetaHostPolicy * This); - - HRESULT ( STDMETHODCALLTYPE *GetRequestedRuntime )( - ICLRMetaHostPolicy * This, - /* [in] */ METAHOST_POLICY_FLAGS dwPolicyFlags, - /* [in] */ LPCWSTR pwzBinary, - /* [in] */ IStream *pCfgStream, - /* [annotation][size_is][out][in] */ - _Inout_updates_all_opt_(*pcchVersion) LPWSTR pwzVersion, - /* [out][in] */ DWORD *pcchVersion, - /* [annotation][size_is][out] */ - _Out_writes_all_opt_(*pcchImageVersion) LPWSTR pwzImageVersion, - /* [out][in] */ DWORD *pcchImageVersion, - /* [out] */ DWORD *pdwConfigFlags, - /* [in] */ REFIID riid, - /* [retval][iid_is][out] */ LPVOID *ppRuntime); - - END_INTERFACE - } ICLRMetaHostPolicyVtbl; - - interface ICLRMetaHostPolicy - { - CONST_VTBL struct ICLRMetaHostPolicyVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRMetaHostPolicy_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRMetaHostPolicy_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRMetaHostPolicy_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRMetaHostPolicy_GetRequestedRuntime(This,dwPolicyFlags,pwzBinary,pCfgStream,pwzVersion,pcchVersion,pwzImageVersion,pcchImageVersion,pdwConfigFlags,riid,ppRuntime) \ - ( (This)->lpVtbl -> GetRequestedRuntime(This,dwPolicyFlags,pwzBinary,pCfgStream,pwzVersion,pcchVersion,pwzImageVersion,pcchImageVersion,pdwConfigFlags,riid,ppRuntime) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRMetaHostPolicy_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_metahost_0000_0003 */ -/* [local] */ - typedef struct _CLR_DEBUGGING_VERSION { WORD wStructVersion; @@ -505,7 +285,7 @@ typedef struct _CLR_DEBUGGING_VERSION } CLR_DEBUGGING_VERSION; typedef /* [public][public] */ -enum __MIDL___MIDL_itf_metahost_0000_0003_0001 +enum __MIDL___MIDL_itf_metahost_0000_0001_0001 { CLR_DEBUGGING_MANAGED_EVENT_PENDING = 1, CLR_DEBUGGING_MANAGED_EVENT_DEBUGGER_LAUNCH = 2 @@ -513,8 +293,8 @@ enum __MIDL___MIDL_itf_metahost_0000_0003_0001 -extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0003_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0003_v0_0_s_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0001_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0001_v0_0_s_ifspec; #ifndef __ICLRDebuggingLibraryProvider_INTERFACE_DEFINED__ #define __ICLRDebuggingLibraryProvider_INTERFACE_DEFINED__ @@ -1016,739 +796,6 @@ EXTERN_C const IID IID_ICLRRuntimeInfo; #endif /* __ICLRRuntimeInfo_INTERFACE_DEFINED__ */ -#ifndef __ICLRStrongName_INTERFACE_DEFINED__ -#define __ICLRStrongName_INTERFACE_DEFINED__ - -/* interface ICLRStrongName */ -/* [object][local][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_ICLRStrongName; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("9FD93CCF-3280-4391-B3A9-96E1CDE77C8D") - ICLRStrongName : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE GetHashFromAssemblyFile( - /* [in] */ LPCSTR pszFilePath, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetHashFromAssemblyFileW( - /* [in] */ LPCWSTR pwzFilePath, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetHashFromBlob( - /* [in] */ BYTE *pbBlob, - /* [in] */ DWORD cchBlob, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetHashFromFile( - /* [in] */ LPCSTR pszFilePath, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetHashFromFileW( - /* [in] */ LPCWSTR pwzFilePath, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetHashFromHandle( - /* [in] */ HANDLE hFile, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameCompareAssemblies( - /* [in] */ LPCWSTR pwzAssembly1, - /* [in] */ LPCWSTR pwzAssembly2, - /* [retval][out] */ DWORD *pdwResult) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameFreeBuffer( - /* [in] */ BYTE *pbMemory) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameGetBlob( - /* [in] */ LPCWSTR pwzFilePath, - /* [length_is][size_is][out][in] */ BYTE *pbBlob, - /* [out][in] */ DWORD *pcbBlob) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameGetBlobFromImage( - /* [size_is][in] */ BYTE *pbBase, - /* [in] */ DWORD dwLength, - /* [length_is][size_is][out] */ BYTE *pbBlob, - /* [out][in] */ DWORD *pcbBlob) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameGetPublicKey( - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [out] */ BYTE **ppbPublicKeyBlob, - /* [out] */ ULONG *pcbPublicKeyBlob) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameHashSize( - /* [in] */ ULONG ulHashAlg, - /* [retval][out] */ DWORD *pcbSize) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameKeyDelete( - /* [in] */ LPCWSTR pwzKeyContainer) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameKeyGen( - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ DWORD dwFlags, - /* [out] */ BYTE **ppbKeyBlob, - /* [out] */ ULONG *pcbKeyBlob) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameKeyGenEx( - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ DWORD dwFlags, - /* [in] */ DWORD dwKeySize, - /* [out] */ BYTE **ppbKeyBlob, - /* [out] */ ULONG *pcbKeyBlob) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameKeyInstall( - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameSignatureGeneration( - /* [in] */ LPCWSTR pwzFilePath, - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [out] */ BYTE **ppbSignatureBlob, - /* [out] */ ULONG *pcbSignatureBlob) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameSignatureGenerationEx( - /* [in] */ LPCWSTR wszFilePath, - /* [in] */ LPCWSTR wszKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [out] */ BYTE **ppbSignatureBlob, - /* [out] */ ULONG *pcbSignatureBlob, - /* [in] */ DWORD dwFlags) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameSignatureSize( - /* [in] */ BYTE *pbPublicKeyBlob, - /* [in] */ ULONG cbPublicKeyBlob, - /* [in] */ DWORD *pcbSize) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameSignatureVerification( - /* [in] */ LPCWSTR pwzFilePath, - /* [in] */ DWORD dwInFlags, - /* [retval][out] */ DWORD *pdwOutFlags) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameSignatureVerificationEx( - /* [in] */ LPCWSTR pwzFilePath, - /* [in] */ BOOLEAN fForceVerification, - /* [retval][out] */ BOOLEAN *pfWasVerified) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameSignatureVerificationFromImage( - /* [in] */ BYTE *pbBase, - /* [in] */ DWORD dwLength, - /* [in] */ DWORD dwInFlags, - /* [retval][out] */ DWORD *pdwOutFlags) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameTokenFromAssembly( - /* [in] */ LPCWSTR pwzFilePath, - /* [out] */ BYTE **ppbStrongNameToken, - /* [out] */ ULONG *pcbStrongNameToken) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameTokenFromAssemblyEx( - /* [in] */ LPCWSTR pwzFilePath, - /* [out] */ BYTE **ppbStrongNameToken, - /* [out] */ ULONG *pcbStrongNameToken, - /* [out] */ BYTE **ppbPublicKeyBlob, - /* [out] */ ULONG *pcbPublicKeyBlob) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameTokenFromPublicKey( - /* [in] */ BYTE *pbPublicKeyBlob, - /* [in] */ ULONG cbPublicKeyBlob, - /* [out] */ BYTE **ppbStrongNameToken, - /* [out] */ ULONG *pcbStrongNameToken) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRStrongNameVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRStrongName * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRStrongName * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRStrongName * This); - - HRESULT ( STDMETHODCALLTYPE *GetHashFromAssemblyFile )( - ICLRStrongName * This, - /* [in] */ LPCSTR pszFilePath, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash); - - HRESULT ( STDMETHODCALLTYPE *GetHashFromAssemblyFileW )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzFilePath, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash); - - HRESULT ( STDMETHODCALLTYPE *GetHashFromBlob )( - ICLRStrongName * This, - /* [in] */ BYTE *pbBlob, - /* [in] */ DWORD cchBlob, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash); - - HRESULT ( STDMETHODCALLTYPE *GetHashFromFile )( - ICLRStrongName * This, - /* [in] */ LPCSTR pszFilePath, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash); - - HRESULT ( STDMETHODCALLTYPE *GetHashFromFileW )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzFilePath, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash); - - HRESULT ( STDMETHODCALLTYPE *GetHashFromHandle )( - ICLRStrongName * This, - /* [in] */ HANDLE hFile, - /* [out][in] */ unsigned int *piHashAlg, - /* [length_is][size_is][out] */ BYTE *pbHash, - /* [in] */ DWORD cchHash, - /* [out] */ DWORD *pchHash); - - HRESULT ( STDMETHODCALLTYPE *StrongNameCompareAssemblies )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzAssembly1, - /* [in] */ LPCWSTR pwzAssembly2, - /* [retval][out] */ DWORD *pdwResult); - - HRESULT ( STDMETHODCALLTYPE *StrongNameFreeBuffer )( - ICLRStrongName * This, - /* [in] */ BYTE *pbMemory); - - HRESULT ( STDMETHODCALLTYPE *StrongNameGetBlob )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzFilePath, - /* [length_is][size_is][out][in] */ BYTE *pbBlob, - /* [out][in] */ DWORD *pcbBlob); - - HRESULT ( STDMETHODCALLTYPE *StrongNameGetBlobFromImage )( - ICLRStrongName * This, - /* [size_is][in] */ BYTE *pbBase, - /* [in] */ DWORD dwLength, - /* [length_is][size_is][out] */ BYTE *pbBlob, - /* [out][in] */ DWORD *pcbBlob); - - HRESULT ( STDMETHODCALLTYPE *StrongNameGetPublicKey )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [out] */ BYTE **ppbPublicKeyBlob, - /* [out] */ ULONG *pcbPublicKeyBlob); - - HRESULT ( STDMETHODCALLTYPE *StrongNameHashSize )( - ICLRStrongName * This, - /* [in] */ ULONG ulHashAlg, - /* [retval][out] */ DWORD *pcbSize); - - HRESULT ( STDMETHODCALLTYPE *StrongNameKeyDelete )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzKeyContainer); - - HRESULT ( STDMETHODCALLTYPE *StrongNameKeyGen )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ DWORD dwFlags, - /* [out] */ BYTE **ppbKeyBlob, - /* [out] */ ULONG *pcbKeyBlob); - - HRESULT ( STDMETHODCALLTYPE *StrongNameKeyGenEx )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ DWORD dwFlags, - /* [in] */ DWORD dwKeySize, - /* [out] */ BYTE **ppbKeyBlob, - /* [out] */ ULONG *pcbKeyBlob); - - HRESULT ( STDMETHODCALLTYPE *StrongNameKeyInstall )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob); - - HRESULT ( STDMETHODCALLTYPE *StrongNameSignatureGeneration )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzFilePath, - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [out] */ BYTE **ppbSignatureBlob, - /* [out] */ ULONG *pcbSignatureBlob); - - HRESULT ( STDMETHODCALLTYPE *StrongNameSignatureGenerationEx )( - ICLRStrongName * This, - /* [in] */ LPCWSTR wszFilePath, - /* [in] */ LPCWSTR wszKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [out] */ BYTE **ppbSignatureBlob, - /* [out] */ ULONG *pcbSignatureBlob, - /* [in] */ DWORD dwFlags); - - HRESULT ( STDMETHODCALLTYPE *StrongNameSignatureSize )( - ICLRStrongName * This, - /* [in] */ BYTE *pbPublicKeyBlob, - /* [in] */ ULONG cbPublicKeyBlob, - /* [in] */ DWORD *pcbSize); - - HRESULT ( STDMETHODCALLTYPE *StrongNameSignatureVerification )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzFilePath, - /* [in] */ DWORD dwInFlags, - /* [retval][out] */ DWORD *pdwOutFlags); - - HRESULT ( STDMETHODCALLTYPE *StrongNameSignatureVerificationEx )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzFilePath, - /* [in] */ BOOLEAN fForceVerification, - /* [retval][out] */ BOOLEAN *pfWasVerified); - - HRESULT ( STDMETHODCALLTYPE *StrongNameSignatureVerificationFromImage )( - ICLRStrongName * This, - /* [in] */ BYTE *pbBase, - /* [in] */ DWORD dwLength, - /* [in] */ DWORD dwInFlags, - /* [retval][out] */ DWORD *pdwOutFlags); - - HRESULT ( STDMETHODCALLTYPE *StrongNameTokenFromAssembly )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzFilePath, - /* [out] */ BYTE **ppbStrongNameToken, - /* [out] */ ULONG *pcbStrongNameToken); - - HRESULT ( STDMETHODCALLTYPE *StrongNameTokenFromAssemblyEx )( - ICLRStrongName * This, - /* [in] */ LPCWSTR pwzFilePath, - /* [out] */ BYTE **ppbStrongNameToken, - /* [out] */ ULONG *pcbStrongNameToken, - /* [out] */ BYTE **ppbPublicKeyBlob, - /* [out] */ ULONG *pcbPublicKeyBlob); - - HRESULT ( STDMETHODCALLTYPE *StrongNameTokenFromPublicKey )( - ICLRStrongName * This, - /* [in] */ BYTE *pbPublicKeyBlob, - /* [in] */ ULONG cbPublicKeyBlob, - /* [out] */ BYTE **ppbStrongNameToken, - /* [out] */ ULONG *pcbStrongNameToken); - - END_INTERFACE - } ICLRStrongNameVtbl; - - interface ICLRStrongName - { - CONST_VTBL struct ICLRStrongNameVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRStrongName_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRStrongName_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRStrongName_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRStrongName_GetHashFromAssemblyFile(This,pszFilePath,piHashAlg,pbHash,cchHash,pchHash) \ - ( (This)->lpVtbl -> GetHashFromAssemblyFile(This,pszFilePath,piHashAlg,pbHash,cchHash,pchHash) ) - -#define ICLRStrongName_GetHashFromAssemblyFileW(This,pwzFilePath,piHashAlg,pbHash,cchHash,pchHash) \ - ( (This)->lpVtbl -> GetHashFromAssemblyFileW(This,pwzFilePath,piHashAlg,pbHash,cchHash,pchHash) ) - -#define ICLRStrongName_GetHashFromBlob(This,pbBlob,cchBlob,piHashAlg,pbHash,cchHash,pchHash) \ - ( (This)->lpVtbl -> GetHashFromBlob(This,pbBlob,cchBlob,piHashAlg,pbHash,cchHash,pchHash) ) - -#define ICLRStrongName_GetHashFromFile(This,pszFilePath,piHashAlg,pbHash,cchHash,pchHash) \ - ( (This)->lpVtbl -> GetHashFromFile(This,pszFilePath,piHashAlg,pbHash,cchHash,pchHash) ) - -#define ICLRStrongName_GetHashFromFileW(This,pwzFilePath,piHashAlg,pbHash,cchHash,pchHash) \ - ( (This)->lpVtbl -> GetHashFromFileW(This,pwzFilePath,piHashAlg,pbHash,cchHash,pchHash) ) - -#define ICLRStrongName_GetHashFromHandle(This,hFile,piHashAlg,pbHash,cchHash,pchHash) \ - ( (This)->lpVtbl -> GetHashFromHandle(This,hFile,piHashAlg,pbHash,cchHash,pchHash) ) - -#define ICLRStrongName_StrongNameCompareAssemblies(This,pwzAssembly1,pwzAssembly2,pdwResult) \ - ( (This)->lpVtbl -> StrongNameCompareAssemblies(This,pwzAssembly1,pwzAssembly2,pdwResult) ) - -#define ICLRStrongName_StrongNameFreeBuffer(This,pbMemory) \ - ( (This)->lpVtbl -> StrongNameFreeBuffer(This,pbMemory) ) - -#define ICLRStrongName_StrongNameGetBlob(This,pwzFilePath,pbBlob,pcbBlob) \ - ( (This)->lpVtbl -> StrongNameGetBlob(This,pwzFilePath,pbBlob,pcbBlob) ) - -#define ICLRStrongName_StrongNameGetBlobFromImage(This,pbBase,dwLength,pbBlob,pcbBlob) \ - ( (This)->lpVtbl -> StrongNameGetBlobFromImage(This,pbBase,dwLength,pbBlob,pcbBlob) ) - -#define ICLRStrongName_StrongNameGetPublicKey(This,pwzKeyContainer,pbKeyBlob,cbKeyBlob,ppbPublicKeyBlob,pcbPublicKeyBlob) \ - ( (This)->lpVtbl -> StrongNameGetPublicKey(This,pwzKeyContainer,pbKeyBlob,cbKeyBlob,ppbPublicKeyBlob,pcbPublicKeyBlob) ) - -#define ICLRStrongName_StrongNameHashSize(This,ulHashAlg,pcbSize) \ - ( (This)->lpVtbl -> StrongNameHashSize(This,ulHashAlg,pcbSize) ) - -#define ICLRStrongName_StrongNameKeyDelete(This,pwzKeyContainer) \ - ( (This)->lpVtbl -> StrongNameKeyDelete(This,pwzKeyContainer) ) - -#define ICLRStrongName_StrongNameKeyGen(This,pwzKeyContainer,dwFlags,ppbKeyBlob,pcbKeyBlob) \ - ( (This)->lpVtbl -> StrongNameKeyGen(This,pwzKeyContainer,dwFlags,ppbKeyBlob,pcbKeyBlob) ) - -#define ICLRStrongName_StrongNameKeyGenEx(This,pwzKeyContainer,dwFlags,dwKeySize,ppbKeyBlob,pcbKeyBlob) \ - ( (This)->lpVtbl -> StrongNameKeyGenEx(This,pwzKeyContainer,dwFlags,dwKeySize,ppbKeyBlob,pcbKeyBlob) ) - -#define ICLRStrongName_StrongNameKeyInstall(This,pwzKeyContainer,pbKeyBlob,cbKeyBlob) \ - ( (This)->lpVtbl -> StrongNameKeyInstall(This,pwzKeyContainer,pbKeyBlob,cbKeyBlob) ) - -#define ICLRStrongName_StrongNameSignatureGeneration(This,pwzFilePath,pwzKeyContainer,pbKeyBlob,cbKeyBlob,ppbSignatureBlob,pcbSignatureBlob) \ - ( (This)->lpVtbl -> StrongNameSignatureGeneration(This,pwzFilePath,pwzKeyContainer,pbKeyBlob,cbKeyBlob,ppbSignatureBlob,pcbSignatureBlob) ) - -#define ICLRStrongName_StrongNameSignatureGenerationEx(This,wszFilePath,wszKeyContainer,pbKeyBlob,cbKeyBlob,ppbSignatureBlob,pcbSignatureBlob,dwFlags) \ - ( (This)->lpVtbl -> StrongNameSignatureGenerationEx(This,wszFilePath,wszKeyContainer,pbKeyBlob,cbKeyBlob,ppbSignatureBlob,pcbSignatureBlob,dwFlags) ) - -#define ICLRStrongName_StrongNameSignatureSize(This,pbPublicKeyBlob,cbPublicKeyBlob,pcbSize) \ - ( (This)->lpVtbl -> StrongNameSignatureSize(This,pbPublicKeyBlob,cbPublicKeyBlob,pcbSize) ) - -#define ICLRStrongName_StrongNameSignatureVerification(This,pwzFilePath,dwInFlags,pdwOutFlags) \ - ( (This)->lpVtbl -> StrongNameSignatureVerification(This,pwzFilePath,dwInFlags,pdwOutFlags) ) - -#define ICLRStrongName_StrongNameSignatureVerificationEx(This,pwzFilePath,fForceVerification,pfWasVerified) \ - ( (This)->lpVtbl -> StrongNameSignatureVerificationEx(This,pwzFilePath,fForceVerification,pfWasVerified) ) - -#define ICLRStrongName_StrongNameSignatureVerificationFromImage(This,pbBase,dwLength,dwInFlags,pdwOutFlags) \ - ( (This)->lpVtbl -> StrongNameSignatureVerificationFromImage(This,pbBase,dwLength,dwInFlags,pdwOutFlags) ) - -#define ICLRStrongName_StrongNameTokenFromAssembly(This,pwzFilePath,ppbStrongNameToken,pcbStrongNameToken) \ - ( (This)->lpVtbl -> StrongNameTokenFromAssembly(This,pwzFilePath,ppbStrongNameToken,pcbStrongNameToken) ) - -#define ICLRStrongName_StrongNameTokenFromAssemblyEx(This,pwzFilePath,ppbStrongNameToken,pcbStrongNameToken,ppbPublicKeyBlob,pcbPublicKeyBlob) \ - ( (This)->lpVtbl -> StrongNameTokenFromAssemblyEx(This,pwzFilePath,ppbStrongNameToken,pcbStrongNameToken,ppbPublicKeyBlob,pcbPublicKeyBlob) ) - -#define ICLRStrongName_StrongNameTokenFromPublicKey(This,pbPublicKeyBlob,cbPublicKeyBlob,ppbStrongNameToken,pcbStrongNameToken) \ - ( (This)->lpVtbl -> StrongNameTokenFromPublicKey(This,pbPublicKeyBlob,cbPublicKeyBlob,ppbStrongNameToken,pcbStrongNameToken) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRStrongName_INTERFACE_DEFINED__ */ - - -#ifndef __ICLRStrongName2_INTERFACE_DEFINED__ -#define __ICLRStrongName2_INTERFACE_DEFINED__ - -/* interface ICLRStrongName2 */ -/* [object][local][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_ICLRStrongName2; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("C22ED5C5-4B59-4975-90EB-85EA55C0069B") - ICLRStrongName2 : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE StrongNameGetPublicKeyEx( - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [out] */ BYTE **ppbPublicKeyBlob, - /* [out] */ ULONG *pcbPublicKeyBlob, - /* [in] */ ULONG uHashAlgId, - /* [in] */ ULONG uReserved) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameSignatureVerificationEx2( - /* [in] */ LPCWSTR wszFilePath, - /* [in] */ BOOLEAN fForceVerification, - /* [in] */ BYTE *pbEcmaPublicKey, - /* [in] */ DWORD cbEcmaPublicKey, - /* [out] */ BOOLEAN *pfWasVerified) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRStrongName2Vtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRStrongName2 * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRStrongName2 * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRStrongName2 * This); - - HRESULT ( STDMETHODCALLTYPE *StrongNameGetPublicKeyEx )( - ICLRStrongName2 * This, - /* [in] */ LPCWSTR pwzKeyContainer, - /* [in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [out] */ BYTE **ppbPublicKeyBlob, - /* [out] */ ULONG *pcbPublicKeyBlob, - /* [in] */ ULONG uHashAlgId, - /* [in] */ ULONG uReserved); - - HRESULT ( STDMETHODCALLTYPE *StrongNameSignatureVerificationEx2 )( - ICLRStrongName2 * This, - /* [in] */ LPCWSTR wszFilePath, - /* [in] */ BOOLEAN fForceVerification, - /* [in] */ BYTE *pbEcmaPublicKey, - /* [in] */ DWORD cbEcmaPublicKey, - /* [out] */ BOOLEAN *pfWasVerified); - - END_INTERFACE - } ICLRStrongName2Vtbl; - - interface ICLRStrongName2 - { - CONST_VTBL struct ICLRStrongName2Vtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRStrongName2_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRStrongName2_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRStrongName2_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRStrongName2_StrongNameGetPublicKeyEx(This,pwzKeyContainer,pbKeyBlob,cbKeyBlob,ppbPublicKeyBlob,pcbPublicKeyBlob,uHashAlgId,uReserved) \ - ( (This)->lpVtbl -> StrongNameGetPublicKeyEx(This,pwzKeyContainer,pbKeyBlob,cbKeyBlob,ppbPublicKeyBlob,pcbPublicKeyBlob,uHashAlgId,uReserved) ) - -#define ICLRStrongName2_StrongNameSignatureVerificationEx2(This,wszFilePath,fForceVerification,pbEcmaPublicKey,cbEcmaPublicKey,pfWasVerified) \ - ( (This)->lpVtbl -> StrongNameSignatureVerificationEx2(This,wszFilePath,fForceVerification,pbEcmaPublicKey,cbEcmaPublicKey,pfWasVerified) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRStrongName2_INTERFACE_DEFINED__ */ - - -#ifndef __ICLRStrongName3_INTERFACE_DEFINED__ -#define __ICLRStrongName3_INTERFACE_DEFINED__ - -/* interface ICLRStrongName3 */ -/* [object][local][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_ICLRStrongName3; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("22c7089b-bbd3-414a-b698-210f263f1fed") - ICLRStrongName3 : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE StrongNameDigestGenerate( - /* [in] */ LPCWSTR wszFilePath, - /* [out] */ BYTE **ppbDigestBlob, - /* [out] */ ULONG *pcbDigestBlob, - /* [in] */ DWORD dwFlags) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameDigestSign( - /* [in] */ LPCWSTR wszKeyContainer, - /* [size_is][in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [size_is][in] */ BYTE *pbDigestBlob, - /* [in] */ ULONG cbDigestBlob, - /* [in] */ DWORD hashAlgId, - /* [out] */ BYTE **ppbSignatureBlob, - /* [out] */ ULONG *pcbSignatureBlob, - /* [in] */ DWORD dwFlags) = 0; - - virtual HRESULT STDMETHODCALLTYPE StrongNameDigestEmbed( - /* [in] */ LPCWSTR wszFilePath, - /* [size_is][in] */ BYTE *pbSignatureBlob, - /* [in] */ ULONG cbSignatureBlob) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRStrongName3Vtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRStrongName3 * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRStrongName3 * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRStrongName3 * This); - - HRESULT ( STDMETHODCALLTYPE *StrongNameDigestGenerate )( - ICLRStrongName3 * This, - /* [in] */ LPCWSTR wszFilePath, - /* [out] */ BYTE **ppbDigestBlob, - /* [out] */ ULONG *pcbDigestBlob, - /* [in] */ DWORD dwFlags); - - HRESULT ( STDMETHODCALLTYPE *StrongNameDigestSign )( - ICLRStrongName3 * This, - /* [in] */ LPCWSTR wszKeyContainer, - /* [size_is][in] */ BYTE *pbKeyBlob, - /* [in] */ ULONG cbKeyBlob, - /* [size_is][in] */ BYTE *pbDigestBlob, - /* [in] */ ULONG cbDigestBlob, - /* [in] */ DWORD hashAlgId, - /* [out] */ BYTE **ppbSignatureBlob, - /* [out] */ ULONG *pcbSignatureBlob, - /* [in] */ DWORD dwFlags); - - HRESULT ( STDMETHODCALLTYPE *StrongNameDigestEmbed )( - ICLRStrongName3 * This, - /* [in] */ LPCWSTR wszFilePath, - /* [size_is][in] */ BYTE *pbSignatureBlob, - /* [in] */ ULONG cbSignatureBlob); - - END_INTERFACE - } ICLRStrongName3Vtbl; - - interface ICLRStrongName3 - { - CONST_VTBL struct ICLRStrongName3Vtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRStrongName3_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRStrongName3_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRStrongName3_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRStrongName3_StrongNameDigestGenerate(This,wszFilePath,ppbDigestBlob,pcbDigestBlob,dwFlags) \ - ( (This)->lpVtbl -> StrongNameDigestGenerate(This,wszFilePath,ppbDigestBlob,pcbDigestBlob,dwFlags) ) - -#define ICLRStrongName3_StrongNameDigestSign(This,wszKeyContainer,pbKeyBlob,cbKeyBlob,pbDigestBlob,cbDigestBlob,hashAlgId,ppbSignatureBlob,pcbSignatureBlob,dwFlags) \ - ( (This)->lpVtbl -> StrongNameDigestSign(This,wszKeyContainer,pbKeyBlob,cbKeyBlob,pbDigestBlob,cbDigestBlob,hashAlgId,ppbSignatureBlob,pcbSignatureBlob,dwFlags) ) - -#define ICLRStrongName3_StrongNameDigestEmbed(This,wszFilePath,pbSignatureBlob,cbSignatureBlob) \ - ( (This)->lpVtbl -> StrongNameDigestEmbed(This,wszFilePath,pbSignatureBlob,cbSignatureBlob) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRStrongName3_INTERFACE_DEFINED__ */ - - - -#ifndef __CLRMetaHost_LIBRARY_DEFINED__ -#define __CLRMetaHost_LIBRARY_DEFINED__ - -/* library CLRMetaHost */ -/* [version][uuid] */ - - - - - - - - - -EXTERN_C const IID LIBID_CLRMetaHost; -#endif /* __CLRMetaHost_LIBRARY_DEFINED__ */ - -/* interface __MIDL_itf_metahost_0000_0011 */ -/* [local] */ - -#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) - - -extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0011_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0011_v0_0_s_ifspec; - /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ diff --git a/src/pal/prebuilt/inc/mscoree.h b/src/pal/prebuilt/inc/mscoree.h index 13aab94494..42a97c0096 100644 --- a/src/pal/prebuilt/inc/mscoree.h +++ b/src/pal/prebuilt/inc/mscoree.h @@ -22,7 +22,7 @@ #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of <rpcndr.h> -#endif // __RPCNDR_H_VERSION__ +#endif /* __RPCNDR_H_VERSION__ */ #ifndef COM_NO_WINDOWS_H #include "windows.h" @@ -38,69 +38,6 @@ /* Forward Declarations */ -#ifndef __IDebuggerThreadControl_FWD_DEFINED__ -#define __IDebuggerThreadControl_FWD_DEFINED__ -typedef interface IDebuggerThreadControl IDebuggerThreadControl; - -#endif /* __IDebuggerThreadControl_FWD_DEFINED__ */ - - -#ifndef __IDebuggerInfo_FWD_DEFINED__ -#define __IDebuggerInfo_FWD_DEFINED__ -typedef interface IDebuggerInfo IDebuggerInfo; - -#endif /* __IDebuggerInfo_FWD_DEFINED__ */ - - -#ifndef __ICLRErrorReportingManager_FWD_DEFINED__ -#define __ICLRErrorReportingManager_FWD_DEFINED__ -typedef interface ICLRErrorReportingManager ICLRErrorReportingManager; - -#endif /* __ICLRErrorReportingManager_FWD_DEFINED__ */ - - -#ifndef __ICLRErrorReportingManager2_FWD_DEFINED__ -#define __ICLRErrorReportingManager2_FWD_DEFINED__ -typedef interface ICLRErrorReportingManager2 ICLRErrorReportingManager2; - -#endif /* __ICLRErrorReportingManager2_FWD_DEFINED__ */ - - -#ifndef __ICLRPolicyManager_FWD_DEFINED__ -#define __ICLRPolicyManager_FWD_DEFINED__ -typedef interface ICLRPolicyManager ICLRPolicyManager; - -#endif /* __ICLRPolicyManager_FWD_DEFINED__ */ - - -#ifndef __ICLRGCManager_FWD_DEFINED__ -#define __ICLRGCManager_FWD_DEFINED__ -typedef interface ICLRGCManager ICLRGCManager; - -#endif /* __ICLRGCManager_FWD_DEFINED__ */ - - -#ifndef __ICLRGCManager2_FWD_DEFINED__ -#define __ICLRGCManager2_FWD_DEFINED__ -typedef interface ICLRGCManager2 ICLRGCManager2; - -#endif /* __ICLRGCManager2_FWD_DEFINED__ */ - - -#ifndef __IHostControl_FWD_DEFINED__ -#define __IHostControl_FWD_DEFINED__ -typedef interface IHostControl IHostControl; - -#endif /* __IHostControl_FWD_DEFINED__ */ - - -#ifndef __ICLRControl_FWD_DEFINED__ -#define __ICLRControl_FWD_DEFINED__ -typedef interface ICLRControl ICLRControl; - -#endif /* __ICLRControl_FWD_DEFINED__ */ - - #ifndef __ICLRRuntimeHost_FWD_DEFINED__ #define __ICLRRuntimeHost_FWD_DEFINED__ typedef interface ICLRRuntimeHost ICLRRuntimeHost; @@ -119,102 +56,11 @@ typedef interface ICLRRuntimeHost2 ICLRRuntimeHost2; #define __ICLRRuntimeHost4_FWD_DEFINED__ typedef interface ICLRRuntimeHost4 ICLRRuntimeHost4; -#endif /* __ICLRRuntimeHost4_FWD_DEFINED__ */ - - -#ifndef __IHostNetCFDebugControlManager_FWD_DEFINED__ -#define __IHostNetCFDebugControlManager_FWD_DEFINED__ -typedef interface IHostNetCFDebugControlManager IHostNetCFDebugControlManager; - -#endif /* __IHostNetCFDebugControlManager_FWD_DEFINED__ */ - - -#ifndef __ITypeName_FWD_DEFINED__ -#define __ITypeName_FWD_DEFINED__ -typedef interface ITypeName ITypeName; - -#endif /* __ITypeName_FWD_DEFINED__ */ - - -#ifndef __ITypeNameBuilder_FWD_DEFINED__ -#define __ITypeNameBuilder_FWD_DEFINED__ -typedef interface ITypeNameBuilder ITypeNameBuilder; - -#endif /* __ITypeNameBuilder_FWD_DEFINED__ */ - - -#ifndef __ITypeNameFactory_FWD_DEFINED__ -#define __ITypeNameFactory_FWD_DEFINED__ -typedef interface ITypeNameFactory ITypeNameFactory; - -#endif /* __ITypeNameFactory_FWD_DEFINED__ */ - - -#ifndef __IManagedObject_FWD_DEFINED__ -#define __IManagedObject_FWD_DEFINED__ -typedef interface IManagedObject IManagedObject; - -#endif /* __IManagedObject_FWD_DEFINED__ */ - - -#ifndef __ComCallUnmarshal_FWD_DEFINED__ -#define __ComCallUnmarshal_FWD_DEFINED__ - -#ifdef __cplusplus -typedef class ComCallUnmarshal ComCallUnmarshal; -#else -typedef struct ComCallUnmarshal ComCallUnmarshal; -#endif /* __cplusplus */ - -#endif /* __ComCallUnmarshal_FWD_DEFINED__ */ - - -#ifndef __ComCallUnmarshalV4_FWD_DEFINED__ -#define __ComCallUnmarshalV4_FWD_DEFINED__ - -#ifdef __cplusplus -typedef class ComCallUnmarshalV4 ComCallUnmarshalV4; -#else -typedef struct ComCallUnmarshalV4 ComCallUnmarshalV4; -#endif /* __cplusplus */ - -#endif /* __ComCallUnmarshalV4_FWD_DEFINED__ */ - - -#ifndef __CLRRuntimeHost_FWD_DEFINED__ -#define __CLRRuntimeHost_FWD_DEFINED__ - -#ifdef __cplusplus -typedef class CLRRuntimeHost CLRRuntimeHost; -#else -typedef struct CLRRuntimeHost CLRRuntimeHost; -#endif /* __cplusplus */ - -#endif /* __CLRRuntimeHost_FWD_DEFINED__ */ - - -#ifndef __TypeNameFactory_FWD_DEFINED__ -#define __TypeNameFactory_FWD_DEFINED__ - -#ifdef __cplusplus -typedef class TypeNameFactory TypeNameFactory; -#else -typedef struct TypeNameFactory TypeNameFactory; -#endif /* __cplusplus */ - -#endif /* __TypeNameFactory_FWD_DEFINED__ */ - - -#ifndef __ICLRAppDomainResourceMonitor_FWD_DEFINED__ -#define __ICLRAppDomainResourceMonitor_FWD_DEFINED__ -typedef interface ICLRAppDomainResourceMonitor ICLRAppDomainResourceMonitor; - -#endif /* __ICLRAppDomainResourceMonitor_FWD_DEFINED__ */ +#endif /* __ICLRRuntimeHost4_FWD_DEFINED__ */ /* header files for imported files */ #include "unknwn.h" -#include "gchost.h" #ifdef __cplusplus extern "C"{ @@ -229,54 +75,20 @@ extern "C"{ struct IActivationFactory; -EXTERN_GUID(CLSID_TypeNameFactory, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x25); -EXTERN_GUID(CLSID_ComCallUnmarshal, 0x3F281000,0xE95A,0x11d2,0x88,0x6B,0x00,0xC0,0x4F,0x86,0x9F,0x04); +struct IHostControl; + +struct ICLRControl; + EXTERN_GUID(CLSID_ComCallUnmarshalV4, 0x45fb4600,0xe6e8,0x4928,0xb2,0x5e,0x50,0x47,0x6f,0xf7,0x94,0x25); -EXTERN_GUID(IID_IManagedObject, 0xc3fcc19e, 0xa970, 0x11d2, 0x8b, 0x5a, 0x00, 0xa0, 0xc9, 0xb7, 0xc9, 0xc4); -EXTERN_GUID(IID_ICLRAppDomainResourceMonitor, 0XC62DE18C, 0X2E23, 0X4AEA, 0X84, 0X23, 0XB4, 0X0C, 0X1F, 0XC5, 0X9E, 0XAE); -EXTERN_GUID(IID_ICLRPolicyManager, 0x7D290010, 0xD781, 0x45da, 0xA6, 0xF8, 0xAA, 0x5D, 0x71, 0x1A, 0x73, 0x0E); -EXTERN_GUID(IID_ICLRGCManager, 0x54D9007E, 0xA8E2, 0x4885, 0xB7, 0xBF, 0xF9, 0x98, 0xDE, 0xEE, 0x4F, 0x2A); -EXTERN_GUID(IID_ICLRGCManager2, 0x0603B793, 0xA97A, 0x4712, 0x9C, 0xB4, 0x0C, 0xD1, 0xC7, 0x4C, 0x0F, 0x7C); -EXTERN_GUID(IID_ICLRErrorReportingManager, 0x980d2f1a, 0xbf79, 0x4c08, 0x81, 0x2a, 0xbb, 0x97, 0x78, 0x92, 0x8f, 0x78); -EXTERN_GUID(IID_ICLRErrorReportingManager2, 0xc68f63b1, 0x4d8b, 0x4e0b, 0x95, 0x64, 0x9d, 0x2e, 0xfe, 0x2f, 0xa1, 0x8c); EXTERN_GUID(IID_ICLRRuntimeHost, 0x90F1A06C, 0x7712, 0x4762, 0x86, 0xB5, 0x7A, 0x5E, 0xBA, 0x6B, 0xDB, 0x02); EXTERN_GUID(IID_ICLRRuntimeHost2, 0x712AB73F, 0x2C22, 0x4807, 0xAD, 0x7E, 0xF5, 0x01, 0xD7, 0xb7, 0x2C, 0x2D); EXTERN_GUID(IID_ICLRRuntimeHost4, 0x64F6D366, 0xD7C2, 0x4F1F, 0xB4, 0xB2, 0xE8, 0x16, 0x0C, 0xAC, 0x43, 0xAF); -EXTERN_GUID(IID_ITypeName, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x22); -EXTERN_GUID(IID_ITypeNameBuilder, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x23); -EXTERN_GUID(IID_ITypeNameFactory, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x21); -DEPRECATED_CLR_STDAPI GetCORSystemDirectory(_Out_writes_to_(cchBuffer, *dwLength) LPWSTR pbuffer, DWORD cchBuffer, DWORD* dwLength); -DEPRECATED_CLR_STDAPI GetCORVersion(_Out_writes_to_(cchBuffer, *dwLength) LPWSTR pbBuffer, DWORD cchBuffer, DWORD* dwLength); -DEPRECATED_CLR_STDAPI GetFileVersion(LPCWSTR szFilename, _Out_writes_to_opt_(cchBuffer, *dwLength) LPWSTR szBuffer, DWORD cchBuffer, DWORD* dwLength); -DEPRECATED_CLR_STDAPI GetCORRequiredVersion(_Out_writes_to_(cchBuffer, *dwLength) LPWSTR pbuffer, DWORD cchBuffer, DWORD* dwLength); -DEPRECATED_CLR_STDAPI GetRequestedRuntimeInfo(LPCWSTR pExe, LPCWSTR pwszVersion, LPCWSTR pConfigurationFile, DWORD startupFlags, DWORD runtimeInfoFlags, _Out_writes_opt_(dwDirectory) LPWSTR pDirectory, DWORD dwDirectory, _Out_opt_ DWORD *dwDirectoryLength, _Out_writes_opt_(cchBuffer) LPWSTR pVersion, DWORD cchBuffer, _Out_opt_ DWORD* dwlength); -DEPRECATED_CLR_STDAPI GetRequestedRuntimeVersion(_In_ LPWSTR pExe, _Out_writes_to_(cchBuffer, *dwLength) LPWSTR pVersion, DWORD cchBuffer, _Out_ DWORD* dwLength); -DEPRECATED_CLR_STDAPI CorBindToRuntimeHost(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, LPCWSTR pwszHostConfigFile, VOID* pReserved, DWORD startupFlags, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv); -DEPRECATED_CLR_STDAPI CorBindToRuntimeEx(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, DWORD startupFlags, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv); -DEPRECATED_CLR_STDAPI CorBindToRuntimeByCfg(IStream* pCfgStream, DWORD reserved, DWORD startupFlags, REFCLSID rclsid,REFIID riid, LPVOID FAR* ppv); -DEPRECATED_CLR_STDAPI CorBindToRuntime(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv); -DEPRECATED_CLR_STDAPI CorBindToCurrentRuntime(LPCWSTR pwszFileName, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv); -DEPRECATED_CLR_STDAPI RunDll32ShimW(HWND hwnd, HINSTANCE hinst, LPCWSTR lpszCmdLine, int nCmdShow); -DEPRECATED_CLR_STDAPI LoadLibraryShim(LPCWSTR szDllName, LPCWSTR szVersion, LPVOID pvReserved, HMODULE *phModDll); -DEPRECATED_CLR_STDAPI CallFunctionShim(LPCWSTR szDllName, LPCSTR szFunctionName, LPVOID lpvArgument1, LPVOID lpvArgument2, LPCWSTR szVersion, LPVOID pvReserved); -DEPRECATED_CLR_STDAPI GetRealProcAddress(LPCSTR pwszProcName, VOID** ppv); -DECLARE_DEPRECATED void STDMETHODCALLTYPE CorExitProcess(int exitCode); -DEPRECATED_CLR_STDAPI LoadStringRC(UINT iResouceID, _Out_writes_z_(iMax) LPWSTR szBuffer, int iMax, int bQuiet); typedef HRESULT (STDAPICALLTYPE *FnGetCLRRuntimeHost)(REFIID riid, IUnknown **pUnk); -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0000_0001 - { - HOST_TYPE_DEFAULT = 0, - HOST_TYPE_APPLAUNCH = 0x1, - HOST_TYPE_CORFLAG = 0x2 - } HOST_TYPE; - -STDAPI CorLaunchApplication(HOST_TYPE dwClickOnceHost, LPCWSTR pwzAppFullName, DWORD dwManifestPaths, LPCWSTR* ppwzManifestPaths, DWORD dwActivationData, LPCWSTR* ppwzActivationData, LPPROCESS_INFORMATION lpProcessInformation); typedef HRESULT ( __stdcall *FExecuteInAppDomainCallback )( void *cookie); typedef /* [public][public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0000_0002 +enum __MIDL___MIDL_itf_mscoree_0000_0000_0001 { STARTUP_CONCURRENT_GC = 0x1, STARTUP_LOADER_OPTIMIZATION_MASK = ( 0x3 << 1 ) , @@ -296,31 +108,11 @@ enum __MIDL___MIDL_itf_mscoree_0000_0000_0002 STARTUP_ARM = 0x400000, STARTUP_SINGLE_APPDOMAIN = 0x800000, STARTUP_APPX_APP_MODEL = 0x1000000, - STARTUP_DISABLE_RANDOMIZED_STRING_HASHING = 0x2000000 // not supported + STARTUP_DISABLE_RANDOMIZED_STRING_HASHING = 0x2000000 } STARTUP_FLAGS; typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0000_0003 - { - CLSID_RESOLUTION_DEFAULT = 0, - CLSID_RESOLUTION_REGISTERED = 0x1 - } CLSID_RESOLUTION_FLAGS; - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0000_0004 - { - RUNTIME_INFO_UPGRADE_VERSION = 0x1, - RUNTIME_INFO_REQUEST_IA64 = 0x2, - RUNTIME_INFO_REQUEST_AMD64 = 0x4, - RUNTIME_INFO_REQUEST_X86 = 0x8, - RUNTIME_INFO_DONT_RETURN_DIRECTORY = 0x10, - RUNTIME_INFO_DONT_RETURN_VERSION = 0x20, - RUNTIME_INFO_DONT_SHOW_ERROR_DIALOG = 0x40, - RUNTIME_INFO_IGNORE_ERROR_MODE = 0x1000 - } RUNTIME_INFO_FLAGS; - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0000_0005 +enum __MIDL___MIDL_itf_mscoree_0000_0000_0002 { APPDOMAIN_SECURITY_DEFAULT = 0, APPDOMAIN_SECURITY_SANDBOXED = 0x1, @@ -328,237 +120,19 @@ enum __MIDL___MIDL_itf_mscoree_0000_0000_0005 APPDOMAIN_IGNORE_UNHANDLED_EXCEPTIONS = 0x4, APPDOMAIN_FORCE_TRIVIAL_WAIT_OPERATIONS = 0x8, APPDOMAIN_ENABLE_PINVOKE_AND_CLASSIC_COMINTEROP = 0x10, - APPDOMAIN_SET_TEST_KEY = 0x20, APPDOMAIN_ENABLE_PLATFORM_SPECIFIC_APPS = 0x40, APPDOMAIN_ENABLE_ASSEMBLY_LOADFILE = 0x80, APPDOMAIN_DISABLE_TRANSPARENCY_ENFORCEMENT = 0x100 } APPDOMAIN_SECURITY_FLAGS; -STDAPI GetRequestedRuntimeVersionForCLSID(REFCLSID rclsid, _Out_writes_opt_(cchBuffer) LPWSTR pVersion, DWORD cchBuffer, _Out_opt_ DWORD* dwLength, CLSID_RESOLUTION_FLAGS dwResolutionFlags); -EXTERN_GUID(IID_IDebuggerThreadControl, 0x23d86786, 0x0bb5, 0x4774, 0x8f, 0xb5, 0xe3, 0x52, 0x2a, 0xdd, 0x62, 0x46); - - -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0000_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0000_v0_0_s_ifspec; - -#ifndef __IDebuggerThreadControl_INTERFACE_DEFINED__ -#define __IDebuggerThreadControl_INTERFACE_DEFINED__ - -/* interface IDebuggerThreadControl */ -/* [object][local][unique][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_IDebuggerThreadControl; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("23D86786-0BB5-4774-8FB5-E3522ADD6246") - IDebuggerThreadControl : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE ThreadIsBlockingForDebugger( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE ReleaseAllRuntimeThreads( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE StartBlockingForDebugger( - DWORD dwUnused) = 0; - - }; - - -#else /* C style interface */ - - typedef struct IDebuggerThreadControlVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - IDebuggerThreadControl * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - IDebuggerThreadControl * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - IDebuggerThreadControl * This); - - HRESULT ( STDMETHODCALLTYPE *ThreadIsBlockingForDebugger )( - IDebuggerThreadControl * This); - - HRESULT ( STDMETHODCALLTYPE *ReleaseAllRuntimeThreads )( - IDebuggerThreadControl * This); - - HRESULT ( STDMETHODCALLTYPE *StartBlockingForDebugger )( - IDebuggerThreadControl * This, - DWORD dwUnused); - - END_INTERFACE - } IDebuggerThreadControlVtbl; - - interface IDebuggerThreadControl - { - CONST_VTBL struct IDebuggerThreadControlVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define IDebuggerThreadControl_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define IDebuggerThreadControl_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define IDebuggerThreadControl_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define IDebuggerThreadControl_ThreadIsBlockingForDebugger(This) \ - ( (This)->lpVtbl -> ThreadIsBlockingForDebugger(This) ) - -#define IDebuggerThreadControl_ReleaseAllRuntimeThreads(This) \ - ( (This)->lpVtbl -> ReleaseAllRuntimeThreads(This) ) - -#define IDebuggerThreadControl_StartBlockingForDebugger(This,dwUnused) \ - ( (This)->lpVtbl -> StartBlockingForDebugger(This,dwUnused) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __IDebuggerThreadControl_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_mscoree_0000_0001 */ -/* [local] */ - -EXTERN_GUID(IID_IDebuggerInfo, 0xbf24142d, 0xa47d, 0x4d24, 0xa6, 0x6d, 0x8c, 0x21, 0x41, 0x94, 0x4e, 0x44); - - -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0001_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0001_v0_0_s_ifspec; - -#ifndef __IDebuggerInfo_INTERFACE_DEFINED__ -#define __IDebuggerInfo_INTERFACE_DEFINED__ - -/* interface IDebuggerInfo */ -/* [object][local][unique][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_IDebuggerInfo; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("BF24142D-A47D-4d24-A66D-8C2141944E44") - IDebuggerInfo : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE IsDebuggerAttached( - /* [out] */ BOOL *pbAttached) = 0; - - }; - - -#else /* C style interface */ - - typedef struct IDebuggerInfoVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - IDebuggerInfo * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - IDebuggerInfo * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - IDebuggerInfo * This); - - HRESULT ( STDMETHODCALLTYPE *IsDebuggerAttached )( - IDebuggerInfo * This, - /* [out] */ BOOL *pbAttached); - - END_INTERFACE - } IDebuggerInfoVtbl; - - interface IDebuggerInfo - { - CONST_VTBL struct IDebuggerInfoVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define IDebuggerInfo_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define IDebuggerInfo_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define IDebuggerInfo_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define IDebuggerInfo_IsDebuggerAttached(This,pbAttached) \ - ( (This)->lpVtbl -> IsDebuggerAttached(This,pbAttached) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __IDebuggerInfo_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_mscoree_0000_0002 */ -/* [local] */ - -typedef void *HDOMAINENUM; - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0002_0001 - { - eMemoryAvailableLow = 1, - eMemoryAvailableNeutral = 2, - eMemoryAvailableHigh = 3 - } EMemoryAvailable; - typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0002_0002 - { - eTaskCritical = 0, - eAppDomainCritical = 1, - eProcessCritical = 2 - } EMemoryCriticalLevel; - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0002_0003 +enum __MIDL___MIDL_itf_mscoree_0000_0000_0003 { WAIT_MSGPUMP = 0x1, WAIT_ALERTABLE = 0x2, WAIT_NOTINDEADLOCK = 0x4 } WAIT_OPTION; -typedef UINT64 TASKID; - -typedef DWORD CONNID; - typedef enum ETaskType { @@ -576,15 +150,7 @@ enum ETaskType } ETaskType; typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0002_0004 - { - eSymbolReadingNever = 0, - eSymbolReadingAlways = 1, - eSymbolReadingFullTrustOnly = 2 - } ESymbolReadingPolicy; - -typedef /* [public][public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0002_0005 +enum __MIDL___MIDL_itf_mscoree_0000_0000_0004 { DUMP_FLAVOR_Mini = 0, DUMP_FLAVOR_CriticalCLRState = 1, @@ -592,27 +158,12 @@ enum __MIDL___MIDL_itf_mscoree_0000_0002_0005 DUMP_FLAVOR_Default = DUMP_FLAVOR_Mini } ECustomDumpFlavor; -typedef /* [public][public][public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0002_0006 - { - DUMP_ITEM_None = 0 - } ECustomDumpItemKind; - -typedef /* [public][public] */ struct __MIDL___MIDL_itf_mscoree_0000_0002_0007 - { - ECustomDumpItemKind itemKind; - union - { - UINT_PTR pReserved; - } ; - } CustomDumpItem; - #define BucketParamsCount ( 10 ) #define BucketParamLength ( 255 ) typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0002_0009 +enum __MIDL___MIDL_itf_mscoree_0000_0000_0005 { Parameter1 = 0, Parameter2 = ( Parameter1 + 1 ) , @@ -633,253 +184,8 @@ typedef struct _BucketParameters WCHAR pszParams[ 10 ][ 255 ]; } BucketParameters; - - -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0002_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0002_v0_0_s_ifspec; - -#ifndef __ICLRErrorReportingManager_INTERFACE_DEFINED__ -#define __ICLRErrorReportingManager_INTERFACE_DEFINED__ - -/* interface ICLRErrorReportingManager */ -/* [object][local][unique][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_ICLRErrorReportingManager; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("980D2F1A-BF79-4c08-812A-BB9778928F78") - ICLRErrorReportingManager : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE GetBucketParametersForCurrentException( - /* [out] */ BucketParameters *pParams) = 0; - - virtual HRESULT STDMETHODCALLTYPE BeginCustomDump( - /* [in] */ ECustomDumpFlavor dwFlavor, - /* [in] */ DWORD dwNumItems, - /* [length_is][size_is][in] */ CustomDumpItem *items, - DWORD dwReserved) = 0; - - virtual HRESULT STDMETHODCALLTYPE EndCustomDump( void) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRErrorReportingManagerVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRErrorReportingManager * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRErrorReportingManager * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRErrorReportingManager * This); - - HRESULT ( STDMETHODCALLTYPE *GetBucketParametersForCurrentException )( - ICLRErrorReportingManager * This, - /* [out] */ BucketParameters *pParams); - - HRESULT ( STDMETHODCALLTYPE *BeginCustomDump )( - ICLRErrorReportingManager * This, - /* [in] */ ECustomDumpFlavor dwFlavor, - /* [in] */ DWORD dwNumItems, - /* [length_is][size_is][in] */ CustomDumpItem *items, - DWORD dwReserved); - - HRESULT ( STDMETHODCALLTYPE *EndCustomDump )( - ICLRErrorReportingManager * This); - - END_INTERFACE - } ICLRErrorReportingManagerVtbl; - - interface ICLRErrorReportingManager - { - CONST_VTBL struct ICLRErrorReportingManagerVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRErrorReportingManager_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRErrorReportingManager_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRErrorReportingManager_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRErrorReportingManager_GetBucketParametersForCurrentException(This,pParams) \ - ( (This)->lpVtbl -> GetBucketParametersForCurrentException(This,pParams) ) - -#define ICLRErrorReportingManager_BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) \ - ( (This)->lpVtbl -> BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) ) - -#define ICLRErrorReportingManager_EndCustomDump(This) \ - ( (This)->lpVtbl -> EndCustomDump(This) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRErrorReportingManager_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_mscoree_0000_0003 */ -/* [local] */ - -typedef /* [public][public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0003_0001 - { - ApplicationID = 0x1, - InstanceID = 0x2 - } ApplicationDataKey; - - - -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0003_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0003_v0_0_s_ifspec; - -#ifndef __ICLRErrorReportingManager2_INTERFACE_DEFINED__ -#define __ICLRErrorReportingManager2_INTERFACE_DEFINED__ - -/* interface ICLRErrorReportingManager2 */ -/* [object][local][unique][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_ICLRErrorReportingManager2; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("C68F63B1-4D8B-4E0B-9564-9D2EFE2FA18C") - ICLRErrorReportingManager2 : public ICLRErrorReportingManager - { - public: - virtual HRESULT STDMETHODCALLTYPE SetApplicationData( - /* [in] */ ApplicationDataKey key, - /* [in] */ const WCHAR *pValue) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetBucketParametersForUnhandledException( - /* [in] */ const BucketParameters *pBucketParams, - /* [out] */ DWORD *pCountParams) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRErrorReportingManager2Vtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRErrorReportingManager2 * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRErrorReportingManager2 * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRErrorReportingManager2 * This); - - HRESULT ( STDMETHODCALLTYPE *GetBucketParametersForCurrentException )( - ICLRErrorReportingManager2 * This, - /* [out] */ BucketParameters *pParams); - - HRESULT ( STDMETHODCALLTYPE *BeginCustomDump )( - ICLRErrorReportingManager2 * This, - /* [in] */ ECustomDumpFlavor dwFlavor, - /* [in] */ DWORD dwNumItems, - /* [length_is][size_is][in] */ CustomDumpItem *items, - DWORD dwReserved); - - HRESULT ( STDMETHODCALLTYPE *EndCustomDump )( - ICLRErrorReportingManager2 * This); - - HRESULT ( STDMETHODCALLTYPE *SetApplicationData )( - ICLRErrorReportingManager2 * This, - /* [in] */ ApplicationDataKey key, - /* [in] */ const WCHAR *pValue); - - HRESULT ( STDMETHODCALLTYPE *SetBucketParametersForUnhandledException )( - ICLRErrorReportingManager2 * This, - /* [in] */ const BucketParameters *pBucketParams, - /* [out] */ DWORD *pCountParams); - - END_INTERFACE - } ICLRErrorReportingManager2Vtbl; - - interface ICLRErrorReportingManager2 - { - CONST_VTBL struct ICLRErrorReportingManager2Vtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRErrorReportingManager2_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRErrorReportingManager2_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRErrorReportingManager2_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRErrorReportingManager2_GetBucketParametersForCurrentException(This,pParams) \ - ( (This)->lpVtbl -> GetBucketParametersForCurrentException(This,pParams) ) - -#define ICLRErrorReportingManager2_BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) \ - ( (This)->lpVtbl -> BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) ) - -#define ICLRErrorReportingManager2_EndCustomDump(This) \ - ( (This)->lpVtbl -> EndCustomDump(This) ) - - -#define ICLRErrorReportingManager2_SetApplicationData(This,key,pValue) \ - ( (This)->lpVtbl -> SetApplicationData(This,key,pValue) ) - -#define ICLRErrorReportingManager2_SetBucketParametersForUnhandledException(This,pBucketParams,pCountParams) \ - ( (This)->lpVtbl -> SetBucketParametersForUnhandledException(This,pBucketParams,pCountParams) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRErrorReportingManager2_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_mscoree_0000_0004 */ -/* [local] */ - -typedef /* [public][public][public][public][public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0004_0001 +typedef /* [public] */ +enum __MIDL___MIDL_itf_mscoree_0000_0000_0006 { OPR_ThreadAbort = 0, OPR_ThreadRudeAbortInNonCriticalRegion = ( OPR_ThreadAbort + 1 ) , @@ -891,8 +197,8 @@ enum __MIDL___MIDL_itf_mscoree_0000_0004_0001 MaxClrOperation = ( OPR_FinalizerRun + 1 ) } EClrOperation; -typedef /* [public][public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0004_0002 +typedef /* [public] */ +enum __MIDL___MIDL_itf_mscoree_0000_0000_0007 { FAIL_NonCriticalResource = 0, FAIL_CriticalResource = ( FAIL_NonCriticalResource + 1 ) , @@ -904,15 +210,15 @@ enum __MIDL___MIDL_itf_mscoree_0000_0004_0002 MaxClrFailure = ( FAIL_CodeContract + 1 ) } EClrFailure; -typedef /* [public][public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0004_0003 +typedef /* [public] */ +enum __MIDL___MIDL_itf_mscoree_0000_0000_0008 { eRuntimeDeterminedPolicy = 0, eHostDeterminedPolicy = ( eRuntimeDeterminedPolicy + 1 ) } EClrUnhandledException; -typedef /* [public][public][public][public][public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0004_0004 +typedef /* [public] */ +enum __MIDL___MIDL_itf_mscoree_0000_0000_0009 { eNoAction = 0, eThrowException = ( eNoAction + 1 ) , @@ -929,636 +235,8 @@ enum __MIDL___MIDL_itf_mscoree_0000_0004_0004 -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0004_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0004_v0_0_s_ifspec; - -#ifndef __ICLRPolicyManager_INTERFACE_DEFINED__ -#define __ICLRPolicyManager_INTERFACE_DEFINED__ - -/* interface ICLRPolicyManager */ -/* [object][local][unique][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_ICLRPolicyManager; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("7D290010-D781-45da-A6F8-AA5D711A730E") - ICLRPolicyManager : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE SetDefaultAction( - /* [in] */ EClrOperation operation, - /* [in] */ EPolicyAction action) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetTimeout( - /* [in] */ EClrOperation operation, - /* [in] */ DWORD dwMilliseconds) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetActionOnTimeout( - /* [in] */ EClrOperation operation, - /* [in] */ EPolicyAction action) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetTimeoutAndAction( - /* [in] */ EClrOperation operation, - /* [in] */ DWORD dwMilliseconds, - /* [in] */ EPolicyAction action) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetActionOnFailure( - /* [in] */ EClrFailure failure, - /* [in] */ EPolicyAction action) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetUnhandledExceptionPolicy( - /* [in] */ EClrUnhandledException policy) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRPolicyManagerVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRPolicyManager * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRPolicyManager * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRPolicyManager * This); - - HRESULT ( STDMETHODCALLTYPE *SetDefaultAction )( - ICLRPolicyManager * This, - /* [in] */ EClrOperation operation, - /* [in] */ EPolicyAction action); - - HRESULT ( STDMETHODCALLTYPE *SetTimeout )( - ICLRPolicyManager * This, - /* [in] */ EClrOperation operation, - /* [in] */ DWORD dwMilliseconds); - - HRESULT ( STDMETHODCALLTYPE *SetActionOnTimeout )( - ICLRPolicyManager * This, - /* [in] */ EClrOperation operation, - /* [in] */ EPolicyAction action); - - HRESULT ( STDMETHODCALLTYPE *SetTimeoutAndAction )( - ICLRPolicyManager * This, - /* [in] */ EClrOperation operation, - /* [in] */ DWORD dwMilliseconds, - /* [in] */ EPolicyAction action); - - HRESULT ( STDMETHODCALLTYPE *SetActionOnFailure )( - ICLRPolicyManager * This, - /* [in] */ EClrFailure failure, - /* [in] */ EPolicyAction action); - - HRESULT ( STDMETHODCALLTYPE *SetUnhandledExceptionPolicy )( - ICLRPolicyManager * This, - /* [in] */ EClrUnhandledException policy); - - END_INTERFACE - } ICLRPolicyManagerVtbl; - - interface ICLRPolicyManager - { - CONST_VTBL struct ICLRPolicyManagerVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRPolicyManager_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRPolicyManager_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRPolicyManager_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRPolicyManager_SetDefaultAction(This,operation,action) \ - ( (This)->lpVtbl -> SetDefaultAction(This,operation,action) ) - -#define ICLRPolicyManager_SetTimeout(This,operation,dwMilliseconds) \ - ( (This)->lpVtbl -> SetTimeout(This,operation,dwMilliseconds) ) - -#define ICLRPolicyManager_SetActionOnTimeout(This,operation,action) \ - ( (This)->lpVtbl -> SetActionOnTimeout(This,operation,action) ) - -#define ICLRPolicyManager_SetTimeoutAndAction(This,operation,dwMilliseconds,action) \ - ( (This)->lpVtbl -> SetTimeoutAndAction(This,operation,dwMilliseconds,action) ) - -#define ICLRPolicyManager_SetActionOnFailure(This,failure,action) \ - ( (This)->lpVtbl -> SetActionOnFailure(This,failure,action) ) - -#define ICLRPolicyManager_SetUnhandledExceptionPolicy(This,policy) \ - ( (This)->lpVtbl -> SetUnhandledExceptionPolicy(This,policy) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRPolicyManager_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_mscoree_0000_0005 */ -/* [local] */ - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0005_0001 - { - Event_DomainUnload = 0, - Event_ClrDisabled = ( Event_DomainUnload + 1 ) , - Event_MDAFired = ( Event_ClrDisabled + 1 ) , - Event_StackOverflow = ( Event_MDAFired + 1 ) , - MaxClrEvent = ( Event_StackOverflow + 1 ) - } EClrEvent; - -typedef struct _MDAInfo - { - LPCWSTR lpMDACaption; - LPCWSTR lpMDAMessage; - LPCWSTR lpStackTrace; - } MDAInfo; - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0005_0002 - { - SO_Managed = 0, - SO_ClrEngine = ( SO_Managed + 1 ) , - SO_Other = ( SO_ClrEngine + 1 ) - } StackOverflowType; - -typedef struct _StackOverflowInfo -{ - StackOverflowType soType; - EXCEPTION_POINTERS *pExceptionInfo; -} StackOverflowInfo; - - -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0005_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0005_v0_0_s_ifspec; - -#ifndef __ICLRGCManager_INTERFACE_DEFINED__ -#define __ICLRGCManager_INTERFACE_DEFINED__ - -/* interface ICLRGCManager */ -/* [object][local][unique][version][uuid] */ - - -EXTERN_C const IID IID_ICLRGCManager; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("54D9007E-A8E2-4885-B7BF-F998DEEE4F2A") - ICLRGCManager : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE Collect( - /* [in] */ LONG Generation) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetStats( - /* [out][in] */ COR_GC_STATS *pStats) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetGCStartupLimits( - /* [in] */ DWORD SegmentSize, - /* [in] */ DWORD MaxGen0Size) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRGCManagerVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRGCManager * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRGCManager * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRGCManager * This); - - HRESULT ( STDMETHODCALLTYPE *Collect )( - ICLRGCManager * This, - /* [in] */ LONG Generation); - - HRESULT ( STDMETHODCALLTYPE *GetStats )( - ICLRGCManager * This, - /* [out][in] */ COR_GC_STATS *pStats); - - HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimits )( - ICLRGCManager * This, - /* [in] */ DWORD SegmentSize, - /* [in] */ DWORD MaxGen0Size); - - END_INTERFACE - } ICLRGCManagerVtbl; - - interface ICLRGCManager - { - CONST_VTBL struct ICLRGCManagerVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRGCManager_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRGCManager_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRGCManager_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRGCManager_Collect(This,Generation) \ - ( (This)->lpVtbl -> Collect(This,Generation) ) - -#define ICLRGCManager_GetStats(This,pStats) \ - ( (This)->lpVtbl -> GetStats(This,pStats) ) - -#define ICLRGCManager_SetGCStartupLimits(This,SegmentSize,MaxGen0Size) \ - ( (This)->lpVtbl -> SetGCStartupLimits(This,SegmentSize,MaxGen0Size) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRGCManager_INTERFACE_DEFINED__ */ - - -#ifndef __ICLRGCManager2_INTERFACE_DEFINED__ -#define __ICLRGCManager2_INTERFACE_DEFINED__ - -/* interface ICLRGCManager2 */ -/* [object][local][unique][version][uuid] */ - - -EXTERN_C const IID IID_ICLRGCManager2; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("0603B793-A97A-4712-9CB4-0CD1C74C0F7C") - ICLRGCManager2 : public ICLRGCManager - { - public: - virtual HRESULT STDMETHODCALLTYPE SetGCStartupLimitsEx( - /* [in] */ SIZE_T SegmentSize, - /* [in] */ SIZE_T MaxGen0Size) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRGCManager2Vtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRGCManager2 * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRGCManager2 * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRGCManager2 * This); - - HRESULT ( STDMETHODCALLTYPE *Collect )( - ICLRGCManager2 * This, - /* [in] */ LONG Generation); - - HRESULT ( STDMETHODCALLTYPE *GetStats )( - ICLRGCManager2 * This, - /* [out][in] */ COR_GC_STATS *pStats); - - HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimits )( - ICLRGCManager2 * This, - /* [in] */ DWORD SegmentSize, - /* [in] */ DWORD MaxGen0Size); - - HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimitsEx )( - ICLRGCManager2 * This, - /* [in] */ SIZE_T SegmentSize, - /* [in] */ SIZE_T MaxGen0Size); - - END_INTERFACE - } ICLRGCManager2Vtbl; - - interface ICLRGCManager2 - { - CONST_VTBL struct ICLRGCManager2Vtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRGCManager2_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRGCManager2_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRGCManager2_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRGCManager2_Collect(This,Generation) \ - ( (This)->lpVtbl -> Collect(This,Generation) ) - -#define ICLRGCManager2_GetStats(This,pStats) \ - ( (This)->lpVtbl -> GetStats(This,pStats) ) - -#define ICLRGCManager2_SetGCStartupLimits(This,SegmentSize,MaxGen0Size) \ - ( (This)->lpVtbl -> SetGCStartupLimits(This,SegmentSize,MaxGen0Size) ) - - -#define ICLRGCManager2_SetGCStartupLimitsEx(This,SegmentSize,MaxGen0Size) \ - ( (This)->lpVtbl -> SetGCStartupLimitsEx(This,SegmentSize,MaxGen0Size) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRGCManager2_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_mscoree_0000_0007 */ -/* [local] */ - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0007_0001 - { - ePolicyLevelNone = 0, - ePolicyLevelRetargetable = 0x1, - ePolicyUnifiedToCLR = 0x2, - ePolicyLevelApp = 0x4, - ePolicyLevelPublisher = 0x8, - ePolicyLevelHost = 0x10, - ePolicyLevelAdmin = 0x20, - ePolicyPortability = 0x40 - } EBindPolicyLevels; - -typedef struct _AssemblyBindInfo - { - DWORD dwAppDomainId; - LPCWSTR lpReferencedIdentity; - LPCWSTR lpPostPolicyIdentity; - DWORD ePolicyLevel; - } AssemblyBindInfo; - -typedef struct _ModuleBindInfo - { - DWORD dwAppDomainId; - LPCWSTR lpAssemblyIdentity; - LPCWSTR lpModuleName; - } ModuleBindInfo; - -typedef -enum _HostApplicationPolicy - { - HOST_APPLICATION_BINDING_POLICY = 1 - } EHostApplicationPolicy; - -STDAPI GetCLRIdentityManager(REFIID riid, IUnknown **ppManager); -EXTERN_GUID(IID_IHostControl, 0x02CA073C, 0x7079, 0x4860, 0x88, 0x0A, 0xC2, 0xF7, 0xA4, 0x49, 0xC9, 0x91); - - -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0007_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0007_v0_0_s_ifspec; - -#ifndef __IHostControl_INTERFACE_DEFINED__ -#define __IHostControl_INTERFACE_DEFINED__ - -/* interface IHostControl */ -/* [object][local][unique][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_IHostControl; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("02CA073C-7079-4860-880A-C2F7A449C991") - IHostControl : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE GetHostManager( - /* [in] */ REFIID riid, - /* [out] */ void **ppObject) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetAppDomainManager( - /* [in] */ DWORD dwAppDomainID, - /* [in] */ IUnknown *pUnkAppDomainManager) = 0; - - }; - - -#else /* C style interface */ - - typedef struct IHostControlVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - IHostControl * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - IHostControl * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - IHostControl * This); - - HRESULT ( STDMETHODCALLTYPE *GetHostManager )( - IHostControl * This, - /* [in] */ REFIID riid, - /* [out] */ void **ppObject); - - HRESULT ( STDMETHODCALLTYPE *SetAppDomainManager )( - IHostControl * This, - /* [in] */ DWORD dwAppDomainID, - /* [in] */ IUnknown *pUnkAppDomainManager); - - END_INTERFACE - } IHostControlVtbl; - - interface IHostControl - { - CONST_VTBL struct IHostControlVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define IHostControl_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define IHostControl_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define IHostControl_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define IHostControl_GetHostManager(This,riid,ppObject) \ - ( (This)->lpVtbl -> GetHostManager(This,riid,ppObject) ) - -#define IHostControl_SetAppDomainManager(This,dwAppDomainID,pUnkAppDomainManager) \ - ( (This)->lpVtbl -> SetAppDomainManager(This,dwAppDomainID,pUnkAppDomainManager) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __IHostControl_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_mscoree_0000_0008 */ -/* [local] */ - -EXTERN_GUID(IID_ICLRControl, 0x9065597E, 0xD1A1, 0x4fb2, 0xB6, 0xBA, 0x7E, 0x1F, 0xCE, 0x23, 0x0F, 0x61); - - -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0008_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0008_v0_0_s_ifspec; - -#ifndef __ICLRControl_INTERFACE_DEFINED__ -#define __ICLRControl_INTERFACE_DEFINED__ - -/* interface ICLRControl */ -/* [object][local][unique][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_ICLRControl; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("9065597E-D1A1-4fb2-B6BA-7E1FCE230F61") - ICLRControl : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE GetCLRManager( - /* [in] */ REFIID riid, - /* [out] */ void **ppObject) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetAppDomainManagerType( - /* [in] */ LPCWSTR pwzAppDomainManagerAssembly, - /* [in] */ LPCWSTR pwzAppDomainManagerType) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRControlVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRControl * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRControl * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRControl * This); - - HRESULT ( STDMETHODCALLTYPE *GetCLRManager )( - ICLRControl * This, - /* [in] */ REFIID riid, - /* [out] */ void **ppObject); - - HRESULT ( STDMETHODCALLTYPE *SetAppDomainManagerType )( - ICLRControl * This, - /* [in] */ LPCWSTR pwzAppDomainManagerAssembly, - /* [in] */ LPCWSTR pwzAppDomainManagerType); - - END_INTERFACE - } ICLRControlVtbl; - - interface ICLRControl - { - CONST_VTBL struct ICLRControlVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRControl_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRControl_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRControl_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRControl_GetCLRManager(This,riid,ppObject) \ - ( (This)->lpVtbl -> GetCLRManager(This,riid,ppObject) ) - -#define ICLRControl_SetAppDomainManagerType(This,pwzAppDomainManagerAssembly,pwzAppDomainManagerType) \ - ( (This)->lpVtbl -> SetAppDomainManagerType(This,pwzAppDomainManagerAssembly,pwzAppDomainManagerType) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRControl_INTERFACE_DEFINED__ */ - +extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0000_v0_0_s_ifspec; #ifndef __ICLRRuntimeHost_INTERFACE_DEFINED__ #define __ICLRRuntimeHost_INTERFACE_DEFINED__ @@ -1740,16 +418,6 @@ EXTERN_C const IID IID_ICLRRuntimeHost; #endif /* __ICLRRuntimeHost_INTERFACE_DEFINED__ */ -/* interface __MIDL_itf_mscoree_0000_0010 */ -/* [local] */ - -#define CORECLR_HOST_AUTHENTICATION_KEY 0x1C6CA6F94025800LL -#define CORECLR_HOST_AUTHENTICATION_KEY_NONGEN 0x1C6CA6F94025801LL - - -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0010_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0010_v0_0_s_ifspec; - #ifndef __ICLRRuntimeHost2_INTERFACE_DEFINED__ #define __ICLRRuntimeHost2_INTERFACE_DEFINED__ @@ -1804,16 +472,6 @@ EXTERN_C const IID IID_ICLRRuntimeHost2; }; - MIDL_INTERFACE("64F6D366-D7C2-4F1F-B4B2-E8160CAC43AF") - ICLRRuntimeHost4 : public ICLRRuntimeHost2 - { - virtual HRESULT STDMETHODCALLTYPE UnloadAppDomain2( - /* [in] */ DWORD dwAppDomainId, - /* [in] */ BOOL fWaitUntilDone, - /* [out] */ int *pLatchedExitCode) = 0; - - }; - #else /* C style interface */ @@ -2006,618 +664,149 @@ EXTERN_C const IID IID_ICLRRuntimeHost2; #endif /* __ICLRRuntimeHost2_INTERFACE_DEFINED__ */ -#ifndef __IHostNetCFDebugControlManager_INTERFACE_DEFINED__ -#define __IHostNetCFDebugControlManager_INTERFACE_DEFINED__ - -/* interface IHostNetCFDebugControlManager */ -/* [object][local][unique][helpstring][version][uuid] */ - - -EXTERN_C const IID IID_IHostNetCFDebugControlManager; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("F2833A0C-F944-48d8-940E-F59425EDBFCF") - IHostNetCFDebugControlManager : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE NotifyPause( - DWORD dwReserved) = 0; - - virtual HRESULT STDMETHODCALLTYPE NotifyResume( - DWORD dwReserved) = 0; - - }; - - -#else /* C style interface */ - - typedef struct IHostNetCFDebugControlManagerVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - IHostNetCFDebugControlManager * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - IHostNetCFDebugControlManager * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - IHostNetCFDebugControlManager * This); - - HRESULT ( STDMETHODCALLTYPE *NotifyPause )( - IHostNetCFDebugControlManager * This, - DWORD dwReserved); - - HRESULT ( STDMETHODCALLTYPE *NotifyResume )( - IHostNetCFDebugControlManager * This, - DWORD dwReserved); - - END_INTERFACE - } IHostNetCFDebugControlManagerVtbl; - - interface IHostNetCFDebugControlManager - { - CONST_VTBL struct IHostNetCFDebugControlManagerVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define IHostNetCFDebugControlManager_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define IHostNetCFDebugControlManager_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define IHostNetCFDebugControlManager_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define IHostNetCFDebugControlManager_NotifyPause(This,dwReserved) \ - ( (This)->lpVtbl -> NotifyPause(This,dwReserved) ) - -#define IHostNetCFDebugControlManager_NotifyResume(This,dwReserved) \ - ( (This)->lpVtbl -> NotifyResume(This,dwReserved) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __IHostNetCFDebugControlManager_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_mscoree_0000_0013 */ -/* [local] */ - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0013_0001 - { - eNoChecks = 0, - eSynchronization = 0x1, - eSharedState = 0x2, - eExternalProcessMgmt = 0x4, - eSelfAffectingProcessMgmt = 0x8, - eExternalThreading = 0x10, - eSelfAffectingThreading = 0x20, - eSecurityInfrastructure = 0x40, - eUI = 0x80, - eMayLeakOnAbort = 0x100, - eAll = 0x1ff - } EApiCategories; - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0013_0002 - { - eInitializeNewDomainFlags_None = 0, - eInitializeNewDomainFlags_NoSecurityChanges = 0x2 - } EInitializeNewDomainFlags; - - - -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0013_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0013_v0_0_s_ifspec; - +#ifndef __ICLRRuntimeHost4_INTERFACE_DEFINED__ +#define __ICLRRuntimeHost4_INTERFACE_DEFINED__ -#ifndef __mscoree_LIBRARY_DEFINED__ -#define __mscoree_LIBRARY_DEFINED__ - -/* library mscoree */ -/* [helpstring][version][uuid] */ - -#define CCW_PTR int * - -EXTERN_C const IID LIBID_mscoree; - -#ifndef __ITypeName_INTERFACE_DEFINED__ -#define __ITypeName_INTERFACE_DEFINED__ - -/* interface ITypeName */ -/* [unique][helpstring][uuid][oleautomation][object] */ - - -EXTERN_C const IID IID_ITypeName; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("B81FF171-20F3-11d2-8DCC-00A0C9B00522") - ITypeName : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE GetNameCount( - /* [retval][out] */ DWORD *pCount) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetNames( - /* [in] */ DWORD count, - /* [out] */ BSTR *rgbszNames, - /* [retval][out] */ DWORD *pCount) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetTypeArgumentCount( - /* [retval][out] */ DWORD *pCount) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetTypeArguments( - /* [in] */ DWORD count, - /* [out] */ ITypeName **rgpArguments, - /* [retval][out] */ DWORD *pCount) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetModifierLength( - /* [retval][out] */ DWORD *pCount) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetModifiers( - /* [in] */ DWORD count, - /* [out] */ DWORD *rgModifiers, - /* [retval][out] */ DWORD *pCount) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetAssemblyName( - /* [retval][out] */ BSTR *rgbszAssemblyNames) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ITypeNameVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ITypeName * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ITypeName * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ITypeName * This); - - HRESULT ( STDMETHODCALLTYPE *GetNameCount )( - ITypeName * This, - /* [retval][out] */ DWORD *pCount); - - HRESULT ( STDMETHODCALLTYPE *GetNames )( - ITypeName * This, - /* [in] */ DWORD count, - /* [out] */ BSTR *rgbszNames, - /* [retval][out] */ DWORD *pCount); - - HRESULT ( STDMETHODCALLTYPE *GetTypeArgumentCount )( - ITypeName * This, - /* [retval][out] */ DWORD *pCount); - - HRESULT ( STDMETHODCALLTYPE *GetTypeArguments )( - ITypeName * This, - /* [in] */ DWORD count, - /* [out] */ ITypeName **rgpArguments, - /* [retval][out] */ DWORD *pCount); - - HRESULT ( STDMETHODCALLTYPE *GetModifierLength )( - ITypeName * This, - /* [retval][out] */ DWORD *pCount); - - HRESULT ( STDMETHODCALLTYPE *GetModifiers )( - ITypeName * This, - /* [in] */ DWORD count, - /* [out] */ DWORD *rgModifiers, - /* [retval][out] */ DWORD *pCount); - - HRESULT ( STDMETHODCALLTYPE *GetAssemblyName )( - ITypeName * This, - /* [retval][out] */ BSTR *rgbszAssemblyNames); - - END_INTERFACE - } ITypeNameVtbl; - - interface ITypeName - { - CONST_VTBL struct ITypeNameVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ITypeName_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ITypeName_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ITypeName_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ITypeName_GetNameCount(This,pCount) \ - ( (This)->lpVtbl -> GetNameCount(This,pCount) ) - -#define ITypeName_GetNames(This,count,rgbszNames,pCount) \ - ( (This)->lpVtbl -> GetNames(This,count,rgbszNames,pCount) ) - -#define ITypeName_GetTypeArgumentCount(This,pCount) \ - ( (This)->lpVtbl -> GetTypeArgumentCount(This,pCount) ) - -#define ITypeName_GetTypeArguments(This,count,rgpArguments,pCount) \ - ( (This)->lpVtbl -> GetTypeArguments(This,count,rgpArguments,pCount) ) - -#define ITypeName_GetModifierLength(This,pCount) \ - ( (This)->lpVtbl -> GetModifierLength(This,pCount) ) - -#define ITypeName_GetModifiers(This,count,rgModifiers,pCount) \ - ( (This)->lpVtbl -> GetModifiers(This,count,rgModifiers,pCount) ) - -#define ITypeName_GetAssemblyName(This,rgbszAssemblyNames) \ - ( (This)->lpVtbl -> GetAssemblyName(This,rgbszAssemblyNames) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ITypeName_INTERFACE_DEFINED__ */ - - -#ifndef __ITypeNameBuilder_INTERFACE_DEFINED__ -#define __ITypeNameBuilder_INTERFACE_DEFINED__ - -/* interface ITypeNameBuilder */ -/* [unique][helpstring][uuid][oleautomation][object] */ +/* interface ICLRRuntimeHost4 */ +/* [local][unique][helpstring][version][uuid][object] */ -EXTERN_C const IID IID_ITypeNameBuilder; +EXTERN_C const IID IID_ICLRRuntimeHost4; #if defined(__cplusplus) && !defined(CINTERFACE) - MIDL_INTERFACE("B81FF171-20F3-11d2-8DCC-00A0C9B00523") - ITypeNameBuilder : public IUnknown + MIDL_INTERFACE("64F6D366-D7C2-4F1F-B4B2-E8160CAC43AF") + ICLRRuntimeHost4 : public ICLRRuntimeHost2 { public: - virtual HRESULT STDMETHODCALLTYPE OpenGenericArguments( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE CloseGenericArguments( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE OpenGenericArgument( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE CloseGenericArgument( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE AddName( - /* [in] */ LPCWSTR szName) = 0; - - virtual HRESULT STDMETHODCALLTYPE AddPointer( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE AddByRef( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE AddSzArray( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE AddArray( - /* [in] */ DWORD rank) = 0; - - virtual HRESULT STDMETHODCALLTYPE AddAssemblySpec( - /* [in] */ LPCWSTR szAssemblySpec) = 0; - - virtual HRESULT STDMETHODCALLTYPE ToString( - /* [retval][out] */ BSTR *pszStringRepresentation) = 0; - - virtual HRESULT STDMETHODCALLTYPE Clear( void) = 0; + virtual HRESULT STDMETHODCALLTYPE UnloadAppDomain2( + /* [in] */ DWORD dwAppDomainId, + /* [in] */ BOOL fWaitUntilDone, + /* [out] */ int *pLatchedExitCode) = 0; }; #else /* C style interface */ - typedef struct ITypeNameBuilderVtbl + typedef struct ICLRRuntimeHost4Vtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ITypeNameBuilder * This, + ICLRRuntimeHost4 * This, /* [in] */ REFIID riid, /* [annotation][iid_is][out] */ _COM_Outptr_ void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( - ITypeNameBuilder * This); + ICLRRuntimeHost4 * This); ULONG ( STDMETHODCALLTYPE *Release )( - ITypeNameBuilder * This); - - HRESULT ( STDMETHODCALLTYPE *OpenGenericArguments )( - ITypeNameBuilder * This); - - HRESULT ( STDMETHODCALLTYPE *CloseGenericArguments )( - ITypeNameBuilder * This); - - HRESULT ( STDMETHODCALLTYPE *OpenGenericArgument )( - ITypeNameBuilder * This); - - HRESULT ( STDMETHODCALLTYPE *CloseGenericArgument )( - ITypeNameBuilder * This); + ICLRRuntimeHost4 * This); - HRESULT ( STDMETHODCALLTYPE *AddName )( - ITypeNameBuilder * This, - /* [in] */ LPCWSTR szName); - - HRESULT ( STDMETHODCALLTYPE *AddPointer )( - ITypeNameBuilder * This); - - HRESULT ( STDMETHODCALLTYPE *AddByRef )( - ITypeNameBuilder * This); - - HRESULT ( STDMETHODCALLTYPE *AddSzArray )( - ITypeNameBuilder * This); - - HRESULT ( STDMETHODCALLTYPE *AddArray )( - ITypeNameBuilder * This, - /* [in] */ DWORD rank); - - HRESULT ( STDMETHODCALLTYPE *AddAssemblySpec )( - ITypeNameBuilder * This, - /* [in] */ LPCWSTR szAssemblySpec); - - HRESULT ( STDMETHODCALLTYPE *ToString )( - ITypeNameBuilder * This, - /* [retval][out] */ BSTR *pszStringRepresentation); - - HRESULT ( STDMETHODCALLTYPE *Clear )( - ITypeNameBuilder * This); + HRESULT ( STDMETHODCALLTYPE *Start )( + ICLRRuntimeHost4 * This); - END_INTERFACE - } ITypeNameBuilderVtbl; - - interface ITypeNameBuilder - { - CONST_VTBL struct ITypeNameBuilderVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ITypeNameBuilder_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ITypeNameBuilder_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ITypeNameBuilder_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ITypeNameBuilder_OpenGenericArguments(This) \ - ( (This)->lpVtbl -> OpenGenericArguments(This) ) - -#define ITypeNameBuilder_CloseGenericArguments(This) \ - ( (This)->lpVtbl -> CloseGenericArguments(This) ) - -#define ITypeNameBuilder_OpenGenericArgument(This) \ - ( (This)->lpVtbl -> OpenGenericArgument(This) ) - -#define ITypeNameBuilder_CloseGenericArgument(This) \ - ( (This)->lpVtbl -> CloseGenericArgument(This) ) - -#define ITypeNameBuilder_AddName(This,szName) \ - ( (This)->lpVtbl -> AddName(This,szName) ) - -#define ITypeNameBuilder_AddPointer(This) \ - ( (This)->lpVtbl -> AddPointer(This) ) - -#define ITypeNameBuilder_AddByRef(This) \ - ( (This)->lpVtbl -> AddByRef(This) ) - -#define ITypeNameBuilder_AddSzArray(This) \ - ( (This)->lpVtbl -> AddSzArray(This) ) - -#define ITypeNameBuilder_AddArray(This,rank) \ - ( (This)->lpVtbl -> AddArray(This,rank) ) - -#define ITypeNameBuilder_AddAssemblySpec(This,szAssemblySpec) \ - ( (This)->lpVtbl -> AddAssemblySpec(This,szAssemblySpec) ) - -#define ITypeNameBuilder_ToString(This,pszStringRepresentation) \ - ( (This)->lpVtbl -> ToString(This,pszStringRepresentation) ) - -#define ITypeNameBuilder_Clear(This) \ - ( (This)->lpVtbl -> Clear(This) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ITypeNameBuilder_INTERFACE_DEFINED__ */ - - -#ifndef __ITypeNameFactory_INTERFACE_DEFINED__ -#define __ITypeNameFactory_INTERFACE_DEFINED__ - -/* interface ITypeNameFactory */ -/* [unique][helpstring][uuid][oleautomation][object] */ - - -EXTERN_C const IID IID_ITypeNameFactory; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("B81FF171-20F3-11d2-8DCC-00A0C9B00521") - ITypeNameFactory : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE ParseTypeName( - /* [in] */ LPCWSTR szName, - /* [out] */ DWORD *pError, - /* [retval][out] */ ITypeName **ppTypeName) = 0; + HRESULT ( STDMETHODCALLTYPE *Stop )( + ICLRRuntimeHost4 * This); - virtual HRESULT STDMETHODCALLTYPE GetTypeNameBuilder( - /* [retval][out] */ ITypeNameBuilder **ppTypeBuilder) = 0; + HRESULT ( STDMETHODCALLTYPE *SetHostControl )( + ICLRRuntimeHost4 * This, + /* [in] */ IHostControl *pHostControl); - }; - - -#else /* C style interface */ - - typedef struct ITypeNameFactoryVtbl - { - BEGIN_INTERFACE + HRESULT ( STDMETHODCALLTYPE *GetCLRControl )( + ICLRRuntimeHost4 * This, + /* [out] */ ICLRControl **pCLRControl); - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ITypeNameFactory * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); + HRESULT ( STDMETHODCALLTYPE *UnloadAppDomain )( + ICLRRuntimeHost4 * This, + /* [in] */ DWORD dwAppDomainId, + /* [in] */ BOOL fWaitUntilDone); - ULONG ( STDMETHODCALLTYPE *AddRef )( - ITypeNameFactory * This); + HRESULT ( STDMETHODCALLTYPE *ExecuteInAppDomain )( + ICLRRuntimeHost4 * This, + /* [in] */ DWORD dwAppDomainId, + /* [in] */ FExecuteInAppDomainCallback pCallback, + /* [in] */ void *cookie); - ULONG ( STDMETHODCALLTYPE *Release )( - ITypeNameFactory * This); + HRESULT ( STDMETHODCALLTYPE *GetCurrentAppDomainId )( + ICLRRuntimeHost4 * This, + /* [out] */ DWORD *pdwAppDomainId); - HRESULT ( STDMETHODCALLTYPE *ParseTypeName )( - ITypeNameFactory * This, - /* [in] */ LPCWSTR szName, - /* [out] */ DWORD *pError, - /* [retval][out] */ ITypeName **ppTypeName); + HRESULT ( STDMETHODCALLTYPE *ExecuteApplication )( + ICLRRuntimeHost4 * This, + /* [in] */ LPCWSTR pwzAppFullName, + /* [in] */ DWORD dwManifestPaths, + /* [in] */ LPCWSTR *ppwzManifestPaths, + /* [in] */ DWORD dwActivationData, + /* [in] */ LPCWSTR *ppwzActivationData, + /* [out] */ int *pReturnValue); - HRESULT ( STDMETHODCALLTYPE *GetTypeNameBuilder )( - ITypeNameFactory * This, - /* [retval][out] */ ITypeNameBuilder **ppTypeBuilder); + HRESULT ( STDMETHODCALLTYPE *ExecuteInDefaultAppDomain )( + ICLRRuntimeHost4 * This, + /* [in] */ LPCWSTR pwzAssemblyPath, + /* [in] */ LPCWSTR pwzTypeName, + /* [in] */ LPCWSTR pwzMethodName, + /* [in] */ LPCWSTR pwzArgument, + /* [out] */ DWORD *pReturnValue); - END_INTERFACE - } ITypeNameFactoryVtbl; - - interface ITypeNameFactory - { - CONST_VTBL struct ITypeNameFactoryVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ITypeNameFactory_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ITypeNameFactory_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ITypeNameFactory_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ITypeNameFactory_ParseTypeName(This,szName,pError,ppTypeName) \ - ( (This)->lpVtbl -> ParseTypeName(This,szName,pError,ppTypeName) ) - -#define ITypeNameFactory_GetTypeNameBuilder(This,ppTypeBuilder) \ - ( (This)->lpVtbl -> GetTypeNameBuilder(This,ppTypeBuilder) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ITypeNameFactory_INTERFACE_DEFINED__ */ - - -#ifndef __IManagedObject_INTERFACE_DEFINED__ -#define __IManagedObject_INTERFACE_DEFINED__ - -/* interface IManagedObject */ -/* [proxy][unique][helpstring][uuid][oleautomation][object] */ - - -EXTERN_C const IID IID_IManagedObject; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("C3FCC19E-A970-11d2-8B5A-00A0C9B7C9C4") - IManagedObject : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE GetSerializedBuffer( - /* [out] */ BSTR *pBSTR) = 0; + HRESULT ( STDMETHODCALLTYPE *CreateAppDomainWithManager )( + ICLRRuntimeHost4 * This, + /* [in] */ LPCWSTR wszFriendlyName, + /* [in] */ DWORD dwFlags, + /* [in] */ LPCWSTR wszAppDomainManagerAssemblyName, + /* [in] */ LPCWSTR wszAppDomainManagerTypeName, + /* [in] */ int nProperties, + /* [in] */ LPCWSTR *pPropertyNames, + /* [in] */ LPCWSTR *pPropertyValues, + /* [out] */ DWORD *pAppDomainID); - virtual HRESULT STDMETHODCALLTYPE GetObjectIdentity( - /* [out] */ BSTR *pBSTRGUID, - /* [out] */ int *AppDomainID, - /* [out] */ int *pCCW) = 0; + HRESULT ( STDMETHODCALLTYPE *CreateDelegate )( + ICLRRuntimeHost4 * This, + /* [in] */ DWORD appDomainID, + /* [in] */ LPCWSTR wszAssemblyName, + /* [in] */ LPCWSTR wszClassName, + /* [in] */ LPCWSTR wszMethodName, + /* [out] */ INT_PTR *fnPtr); - }; - - -#else /* C style interface */ - - typedef struct IManagedObjectVtbl - { - BEGIN_INTERFACE + HRESULT ( STDMETHODCALLTYPE *Authenticate )( + ICLRRuntimeHost4 * This, + /* [in] */ ULONGLONG authKey); - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - IManagedObject * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); + HRESULT ( STDMETHODCALLTYPE *RegisterMacEHPort )( + ICLRRuntimeHost4 * This); - ULONG ( STDMETHODCALLTYPE *AddRef )( - IManagedObject * This); + HRESULT ( STDMETHODCALLTYPE *SetStartupFlags )( + ICLRRuntimeHost4 * This, + /* [in] */ STARTUP_FLAGS dwFlags); - ULONG ( STDMETHODCALLTYPE *Release )( - IManagedObject * This); + HRESULT ( STDMETHODCALLTYPE *DllGetActivationFactory )( + ICLRRuntimeHost4 * This, + /* [in] */ DWORD appDomainID, + /* [in] */ LPCWSTR wszTypeName, + /* [out] */ IActivationFactory **factory); - HRESULT ( STDMETHODCALLTYPE *GetSerializedBuffer )( - IManagedObject * This, - /* [out] */ BSTR *pBSTR); + HRESULT ( STDMETHODCALLTYPE *ExecuteAssembly )( + ICLRRuntimeHost4 * This, + /* [in] */ DWORD dwAppDomainId, + /* [in] */ LPCWSTR pwzAssemblyPath, + /* [in] */ int argc, + /* [in] */ LPCWSTR *argv, + /* [out] */ DWORD *pReturnValue); - HRESULT ( STDMETHODCALLTYPE *GetObjectIdentity )( - IManagedObject * This, - /* [out] */ BSTR *pBSTRGUID, - /* [out] */ int *AppDomainID, - /* [out] */ int *pCCW); + HRESULT ( STDMETHODCALLTYPE *UnloadAppDomain2 )( + ICLRRuntimeHost4 * This, + /* [in] */ DWORD dwAppDomainId, + /* [in] */ BOOL fWaitUntilDone, + /* [out] */ int *pLatchedExitCode); END_INTERFACE - } IManagedObjectVtbl; + } ICLRRuntimeHost4Vtbl; - interface IManagedObject + interface ICLRRuntimeHost4 { - CONST_VTBL struct IManagedObjectVtbl *lpVtbl; + CONST_VTBL struct ICLRRuntimeHost4Vtbl *lpVtbl; }; @@ -2625,177 +814,68 @@ EXTERN_C const IID IID_IManagedObject; #ifdef COBJMACROS -#define IManagedObject_QueryInterface(This,riid,ppvObject) \ +#define ICLRRuntimeHost4_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) -#define IManagedObject_AddRef(This) \ +#define ICLRRuntimeHost4_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) -#define IManagedObject_Release(This) \ +#define ICLRRuntimeHost4_Release(This) \ ( (This)->lpVtbl -> Release(This) ) -#define IManagedObject_GetSerializedBuffer(This,pBSTR) \ - ( (This)->lpVtbl -> GetSerializedBuffer(This,pBSTR) ) - -#define IManagedObject_GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW) \ - ( (This)->lpVtbl -> GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __IManagedObject_INTERFACE_DEFINED__ */ - - -EXTERN_C const CLSID CLSID_ComCallUnmarshal; - -#ifdef __cplusplus - -class DECLSPEC_UUID("3F281000-E95A-11d2-886B-00C04F869F04") -ComCallUnmarshal; -#endif - -EXTERN_C const CLSID CLSID_ComCallUnmarshalV4; - -#ifdef __cplusplus - -class DECLSPEC_UUID("45FB4600-E6E8-4928-B25E-50476FF79425") -ComCallUnmarshalV4; -#endif - -EXTERN_C const CLSID CLSID_CLRRuntimeHost; - -#ifdef __cplusplus - -class DECLSPEC_UUID("90F1A06E-7712-4762-86B5-7A5EBA6BDB02") -CLRRuntimeHost; -#endif - -EXTERN_C const CLSID CLSID_TypeNameFactory; - -#ifdef __cplusplus - -class DECLSPEC_UUID("B81FF171-20F3-11d2-8DCC-00A0C9B00525") -TypeNameFactory; -#endif -#endif /* __mscoree_LIBRARY_DEFINED__ */ - -/* interface __MIDL_itf_mscoree_0000_0014 */ -/* [local] */ - -typedef /* [public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0014_0001 - { - eCurrentContext = 0, - eRestrictedContext = 0x1 - } EContextType; - - +#define ICLRRuntimeHost4_Start(This) \ + ( (This)->lpVtbl -> Start(This) ) -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0014_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0014_v0_0_s_ifspec; +#define ICLRRuntimeHost4_Stop(This) \ + ( (This)->lpVtbl -> Stop(This) ) -#ifndef __ICLRAppDomainResourceMonitor_INTERFACE_DEFINED__ -#define __ICLRAppDomainResourceMonitor_INTERFACE_DEFINED__ +#define ICLRRuntimeHost4_SetHostControl(This,pHostControl) \ + ( (This)->lpVtbl -> SetHostControl(This,pHostControl) ) -/* interface ICLRAppDomainResourceMonitor */ -/* [object][local][unique][helpstring][uuid][version] */ +#define ICLRRuntimeHost4_GetCLRControl(This,pCLRControl) \ + ( (This)->lpVtbl -> GetCLRControl(This,pCLRControl) ) +#define ICLRRuntimeHost4_UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) \ + ( (This)->lpVtbl -> UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) ) -EXTERN_C const IID IID_ICLRAppDomainResourceMonitor; +#define ICLRRuntimeHost4_ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) \ + ( (This)->lpVtbl -> ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) ) -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("c62de18c-2e23-4aea-8423-b40c1fc59eae") - ICLRAppDomainResourceMonitor : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE GetCurrentAllocated( - /* [in] */ DWORD dwAppDomainId, - /* [out] */ ULONGLONG *pBytesAllocated) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetCurrentSurvived( - /* [in] */ DWORD dwAppDomainId, - /* [out] */ ULONGLONG *pAppDomainBytesSurvived, - /* [out] */ ULONGLONG *pTotalBytesSurvived) = 0; - - virtual HRESULT STDMETHODCALLTYPE GetCurrentCpuTime( - /* [in] */ DWORD dwAppDomainId, - /* [out] */ ULONGLONG *pMilliseconds) = 0; - - }; - - -#else /* C style interface */ +#define ICLRRuntimeHost4_GetCurrentAppDomainId(This,pdwAppDomainId) \ + ( (This)->lpVtbl -> GetCurrentAppDomainId(This,pdwAppDomainId) ) - typedef struct ICLRAppDomainResourceMonitorVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRAppDomainResourceMonitor * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRAppDomainResourceMonitor * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRAppDomainResourceMonitor * This); - - HRESULT ( STDMETHODCALLTYPE *GetCurrentAllocated )( - ICLRAppDomainResourceMonitor * This, - /* [in] */ DWORD dwAppDomainId, - /* [out] */ ULONGLONG *pBytesAllocated); - - HRESULT ( STDMETHODCALLTYPE *GetCurrentSurvived )( - ICLRAppDomainResourceMonitor * This, - /* [in] */ DWORD dwAppDomainId, - /* [out] */ ULONGLONG *pAppDomainBytesSurvived, - /* [out] */ ULONGLONG *pTotalBytesSurvived); - - HRESULT ( STDMETHODCALLTYPE *GetCurrentCpuTime )( - ICLRAppDomainResourceMonitor * This, - /* [in] */ DWORD dwAppDomainId, - /* [out] */ ULONGLONG *pMilliseconds); - - END_INTERFACE - } ICLRAppDomainResourceMonitorVtbl; +#define ICLRRuntimeHost4_ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) \ + ( (This)->lpVtbl -> ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) ) - interface ICLRAppDomainResourceMonitor - { - CONST_VTBL struct ICLRAppDomainResourceMonitorVtbl *lpVtbl; - }; +#define ICLRRuntimeHost4_ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) \ + ( (This)->lpVtbl -> ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) ) - -#ifdef COBJMACROS +#define ICLRRuntimeHost4_CreateAppDomainWithManager(This,wszFriendlyName,dwFlags,wszAppDomainManagerAssemblyName,wszAppDomainManagerTypeName,nProperties,pPropertyNames,pPropertyValues,pAppDomainID) \ + ( (This)->lpVtbl -> CreateAppDomainWithManager(This,wszFriendlyName,dwFlags,wszAppDomainManagerAssemblyName,wszAppDomainManagerTypeName,nProperties,pPropertyNames,pPropertyValues,pAppDomainID) ) +#define ICLRRuntimeHost4_CreateDelegate(This,appDomainID,wszAssemblyName,wszClassName,wszMethodName,fnPtr) \ + ( (This)->lpVtbl -> CreateDelegate(This,appDomainID,wszAssemblyName,wszClassName,wszMethodName,fnPtr) ) -#define ICLRAppDomainResourceMonitor_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) +#define ICLRRuntimeHost4_Authenticate(This,authKey) \ + ( (This)->lpVtbl -> Authenticate(This,authKey) ) -#define ICLRAppDomainResourceMonitor_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) +#define ICLRRuntimeHost4_RegisterMacEHPort(This) \ + ( (This)->lpVtbl -> RegisterMacEHPort(This) ) -#define ICLRAppDomainResourceMonitor_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) +#define ICLRRuntimeHost4_SetStartupFlags(This,dwFlags) \ + ( (This)->lpVtbl -> SetStartupFlags(This,dwFlags) ) +#define ICLRRuntimeHost4_DllGetActivationFactory(This,appDomainID,wszTypeName,factory) \ + ( (This)->lpVtbl -> DllGetActivationFactory(This,appDomainID,wszTypeName,factory) ) -#define ICLRAppDomainResourceMonitor_GetCurrentAllocated(This,dwAppDomainId,pBytesAllocated) \ - ( (This)->lpVtbl -> GetCurrentAllocated(This,dwAppDomainId,pBytesAllocated) ) +#define ICLRRuntimeHost4_ExecuteAssembly(This,dwAppDomainId,pwzAssemblyPath,argc,argv,pReturnValue) \ + ( (This)->lpVtbl -> ExecuteAssembly(This,dwAppDomainId,pwzAssemblyPath,argc,argv,pReturnValue) ) -#define ICLRAppDomainResourceMonitor_GetCurrentSurvived(This,dwAppDomainId,pAppDomainBytesSurvived,pTotalBytesSurvived) \ - ( (This)->lpVtbl -> GetCurrentSurvived(This,dwAppDomainId,pAppDomainBytesSurvived,pTotalBytesSurvived) ) -#define ICLRAppDomainResourceMonitor_GetCurrentCpuTime(This,dwAppDomainId,pMilliseconds) \ - ( (This)->lpVtbl -> GetCurrentCpuTime(This,dwAppDomainId,pMilliseconds) ) +#define ICLRRuntimeHost4_UnloadAppDomain2(This,dwAppDomainId,fWaitUntilDone,pLatchedExitCode) \ + ( (This)->lpVtbl -> UnloadAppDomain2(This,dwAppDomainId,fWaitUntilDone,pLatchedExitCode) ) #endif /* COBJMACROS */ @@ -2805,10 +885,10 @@ EXTERN_C const IID IID_ICLRAppDomainResourceMonitor; -#endif /* __ICLRAppDomainResourceMonitor_INTERFACE_DEFINED__ */ +#endif /* __ICLRRuntimeHost4_INTERFACE_DEFINED__ */ -/* interface __MIDL_itf_mscoree_0000_0015 */ +/* interface __MIDL_itf_mscoree_0000_0003 */ /* [local] */ #undef DEPRECATED_CLR_STDAPI @@ -2816,8 +896,8 @@ EXTERN_C const IID IID_ICLRAppDomainResourceMonitor; #undef DEPRECATED_CLR_API_MESG -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0015_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0015_v0_0_s_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0003_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0003_v0_0_s_ifspec; /* Additional Prototypes for ALL interfaces */ |