mscoree: Add a stub implementation for CorExitProcess and GetRequestedRuntimeInfo.
This commit is contained in:
parent
50f4edae54
commit
8c34da2297
|
@ -22,7 +22,7 @@
|
||||||
@ stub CorBindToRuntimeEx
|
@ stub CorBindToRuntimeEx
|
||||||
@ stdcall CorBindToRuntimeHost(wstr wstr wstr ptr long ptr ptr ptr)
|
@ stdcall CorBindToRuntimeHost(wstr wstr wstr ptr long ptr ptr ptr)
|
||||||
@ stub CorDllMainWorker
|
@ stub CorDllMainWorker
|
||||||
@ stub CorExitProcess
|
@ stdcall CorExitProcess(long)
|
||||||
@ stub CorGetSvc
|
@ stub CorGetSvc
|
||||||
@ stub CorIsLatestSvc
|
@ stub CorIsLatestSvc
|
||||||
@ stub CorMarkThreadInThreadPool
|
@ stub CorMarkThreadInThreadPool
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
@ stub GetPrivateContextsPerfCounters
|
@ stub GetPrivateContextsPerfCounters
|
||||||
@ stub GetProcessExecutableHeap
|
@ stub GetProcessExecutableHeap
|
||||||
@ stub GetRealProcAddress
|
@ stub GetRealProcAddress
|
||||||
@ stub GetRequestedRuntimeInfo
|
@ stdcall GetRequestedRuntimeInfo(wstr wstr wstr long long ptr long ptr ptr long ptr)
|
||||||
@ stub GetRequestedRuntimeVersion
|
@ stub GetRequestedRuntimeVersion
|
||||||
@ stub GetRequestedRuntimeVersionForCLSID
|
@ stub GetRequestedRuntimeVersionForCLSID
|
||||||
@ stub GetStartupFlags
|
@ stub GetStartupFlags
|
||||||
|
|
|
@ -175,6 +175,12 @@ int WINAPI _CorExeMain2(PBYTE ptrMemory, DWORD cntMemory, LPCWSTR imageName, LPC
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void WINAPI CorExitProcess(int exitCode)
|
||||||
|
{
|
||||||
|
FIXME("(%x) stub\n", exitCode);
|
||||||
|
ExitProcess(exitCode);
|
||||||
|
}
|
||||||
|
|
||||||
void WINAPI _CorImageUnloading(LPCVOID* imageBase)
|
void WINAPI _CorImageUnloading(LPCVOID* imageBase)
|
||||||
{
|
{
|
||||||
TRACE("(%p): stub\n", imageBase);
|
TRACE("(%p): stub\n", imageBase);
|
||||||
|
@ -206,10 +212,21 @@ HRESULT WINAPI GetCORVersion(LPWSTR pbuffer, DWORD cchBuffer, DWORD *dwLength)
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR pExe, LPCWSTR pwszVersion, LPCWSTR pConfigurationFile,
|
||||||
|
DWORD startupFlags, DWORD runtimeInfoFlags, LPWSTR pDirectory, DWORD dwDirectory, DWORD *dwDirectoryLength,
|
||||||
|
LPWSTR pVersion, DWORD cchBuffer, DWORD *dwlength)
|
||||||
|
{
|
||||||
|
FIXME("(%s, %s, %s, 0x%08x, 0x%08x, %p, 0x%08x, %p, %p, 0x%08x, %p) stub\n", debugstr_w(pExe),
|
||||||
|
debugstr_w(pwszVersion), debugstr_w(pConfigurationFile), startupFlags, runtimeInfoFlags, pDirectory,
|
||||||
|
dwDirectory, dwDirectoryLength, pVersion, cchBuffer, dwlength);
|
||||||
|
return GetCORVersion(pVersion, cchBuffer, dwlength);
|
||||||
|
}
|
||||||
|
|
||||||
HRESULT WINAPI LoadLibraryShim( LPCWSTR szDllName, LPCWSTR szVersion, LPVOID pvReserved, HMODULE * phModDll)
|
HRESULT WINAPI LoadLibraryShim( LPCWSTR szDllName, LPCWSTR szVersion, LPVOID pvReserved, HMODULE * phModDll)
|
||||||
{
|
{
|
||||||
*phModDll = LoadLibraryW(szDllName);
|
|
||||||
FIXME("(%p %s, %p, %p, %p): semi-stub\n", szDllName, debugstr_w(szDllName), szVersion, pvReserved, phModDll);
|
FIXME("(%p %s, %p, %p, %p): semi-stub\n", szDllName, debugstr_w(szDllName), szVersion, pvReserved, phModDll);
|
||||||
|
|
||||||
|
if (phModDll) *phModDll = LoadLibraryW(szDllName);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue