Alistair Leslie-Hughes : mscoree: Added stub CorBindToRuntimeEx.

Alexandre Julliard julliard at winehq.org
Fri Mar 14 08:29:31 CDT 2008


Module: wine
Branch: master
Commit: 69272d1f5204c106da8a480709bc392ec70b71ff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=69272d1f5204c106da8a480709bc392ec70b71ff

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Fri Mar 14 21:27:42 2008 +1100

mscoree: Added stub CorBindToRuntimeEx.

---

 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..7093590 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);




More information about the wine-cvs mailing list