Alistair Leslie-Hughes : scrrun: Add DllCanUnloadNow, DllGetClassObject stubs.

Alexandre Julliard julliard at winehq.org
Wed Mar 28 12:47:08 CDT 2012


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Jan 25 15:55:54 2012 +1100

scrrun: Add DllCanUnloadNow, DllGetClassObject stubs.

---

 dlls/scrrun/scrrun.c    |   21 +++++++++++++++++++++
 dlls/scrrun/scrrun.spec |    4 ++--
 2 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/dlls/scrrun/scrrun.c b/dlls/scrrun/scrrun.c
index 3284584..c74832b 100644
--- a/dlls/scrrun/scrrun.c
+++ b/dlls/scrrun/scrrun.c
@@ -65,3 +65,24 @@ HRESULT WINAPI DllUnregisterServer(void)
     TRACE("()\n");
     return __wine_unregister_resources(scrrun_instance);
 }
+
+/***********************************************************************
+ *      DllGetClassObject (scrrun.@)
+ */
+
+HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
+{
+    FIXME("(%s, %s, %p): stub\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
+    if(!ppv)
+        return E_INVALIDARG;
+
+    return E_NOTIMPL;
+}
+
+/***********************************************************************
+ *      DllCanUnloadNow (scrrun.@)
+ */
+HRESULT WINAPI DllCanUnloadNow(void)
+{
+    return S_FALSE;
+}
diff --git a/dlls/scrrun/scrrun.spec b/dlls/scrrun/scrrun.spec
index 838e9ea..e71b683 100644
--- a/dlls/scrrun/scrrun.spec
+++ b/dlls/scrrun/scrrun.spec
@@ -1,6 +1,6 @@
 @ stub DLLGetDocumentation
-@ stub DllCanUnloadNow
-@ stub DllGetClassObject
+@ stdcall -private DllCanUnloadNow()
+@ stdcall -private DllGetClassObject(ptr ptr ptr)
 @ stdcall -private DllRegisterServer()
 @ stdcall -private DllUnregisterServer()
 @ stub DoOpenPipeStream




More information about the wine-cvs mailing list