mirror of https://github.com/UMSKT/xpmgr.git
1488 lines
52 KiB
C++
1488 lines
52 KiB
C++
|
|
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 7.00.0499 */
|
|
/* Compiler settings for metahost.idl:
|
|
Oicf, W1, Zp8, env=Win32 (32b run)
|
|
protocol : dce , ms_ext, c_ext, robust
|
|
error checks: allocation ref bounds_check enum stub_data
|
|
VC __declspec() decoration level:
|
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
|
|
DECLSPEC_UUID(), MIDL_INTERFACE()
|
|
*/
|
|
//@@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
|
|
|
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__
|
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100
|
|
#endif
|
|
|
|
#include "rpc.h"
|
|
#include "rpcndr.h"
|
|
|
|
#ifndef __RPCNDR_H_VERSION__
|
|
#error this stub requires an updated version of <rpcndr.h>
|
|
#endif // __RPCNDR_H_VERSION__
|
|
|
|
#ifndef COM_NO_WINDOWS_H
|
|
#include "windows.h"
|
|
#include "ole2.h"
|
|
#endif /*COM_NO_WINDOWS_H*/
|
|
|
|
#ifndef __metahost_h__
|
|
#define __metahost_h__
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
|
#pragma once
|
|
#endif
|
|
|
|
/* Forward Declarations */
|
|
|
|
#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 __ICLRProfiling_FWD_DEFINED__
|
|
#define __ICLRProfiling_FWD_DEFINED__
|
|
typedef interface ICLRProfiling ICLRProfiling;
|
|
#endif /* __ICLRProfiling_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__ */
|
|
|
|
|
|
#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 __ICLRProfiling_FWD_DEFINED__
|
|
#define __ICLRProfiling_FWD_DEFINED__
|
|
typedef interface ICLRProfiling ICLRProfiling;
|
|
#endif /* __ICLRProfiling_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"
|
|
#include "ocidl.h"
|
|
#include "mscoree.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
|
|
/* interface __MIDL_itf_metahost_0000_0000 */
|
|
/* [local] */
|
|
|
|
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(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_ICLRProfiling, 0xb349abe3, 0xb56f, 0x4689, 0xbf, 0xcd, 0x76, 0xbf, 0x39, 0xd8, 0x88, 0xea);
|
|
EXTERN_GUID(IID_ICLRDebuggingLibraryProvider, 0x3151c08d, 0x4d09, 0x4f9b, 0x88, 0x38, 0x28, 0x80, 0xbf, 0x18, 0xfe, 0x51);
|
|
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);
|
|
|
|
typedef HRESULT ( __stdcall *CallbackThreadUnsetFnPtr )( void);
|
|
|
|
typedef void ( __stdcall *RuntimeLoadedCallbackFnPtr )(
|
|
ICLRRuntimeInfo *pRuntimeInfo,
|
|
CallbackThreadSetFnPtr pfnCallbackThreadSet,
|
|
CallbackThreadUnsetFnPtr pfnCallbackThreadUnset);
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0000_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_metahost_0000_0000_v0_0_s_ifspec;
|
|
|
|
#ifndef __ICLRMetaHost_INTERFACE_DEFINED__
|
|
#define __ICLRMetaHost_INTERFACE_DEFINED__
|
|
|
|
/* interface ICLRMetaHost */
|
|
/* [object][local][helpstring][version][uuid] */
|
|
|
|
|
|
EXTERN_C const IID IID_ICLRMetaHost;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("D332DB9E-B9B3-4125-8207-A14884F53216")
|
|
ICLRMetaHost : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetRuntime(
|
|
/* [in] */ LPCWSTR pwzVersion,
|
|
/* [in] */ REFIID riid,
|
|
/* [retval][iid_is][out] */ LPVOID *ppRuntime) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetVersionFromFile(
|
|
/* [in] */ LPCWSTR pwzFilePath,
|
|
/* [size_is][out] */
|
|
__out_ecount_full(*pcchBuffer) LPWSTR pwzBuffer,
|
|
/* [out][in] */ DWORD *pcchBuffer) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE EnumerateInstalledRuntimes(
|
|
/* [retval][out] */ IEnumUnknown **ppEnumerator) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE EnumerateLoadedRuntimes(
|
|
/* [in] */ HANDLE hndProcess,
|
|
/* [retval][out] */ IEnumUnknown **ppEnumerator) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE RequestRuntimeLoadedNotification(
|
|
/* [in] */ RuntimeLoadedCallbackFnPtr pCallbackFunction) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE QueryLegacyV2RuntimeBinding(
|
|
/* [in] */ REFIID riid,
|
|
/* [retval][iid_is][out] */ LPVOID *ppUnk) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE ExitProcess(
|
|
/* [in] */ INT32 iExitCode) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ICLRMetaHostVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
ICLRMetaHost * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
ICLRMetaHost * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
ICLRMetaHost * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetRuntime )(
|
|
ICLRMetaHost * This,
|
|
/* [in] */ LPCWSTR pwzVersion,
|
|
/* [in] */ REFIID riid,
|
|
/* [retval][iid_is][out] */ LPVOID *ppRuntime);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetVersionFromFile )(
|
|
ICLRMetaHost * This,
|
|
/* [in] */ LPCWSTR pwzFilePath,
|
|
/* [size_is][out] */
|
|
__out_ecount_full(*pcchBuffer) LPWSTR pwzBuffer,
|
|
/* [out][in] */ DWORD *pcchBuffer);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *EnumerateInstalledRuntimes )(
|
|
ICLRMetaHost * This,
|
|
/* [retval][out] */ IEnumUnknown **ppEnumerator);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *EnumerateLoadedRuntimes )(
|
|
ICLRMetaHost * This,
|
|
/* [in] */ HANDLE hndProcess,
|
|
/* [retval][out] */ IEnumUnknown **ppEnumerator);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *RequestRuntimeLoadedNotification )(
|
|
ICLRMetaHost * This,
|
|
/* [in] */ RuntimeLoadedCallbackFnPtr pCallbackFunction);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryLegacyV2RuntimeBinding )(
|
|
ICLRMetaHost * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [retval][iid_is][out] */ LPVOID *ppUnk);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ExitProcess )(
|
|
ICLRMetaHost * This,
|
|
/* [in] */ INT32 iExitCode);
|
|
|
|
END_INTERFACE
|
|
} ICLRMetaHostVtbl;
|
|
|
|
interface ICLRMetaHost
|
|
{
|
|
CONST_VTBL struct ICLRMetaHostVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ICLRMetaHost_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define ICLRMetaHost_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define ICLRMetaHost_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define ICLRMetaHost_GetRuntime(This,pwzVersion,riid,ppRuntime) \
|
|
( (This)->lpVtbl -> GetRuntime(This,pwzVersion,riid,ppRuntime) )
|
|
|
|
#define ICLRMetaHost_GetVersionFromFile(This,pwzFilePath,pwzBuffer,pcchBuffer) \
|
|
( (This)->lpVtbl -> GetVersionFromFile(This,pwzFilePath,pwzBuffer,pcchBuffer) )
|
|
|
|
#define ICLRMetaHost_EnumerateInstalledRuntimes(This,ppEnumerator) \
|
|
( (This)->lpVtbl -> EnumerateInstalledRuntimes(This,ppEnumerator) )
|
|
|
|
#define ICLRMetaHost_EnumerateLoadedRuntimes(This,hndProcess,ppEnumerator) \
|
|
( (This)->lpVtbl -> EnumerateLoadedRuntimes(This,hndProcess,ppEnumerator) )
|
|
|
|
#define ICLRMetaHost_RequestRuntimeLoadedNotification(This,pCallbackFunction) \
|
|
( (This)->lpVtbl -> RequestRuntimeLoadedNotification(This,pCallbackFunction) )
|
|
|
|
#define ICLRMetaHost_QueryLegacyV2RuntimeBinding(This,riid,ppUnk) \
|
|
( (This)->lpVtbl -> QueryLegacyV2RuntimeBinding(This,riid,ppUnk) )
|
|
|
|
#define ICLRMetaHost_ExitProcess(This,iExitCode) \
|
|
( (This)->lpVtbl -> ExitProcess(This,iExitCode) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __ICLRMetaHost_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* 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_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,
|
|
/* [size_is][out][in] */
|
|
__inout_ecount_full_opt(*pcchVersion) LPWSTR pwzVersion,
|
|
/* [out][in] */ DWORD *pcchVersion,
|
|
/* [size_is][out] */
|
|
__out_ecount_full_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,
|
|
/* [iid_is][out] */
|
|
__RPC__deref_out 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,
|
|
/* [size_is][out][in] */
|
|
__inout_ecount_full_opt(*pcchVersion) LPWSTR pwzVersion,
|
|
/* [out][in] */ DWORD *pcchVersion,
|
|
/* [size_is][out] */
|
|
__out_ecount_full_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__ */
|
|
|
|
|
|
#ifndef __ICLRProfiling_INTERFACE_DEFINED__
|
|
#define __ICLRProfiling_INTERFACE_DEFINED__
|
|
|
|
/* interface ICLRProfiling */
|
|
/* [object][local][helpstring][version][uuid] */
|
|
|
|
|
|
EXTERN_C const IID IID_ICLRProfiling;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("B349ABE3-B56F-4689-BFCD-76BF39D888EA")
|
|
ICLRProfiling : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE AttachProfiler(
|
|
/* [in] */ DWORD dwProfileeProcessID,
|
|
/* [in] */ DWORD dwMillisecondsMax,
|
|
/* [in] */ const CLSID *pClsidProfiler,
|
|
/* [in] */ LPCWSTR wszProfilerPath,
|
|
/* [size_is][in] */ void *pvClientData,
|
|
/* [in] */ UINT cbClientData) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ICLRProfilingVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
ICLRProfiling * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
ICLRProfiling * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
ICLRProfiling * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *AttachProfiler )(
|
|
ICLRProfiling * This,
|
|
/* [in] */ DWORD dwProfileeProcessID,
|
|
/* [in] */ DWORD dwMillisecondsMax,
|
|
/* [in] */ const CLSID *pClsidProfiler,
|
|
/* [in] */ LPCWSTR wszProfilerPath,
|
|
/* [size_is][in] */ void *pvClientData,
|
|
/* [in] */ UINT cbClientData);
|
|
|
|
END_INTERFACE
|
|
} ICLRProfilingVtbl;
|
|
|
|
interface ICLRProfiling
|
|
{
|
|
CONST_VTBL struct ICLRProfilingVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ICLRProfiling_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define ICLRProfiling_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define ICLRProfiling_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define ICLRProfiling_AttachProfiler(This,dwProfileeProcessID,dwMillisecondsMax,pClsidProfiler,wszProfilerPath,pvClientData,cbClientData) \
|
|
( (This)->lpVtbl -> AttachProfiler(This,dwProfileeProcessID,dwMillisecondsMax,pClsidProfiler,wszProfilerPath,pvClientData,cbClientData) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __ICLRProfiling_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_metahost_0000_0003 */
|
|
/* [local] */
|
|
|
|
typedef struct _CLR_DEBUGGING_VERSION
|
|
{
|
|
WORD wStructVersion;
|
|
WORD wMajor;
|
|
WORD wMinor;
|
|
WORD wBuild;
|
|
WORD wRevision;
|
|
} CLR_DEBUGGING_VERSION;
|
|
|
|
typedef /* [public][public] */
|
|
enum __MIDL___MIDL_itf_metahost_0000_0003_0001
|
|
{ CLR_DEBUGGING_MANAGED_EVENT_PENDING = 1
|
|
} CLR_DEBUGGING_PROCESS_FLAGS;
|
|
|
|
|
|
|
|
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;
|
|
|
|
#ifndef __ICLRDebuggingLibraryProvider_INTERFACE_DEFINED__
|
|
#define __ICLRDebuggingLibraryProvider_INTERFACE_DEFINED__
|
|
|
|
/* interface ICLRDebuggingLibraryProvider */
|
|
/* [object][local][helpstring][version][uuid] */
|
|
|
|
|
|
EXTERN_C const IID IID_ICLRDebuggingLibraryProvider;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("3151C08D-4D09-4f9b-8838-2880BF18FE51")
|
|
ICLRDebuggingLibraryProvider : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE ProvideLibrary(
|
|
/* [in] */ const WCHAR *pwszFileName,
|
|
/* [in] */ DWORD dwTimestamp,
|
|
/* [in] */ DWORD dwSizeOfImage,
|
|
/* [out] */ HMODULE *phModule) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ICLRDebuggingLibraryProviderVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
ICLRDebuggingLibraryProvider * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
ICLRDebuggingLibraryProvider * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
ICLRDebuggingLibraryProvider * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ProvideLibrary )(
|
|
ICLRDebuggingLibraryProvider * This,
|
|
/* [in] */ const WCHAR *pwszFileName,
|
|
/* [in] */ DWORD dwTimestamp,
|
|
/* [in] */ DWORD dwSizeOfImage,
|
|
/* [out] */ HMODULE *phModule);
|
|
|
|
END_INTERFACE
|
|
} ICLRDebuggingLibraryProviderVtbl;
|
|
|
|
interface ICLRDebuggingLibraryProvider
|
|
{
|
|
CONST_VTBL struct ICLRDebuggingLibraryProviderVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ICLRDebuggingLibraryProvider_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define ICLRDebuggingLibraryProvider_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define ICLRDebuggingLibraryProvider_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define ICLRDebuggingLibraryProvider_ProvideLibrary(This,pwszFileName,dwTimestamp,dwSizeOfImage,phModule) \
|
|
( (This)->lpVtbl -> ProvideLibrary(This,pwszFileName,dwTimestamp,dwSizeOfImage,phModule) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __ICLRDebuggingLibraryProvider_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __ICLRDebugging_INTERFACE_DEFINED__
|
|
#define __ICLRDebugging_INTERFACE_DEFINED__
|
|
|
|
/* interface ICLRDebugging */
|
|
/* [object][local][helpstring][version][uuid] */
|
|
|
|
|
|
EXTERN_C const IID IID_ICLRDebugging;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("D28F3C5A-9634-4206-A509-477552EEFB10")
|
|
ICLRDebugging : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE OpenVirtualProcess(
|
|
/* [in] */ ULONG64 moduleBaseAddress,
|
|
/* [in] */ IUnknown *pDataTarget,
|
|
/* [in] */ ICLRDebuggingLibraryProvider *pLibraryProvider,
|
|
/* [in] */ CLR_DEBUGGING_VERSION *pMaxDebuggerSupportedVersion,
|
|
/* [in] */ REFIID riidProcess,
|
|
/* [iid_is][out] */ IUnknown **ppProcess,
|
|
/* [out][in] */ CLR_DEBUGGING_VERSION *pVersion,
|
|
/* [out] */ CLR_DEBUGGING_PROCESS_FLAGS *pdwFlags) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE CanUnloadNow(
|
|
HMODULE hModule) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ICLRDebuggingVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
ICLRDebugging * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
ICLRDebugging * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
ICLRDebugging * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OpenVirtualProcess )(
|
|
ICLRDebugging * This,
|
|
/* [in] */ ULONG64 moduleBaseAddress,
|
|
/* [in] */ IUnknown *pDataTarget,
|
|
/* [in] */ ICLRDebuggingLibraryProvider *pLibraryProvider,
|
|
/* [in] */ CLR_DEBUGGING_VERSION *pMaxDebuggerSupportedVersion,
|
|
/* [in] */ REFIID riidProcess,
|
|
/* [iid_is][out] */ IUnknown **ppProcess,
|
|
/* [out][in] */ CLR_DEBUGGING_VERSION *pVersion,
|
|
/* [out] */ CLR_DEBUGGING_PROCESS_FLAGS *pdwFlags);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *CanUnloadNow )(
|
|
ICLRDebugging * This,
|
|
HMODULE hModule);
|
|
|
|
END_INTERFACE
|
|
} ICLRDebuggingVtbl;
|
|
|
|
interface ICLRDebugging
|
|
{
|
|
CONST_VTBL struct ICLRDebuggingVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ICLRDebugging_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define ICLRDebugging_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define ICLRDebugging_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define ICLRDebugging_OpenVirtualProcess(This,moduleBaseAddress,pDataTarget,pLibraryProvider,pMaxDebuggerSupportedVersion,riidProcess,ppProcess,pVersion,pdwFlags) \
|
|
( (This)->lpVtbl -> OpenVirtualProcess(This,moduleBaseAddress,pDataTarget,pLibraryProvider,pMaxDebuggerSupportedVersion,riidProcess,ppProcess,pVersion,pdwFlags) )
|
|
|
|
#define ICLRDebugging_CanUnloadNow(This,hModule) \
|
|
( (This)->lpVtbl -> CanUnloadNow(This,hModule) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __ICLRDebugging_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __ICLRRuntimeInfo_INTERFACE_DEFINED__
|
|
#define __ICLRRuntimeInfo_INTERFACE_DEFINED__
|
|
|
|
/* interface ICLRRuntimeInfo */
|
|
/* [object][local][helpstring][version][uuid] */
|
|
|
|
|
|
EXTERN_C const IID IID_ICLRRuntimeInfo;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("BD39D1D2-BA2F-486a-89B0-B4B0CB466891")
|
|
ICLRRuntimeInfo : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetVersionString(
|
|
/* [size_is][out] */
|
|
__out_ecount_full_opt(*pcchBuffer) LPWSTR pwzBuffer,
|
|
/* [out][in] */ DWORD *pcchBuffer) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetRuntimeDirectory(
|
|
/* [size_is][out] */
|
|
__out_ecount_full(*pcchBuffer) LPWSTR pwzBuffer,
|
|
/* [out][in] */ DWORD *pcchBuffer) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE IsLoaded(
|
|
/* [in] */ HANDLE hndProcess,
|
|
/* [retval][out] */ BOOL *pbLoaded) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE LoadErrorString(
|
|
/* [in] */ UINT iResourceID,
|
|
/* [size_is][out] */
|
|
__out_ecount_full(*pcchBuffer) LPWSTR pwzBuffer,
|
|
/* [out][in] */ DWORD *pcchBuffer,
|
|
/* [lcid][in] */ LONG iLocaleID) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE LoadLibrary(
|
|
/* [in] */ LPCWSTR pwzDllName,
|
|
/* [retval][out] */ HMODULE *phndModule) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetProcAddress(
|
|
/* [in] */ LPCSTR pszProcName,
|
|
/* [retval][out] */ LPVOID *ppProc) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetInterface(
|
|
/* [in] */ REFCLSID rclsid,
|
|
/* [in] */ REFIID riid,
|
|
/* [retval][iid_is][out] */ LPVOID *ppUnk) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE IsLoadable(
|
|
/* [retval][out] */ BOOL *pbLoadable) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE SetDefaultStartupFlags(
|
|
/* [in] */ DWORD dwStartupFlags,
|
|
/* [in] */ LPCWSTR pwzHostConfigFile) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetDefaultStartupFlags(
|
|
/* [out] */ DWORD *pdwStartupFlags,
|
|
/* [size_is][out] */
|
|
__out_ecount_full_opt(*pcchHostConfigFile) LPWSTR pwzHostConfigFile,
|
|
/* [out][in] */ DWORD *pcchHostConfigFile) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE BindAsLegacyV2Runtime( void) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE IsStarted(
|
|
/* [out] */ BOOL *pbStarted,
|
|
/* [out] */ DWORD *pdwStartupFlags) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ICLRRuntimeInfoVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
ICLRRuntimeInfo * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
ICLRRuntimeInfo * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetVersionString )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [size_is][out] */
|
|
__out_ecount_full_opt(*pcchBuffer) LPWSTR pwzBuffer,
|
|
/* [out][in] */ DWORD *pcchBuffer);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetRuntimeDirectory )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [size_is][out] */
|
|
__out_ecount_full(*pcchBuffer) LPWSTR pwzBuffer,
|
|
/* [out][in] */ DWORD *pcchBuffer);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IsLoaded )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [in] */ HANDLE hndProcess,
|
|
/* [retval][out] */ BOOL *pbLoaded);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *LoadErrorString )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [in] */ UINT iResourceID,
|
|
/* [size_is][out] */
|
|
__out_ecount_full(*pcchBuffer) LPWSTR pwzBuffer,
|
|
/* [out][in] */ DWORD *pcchBuffer,
|
|
/* [lcid][in] */ LONG iLocaleID);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *LoadLibrary )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [in] */ LPCWSTR pwzDllName,
|
|
/* [retval][out] */ HMODULE *phndModule);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetProcAddress )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [in] */ LPCSTR pszProcName,
|
|
/* [retval][out] */ LPVOID *ppProc);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetInterface )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [in] */ REFCLSID rclsid,
|
|
/* [in] */ REFIID riid,
|
|
/* [retval][iid_is][out] */ LPVOID *ppUnk);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IsLoadable )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [retval][out] */ BOOL *pbLoadable);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *SetDefaultStartupFlags )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [in] */ DWORD dwStartupFlags,
|
|
/* [in] */ LPCWSTR pwzHostConfigFile);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetDefaultStartupFlags )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [out] */ DWORD *pdwStartupFlags,
|
|
/* [size_is][out] */
|
|
__out_ecount_full_opt(*pcchHostConfigFile) LPWSTR pwzHostConfigFile,
|
|
/* [out][in] */ DWORD *pcchHostConfigFile);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *BindAsLegacyV2Runtime )(
|
|
ICLRRuntimeInfo * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IsStarted )(
|
|
ICLRRuntimeInfo * This,
|
|
/* [out] */ BOOL *pbStarted,
|
|
/* [out] */ DWORD *pdwStartupFlags);
|
|
|
|
END_INTERFACE
|
|
} ICLRRuntimeInfoVtbl;
|
|
|
|
interface ICLRRuntimeInfo
|
|
{
|
|
CONST_VTBL struct ICLRRuntimeInfoVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ICLRRuntimeInfo_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define ICLRRuntimeInfo_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define ICLRRuntimeInfo_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define ICLRRuntimeInfo_GetVersionString(This,pwzBuffer,pcchBuffer) \
|
|
( (This)->lpVtbl -> GetVersionString(This,pwzBuffer,pcchBuffer) )
|
|
|
|
#define ICLRRuntimeInfo_GetRuntimeDirectory(This,pwzBuffer,pcchBuffer) \
|
|
( (This)->lpVtbl -> GetRuntimeDirectory(This,pwzBuffer,pcchBuffer) )
|
|
|
|
#define ICLRRuntimeInfo_IsLoaded(This,hndProcess,pbLoaded) \
|
|
( (This)->lpVtbl -> IsLoaded(This,hndProcess,pbLoaded) )
|
|
|
|
#define ICLRRuntimeInfo_LoadErrorString(This,iResourceID,pwzBuffer,pcchBuffer,iLocaleID) \
|
|
( (This)->lpVtbl -> LoadErrorString(This,iResourceID,pwzBuffer,pcchBuffer,iLocaleID) )
|
|
|
|
#define ICLRRuntimeInfo_LoadLibrary(This,pwzDllName,phndModule) \
|
|
( (This)->lpVtbl -> LoadLibrary(This,pwzDllName,phndModule) )
|
|
|
|
#define ICLRRuntimeInfo_GetProcAddress(This,pszProcName,ppProc) \
|
|
( (This)->lpVtbl -> GetProcAddress(This,pszProcName,ppProc) )
|
|
|
|
#define ICLRRuntimeInfo_GetInterface(This,rclsid,riid,ppUnk) \
|
|
( (This)->lpVtbl -> GetInterface(This,rclsid,riid,ppUnk) )
|
|
|
|
#define ICLRRuntimeInfo_IsLoadable(This,pbLoadable) \
|
|
( (This)->lpVtbl -> IsLoadable(This,pbLoadable) )
|
|
|
|
#define ICLRRuntimeInfo_SetDefaultStartupFlags(This,dwStartupFlags,pwzHostConfigFile) \
|
|
( (This)->lpVtbl -> SetDefaultStartupFlags(This,dwStartupFlags,pwzHostConfigFile) )
|
|
|
|
#define ICLRRuntimeInfo_GetDefaultStartupFlags(This,pdwStartupFlags,pwzHostConfigFile,pcchHostConfigFile) \
|
|
( (This)->lpVtbl -> GetDefaultStartupFlags(This,pdwStartupFlags,pwzHostConfigFile,pcchHostConfigFile) )
|
|
|
|
#define ICLRRuntimeInfo_BindAsLegacyV2Runtime(This) \
|
|
( (This)->lpVtbl -> BindAsLegacyV2Runtime(This) )
|
|
|
|
#define ICLRRuntimeInfo_IsStarted(This,pbStarted,pdwStartupFlags) \
|
|
( (This)->lpVtbl -> IsStarted(This,pbStarted,pdwStartupFlags) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#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,
|
|
/* [iid_is][out] */
|
|
__RPC__deref_out 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 __CLRMetaHost_LIBRARY_DEFINED__
|
|
#define __CLRMetaHost_LIBRARY_DEFINED__
|
|
|
|
/* library CLRMetaHost */
|
|
/* [version][uuid] */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EXTERN_C const IID LIBID_CLRMetaHost;
|
|
#endif /* __CLRMetaHost_LIBRARY_DEFINED__ */
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|