Vincent Povirk : mscoree: Stub CLRCreateInstance.

Alexandre Julliard julliard at winehq.org
Mon Oct 4 11:04:05 CDT 2010


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Tue Sep 21 15:34:18 2010 -0500

mscoree: Stub CLRCreateInstance.

---

 dlls/mscoree/mscoree.spec   |    1 +
 dlls/mscoree/mscoree_main.c |    9 +++++++++
 include/metahost.idl        |    2 ++
 3 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/dlls/mscoree/mscoree.spec b/dlls/mscoree/mscoree.spec
index 2654813..1d4d7f7 100644
--- a/dlls/mscoree/mscoree.spec
+++ b/dlls/mscoree/mscoree.spec
@@ -7,6 +7,7 @@
 
 @ stub CallFunctionShim
 @ stub CloseCtrs
+@ stdcall CLRCreateInstance(ptr ptr ptr)
 @ stdcall ClrCreateManagedInstance(wstr ptr ptr)
 @ stub CoEEShutDownCOM
 @ stdcall CoInitializeCor(long)
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index 980bed1..7b33619 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -29,12 +29,14 @@
 #include "winnls.h"
 #include "winreg.h"
 #include "ole2.h"
+#include "ocidl.h"
 #include "shellapi.h"
 
 #include "initguid.h"
 #include "cor.h"
 #include "corerror.h"
 #include "mscoree.h"
+#include "metahost.h"
 #include "mscoree_private.h"
 
 #include "wine/debug.h"
@@ -638,6 +640,13 @@ BOOL WINAPI StrongNameSignatureVerificationEx(LPCWSTR filename, BOOL forceVerifi
     return FALSE;
 }
 
+HRESULT WINAPI CLRCreateInstance(REFCLSID clsid, REFIID riid, LPVOID *ppInterface)
+{
+    FIXME("(%s,%s,%p): stub\n", debugstr_guid(clsid), debugstr_guid(riid), ppInterface);
+
+    return E_NOTIMPL;
+}
+
 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
 {
     FIXME("(%s, %s, %p): stub\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
diff --git a/include/metahost.idl b/include/metahost.idl
index d0d3355..369addb 100644
--- a/include/metahost.idl
+++ b/include/metahost.idl
@@ -65,3 +65,5 @@ interface ICLRMetaHost : IUnknown
     HRESULT ExitProcess(
         [in] INT32 iExitCode);
 };
+
+cpp_quote("HRESULT WINAPI CLRCreateInstance(REFCLSID clsid, REFIID riid, LPVOID *ppInterface);")




More information about the wine-cvs mailing list