mscoree: add a few more stubs.
Louis. Lenders
xerox_xerox2000 at yahoo.co.uk
Wed Nov 1 14:42:30 CST 2006
Skipped content of type multipart/alternative-------------- next part --------------
diff --git a/dlls/mscoree/mscoree.spec b/dlls/mscoree/mscoree.spec
index 1d39504..32dd72b 100644
--- a/dlls/mscoree/mscoree.spec
+++ b/dlls/mscoree/mscoree.spec
@@ -9,7 +9,7 @@
@ stub CloseCtrs
@ stub ClrCreateManagedInstance
@ stub CoEEShutDownCOM
-@ stub CoInitializeCor
+@ stdcall CoInitializeCor(long)
@ stub CoInitializeEE
@ stub CoUninitializeCor
@ stub CoUninitializeEE
@@ -36,7 +36,7 @@
@ stub EEDllGetClassObjectFromClass
@ stub EEDllRegisterServer
@ stub EEDllUnregisterServer
-@ stub GetAssemblyMDImport
+@ stdcall GetAssemblyMDImport(ptr ptr ptr)
@ stub GetCORRequiredVersion
@ stub GetCORRootDirectory
@ stub GetCORSystemDirectory
@@ -67,7 +67,7 @@
@ stub GetXMLElement
@ stub GetXMLElementAttribute
@ stub GetXMLObject
-@ stub LoadLibraryShim
+@ stdcall LoadLibraryShim(ptr ptr ptr ptr)
@ stub LoadLibraryWithPolicyShim
@ stub LoadStringRCEx
@ stub LockClrVersion
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index 3743ff5..d3e522e 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -23,6 +23,8 @@ #include <stdarg.h>
#include "windef.h"
#include "winbase.h"
+#include "winuser.h"
+#include "ole2.h"
#include "wine/debug.h"
@@ -115,3 +117,22 @@ HRESULT WINAPI GetCORVersion(LPWSTR pbuf
return S_OK;
}
+
+HRESULT WINAPI LoadLibraryShim( LPCWSTR szDllName, LPCWSTR szVersion, LPVOID pvReserved, HMODULE * phModDll)
+{
+ *phModDll = LoadLibraryW(szDllName);
+ FIXME("(%p %s, %p, %p, %p): semi-stub\n", szDllName, debugstr_w(szDllName), szVersion, pvReserved, phModDll);
+ return S_OK;
+}
+
+HRESULT WINAPI CoInitializeCor(DWORD fFlags)
+{
+ FIXME("(0x%08x): stub\n", fFlags);
+ return S_OK;
+}
+
+HRESULT WINAPI GetAssemblyMDImport(LPCWSTR szFileName, REFIID riid, IUnknown **ppIUnk)
+{
+ FIXME("(%p %s, %p, %p): stub\n", szFileName, debugstr_w(szFileName), riid, *ppIUnk);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
More information about the wine-patches
mailing list