From d007d9feeaecee144802648e85011cc81c1fe20b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 16 Mar 2011 08:59:13 +0100 Subject: [PATCH] mscoree: Force_get_runtime_info() is not used so remove it. --- dlls/mscoree/metahost.c | 5 ----- dlls/mscoree/mscoree_private.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c index fb03fb13da5..878cdeebbe6 100644 --- a/dlls/mscoree/metahost.c +++ b/dlls/mscoree/metahost.c @@ -1316,8 +1316,3 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file, return CLR_E_SHIM_RUNTIME; } - -HRESULT force_get_runtime_info(ICLRRuntimeInfo **result) -{ - return IUnknown_QueryInterface((IUnknown*)&runtimes[0], &IID_ICLRRuntimeInfo, (void**)result); -} diff --git a/dlls/mscoree/mscoree_private.h b/dlls/mscoree/mscoree_private.h index aa0ee2efa51..5428f17f60e 100644 --- a/dlls/mscoree/mscoree_private.h +++ b/dlls/mscoree/mscoree_private.h @@ -51,8 +51,6 @@ typedef struct CLRRuntimeInfo extern HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file, DWORD startup_flags, DWORD runtimeinfo_flags, BOOL legacy, ICLRRuntimeInfo **result); -extern HRESULT force_get_runtime_info(ICLRRuntimeInfo **result); - extern HRESULT ICLRRuntimeInfo_GetRuntimeHost(ICLRRuntimeInfo *iface, RuntimeHost **result); extern HRESULT MetaDataDispenser_CreateInstance(IUnknown **ppUnk);