Vincent Povirk : mscoree: Add diagnostic CorGetSvc stub.
Alexandre Julliard
julliard at winehq.org
Thu Aug 8 19:27:21 CDT 2019
Module: wine
Branch: master
Commit: 6e3d68b14120563fd584fe9c5a27885f51e7ae66
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6e3d68b14120563fd584fe9c5a27885f51e7ae66
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Thu Aug 8 13:58:37 2019 -0500
mscoree: Add diagnostic CorGetSvc stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45449
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mscoree/mscoree.spec | 2 +-
dlls/mscoree/mscoree_main.c | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/dlls/mscoree/mscoree.spec b/dlls/mscoree/mscoree.spec
index ec4668b..7fa68bf 100644
--- a/dlls/mscoree/mscoree.spec
+++ b/dlls/mscoree/mscoree.spec
@@ -24,7 +24,7 @@
@ stdcall CorBindToRuntimeHost(wstr wstr wstr ptr long ptr ptr ptr)
@ stub CorDllMainWorker
@ stdcall CorExitProcess(long)
-@ stub CorGetSvc
+@ stdcall CorGetSvc(ptr)
@ stdcall CorIsLatestSvc(ptr ptr)
@ stub CorMarkThreadInThreadPool
@ stub CorTickleSvc
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index af0321a..81fe561 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -319,6 +319,13 @@ HRESULT WINAPI CorIsLatestSvc(int *unk1, int *unk2)
return S_OK;
}
+HRESULT WINAPI CorGetSvc(void *unk)
+{
+ ERR_(winediag)("If this function is called, it is likely the result of a broken .NET installation\n");
+
+ return E_NOTIMPL;
+}
+
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)
More information about the wine-cvs
mailing list