[PATCH] Added stub CorBindToRuntimeEx

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Fri Mar 14 05:27:42 CDT 2008


---
 dlls/mscoree/mscoree.spec   |    2 +-
 dlls/mscoree/mscoree_main.c |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/mscoree/mscoree.spec b/dlls/mscoree/mscoree.spec
index 1d110a8..8a1e1f8 100644
--- a/dlls/mscoree/mscoree.spec
+++ b/dlls/mscoree/mscoree.spec
@@ -19,7 +19,7 @@
 @ stub CorBindToRuntimeByCfg
 @ stub CorBindToRuntimeByPath
 @ stub CorBindToRuntimeByPathEx
-@ stub CorBindToRuntimeEx
+@ stdcall CorBindToRuntimeEx(wstr wstr long ptr ptr ptr)
 @ stdcall CorBindToRuntimeHost(wstr wstr wstr ptr long ptr ptr ptr)
 @ stub CorDllMainWorker
 @ stdcall CorExitProcess(long)
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index b60d4d3..3bdd48f 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -295,6 +295,17 @@ HRESULT WINAPI LoadStringRC(UINT resId, LPWSTR pBuffer, int iBufLen, int bQuiet)
     return LoadStringRCEx(-1, resId, pBuffer, iBufLen, bQuiet, NULL);
 }
 
+HRESULT WINAPI CorBindToRuntimeEx(LPWSTR szVersion, LPWSTR szBuildFlavor, DWORD nflags, REFCLSID rslsid, 
+                                  REFIID riid, LPVOID *ppv)
+{
+    FIXME("%s %s %d %s %s %p\n", debugstr_w(szVersion), debugstr_w(szBuildFlavor), nflags, debugstr_guid( rslsid ),
+          debugstr_guid( riid ), ppv);
+
+    *ppv = NULL;
+    
+    return E_NOTIMPL;
+}
+
 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
 {
     FIXME("(%p, %p, %p): stub\n", rclsid, riid, ppv);
-- 
1.5.4.1


--------------040909090708070402050307--




More information about the wine-patches mailing list