Alistair Leslie-Hughes : mscoree: Add stubs for DllCanUnloadNow and DllGetClassObject.
Alexandre Julliard
julliard at winehq.org
Thu Jan 10 06:42:08 CST 2008
Module: wine
Branch: master
Commit: 832539237073dfc4e703106204732e1770bc16d8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=832539237073dfc4e703106204732e1770bc16d8
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu Jan 10 15:44:31 2008 +1100
mscoree: Add stubs for DllCanUnloadNow and DllGetClassObject.
---
dlls/mscoree/mscoree.spec | 4 ++--
dlls/mscoree/mscoree_main.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/dlls/mscoree/mscoree.spec b/dlls/mscoree/mscoree.spec
index b8b6d91..92efe94 100644
--- a/dlls/mscoree/mscoree.spec
+++ b/dlls/mscoree/mscoree.spec
@@ -29,8 +29,8 @@
@ stub CorTickleSvc
@ stub CreateConfigStream
@ stub CreateDebuggingInterfaceFromVersion
-@ stub DllCanUnloadNow
-@ stub DllGetClassObject
+@ stdcall -private DllCanUnloadNow()
+@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stub DllRegisterServer
@ stub DllUnregisterServer
@ stub EEDllGetClassObjectFromClass
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index 062f9ae..ecefc27 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -270,3 +270,18 @@ HRESULT WINAPI GetVersionFromProcess(HANDLE hProcess, LPWSTR pVersion, DWORD cch
FIXME("(%p, %p, %d, %p): stub\n", hProcess, pVersion, cchBuffer, dwLength);
return E_NOTIMPL;
}
+
+HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
+{
+ FIXME("(%p, %p, %p): stub\n", rclsid, riid, ppv);
+ if(!ppv)
+ return E_INVALIDARG;
+
+ return E_NOTIMPL;
+}
+
+HRESULT WINAPI DllCanUnloadNow(VOID)
+{
+ FIXME("stub\n");
+ return S_OK;
+}
More information about the wine-cvs
mailing list