summaryrefslogtreecommitdiff
path: root/src/dlls
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-10-27 16:08:24 -0700
committerGitHub <noreply@github.com>2017-10-27 16:08:24 -0700
commit12334b8ad82ce97644b7a28398b5deb15875679c (patch)
tree61a77174aa83fdae6ec310c13a77da7fb316504a /src/dlls
parent0794d67803f0fa7b5159a1f296d3012e4b7ee913 (diff)
downloadcoreclr-12334b8ad82ce97644b7a28398b5deb15875679c.tar.gz
coreclr-12334b8ad82ce97644b7a28398b5deb15875679c.tar.bz2
coreclr-12334b8ad82ce97644b7a28398b5deb15875679c.zip
Delete dead code (#14703)
Diffstat (limited to 'src/dlls')
-rw-r--r--src/dlls/mscoree/mscoree.cpp54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/dlls/mscoree/mscoree.cpp b/src/dlls/mscoree/mscoree.cpp
index f3e22da46b..36b22f2a57 100644
--- a/src/dlls/mscoree/mscoree.cpp
+++ b/src/dlls/mscoree/mscoree.cpp
@@ -518,60 +518,6 @@ STDAPI LoadStringRCEx(
#endif // CROSSGEN_COMPILE
-
-
-// Note that there are currently two callers of this function: code:CCompRC.LoadLibrary
-// and code:CorLaunchApplication.
-STDAPI GetRequestedRuntimeInfoInternal(LPCWSTR pExe,
- LPCWSTR pwszVersion,
- LPCWSTR pConfigurationFile,
- DWORD startupFlags,
- DWORD runtimeInfoFlags,
- __out_ecount_opt(dwDirectory) LPWSTR pDirectory,
- DWORD dwDirectory,
- __out_opt DWORD *pdwDirectoryLength,
- __out_ecount_opt(cchBuffer) LPWSTR pVersion,
- DWORD cchBuffer,
- __out_opt DWORD* pdwLength)
-{
- CONTRACTL
- {
- NOTHROW;
- GC_NOTRIGGER;
- ENTRY_POINT;
- PRECONDITION( pVersion != NULL && cchBuffer > 0);
- } CONTRACTL_END;
-
- // for simplicity we will cheat and return the entire system directory in pDirectory
- pVersion[0] = 0;
- if (pdwLength != NULL)
- *pdwLength = 0;
- HRESULT hr;
-
- BEGIN_SO_INTOLERANT_CODE_NO_THROW_CHECK_THREAD(SetLastError(COR_E_STACKOVERFLOW); return COR_E_STACKOVERFLOW;)
- EX_TRY
- {
-
- PathString pDirectoryPath;
-
- hr = GetCORSystemDirectoryInternaL(pDirectoryPath);
- *pdwLength = pDirectoryPath.GetCount() + 1;
- if (dwDirectory >= *pdwLength)
- {
- wcscpy_s(pDirectory, pDirectoryPath.GetCount() + 1, pDirectoryPath);
- }
- else
- {
- hr = E_FAIL;
- }
-
- }
- EX_CATCH_HRESULT(hr);
- END_SO_INTOLERANT_CODE
-
- return hr;
-}
-
// Replacement for legacy shim API GetCORRequiredVersion(...) used in linked libraries.
// Used in code:TiggerStorage::GetDefaultVersion#CallTo_CLRRuntimeHostInternal_GetImageVersionString.
HRESULT