mscoree: Add stub implementation for CreateConfigStream

André Hentschel nerv at dawncrow.de
Fri Mar 25 15:56:57 CDT 2011


.net4 installer sometimes crashes with that one
---
 dlls/mscoree/mscoree.spec   |    2 +-
 dlls/mscoree/mscoree_main.c |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/dlls/mscoree/mscoree.spec b/dlls/mscoree/mscoree.spec
index 8cf548d..63a14b6 100644
--- a/dlls/mscoree/mscoree.spec
+++ b/dlls/mscoree/mscoree.spec
@@ -28,7 +28,7 @@
 @ stub CorIsLatestSvc
 @ stub CorMarkThreadInThreadPool
 @ stub CorTickleSvc
-@ stub CreateConfigStream
+@ stdcall CreateConfigStream(wstr ptr)
 @ stub CreateDebuggingInterfaceFromVersion
 @ stdcall -private DllCanUnloadNow()
 @ stdcall -private DllGetClassObject(ptr ptr ptr)
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index 6f53c8f..9b5d401 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -422,6 +422,12 @@ BOOL WINAPI StrongNameSignatureVerificationEx(LPCWSTR filename, BOOL forceVerifi
     return FALSE;
 }
 
+HRESULT WINAPI CreateConfigStream(LPCWSTR filename, IStream **stream)
+{
+    FIXME("(%s, %p): stub\n", debugstr_w(filename), stream);
+    return E_NOTIMPL;
+}
+
 HRESULT WINAPI CLRCreateInstance(REFCLSID clsid, REFIID riid, LPVOID *ppInterface)
 {
     TRACE("(%s,%s,%p)\n", debugstr_guid(clsid), debugstr_guid(riid), ppInterface);
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list