Some stubs

Dominik Strasser Dominik.Strasser at t-online.de
Sun Dec 29 13:32:17 CST 2002


This patch contains some stubs which are needed during IE6 setup (resp. 
a subsequent wineboot run).

Changelog: some stubs for dll setup needed by IE6 setup

Regards

Dominik
-------------- next part --------------
Index: dlls/devenum/devenum.spec
===================================================================
RCS file: /home/wine/wine/dlls/devenum/devenum.spec,v
retrieving revision 1.4
diff -u -3 -p -r1.4 devenum.spec
--- dlls/devenum/devenum.spec	21 Jun 2002 19:15:46 -0000	1.4
+++ dlls/devenum/devenum.spec	29 Dec 2002 19:28:22 -0000
@@ -1,4 +1,4 @@
 @ stub DllCanUnloadNow
 @ stub DllGetClassObject
-@ stub DllRegisterServer
+@ stdcall DllRegisterServer() DEVENUM_DllRegisterServer
 @ stub DllUnregisterServer
Index: dlls/devenum/devenum_main.c
===================================================================
RCS file: /home/wine/wine/dlls/devenum/devenum_main.c,v
retrieving revision 1.1
diff -u -3 -p -r1.1 devenum_main.c
--- dlls/devenum/devenum_main.c	23 Oct 2001 20:35:23 -0000	1.1
+++ dlls/devenum/devenum_main.c	29 Dec 2002 19:28:22 -0000
@@ -1 +1,13 @@
-/* nothing here yet */
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(devenum);
+
+/***********************************************************************
+ *      DllRegisterServer (DEVENUM.@)
+ */
+HRESULT WINAPI DEVENUM_DllRegisterServer()
+{
+	FIXME("(): stub\n");
+	return 0;
+}
+
Index: dlls/qcap/qcap.spec
===================================================================
RCS file: /home/wine/wine/dlls/qcap/qcap.spec,v
retrieving revision 1.4
diff -u -3 -p -r1.4 qcap.spec
--- dlls/qcap/qcap.spec	21 Jun 2002 19:15:49 -0000	1.4
+++ dlls/qcap/qcap.spec	29 Dec 2002 19:28:22 -0000
@@ -1,4 +1,4 @@
 @ stub DllCanUnloadNow
-@ stub DllGetClassObject
-@ stub DllRegisterServer
+@ stdcall DllGetClassObject(ptr ptr ptr) QCAP_DllGetClassObject
+@ stdcall DllRegisterServer() QCAP_DllRegisterServer
 @ stub DllUnregisterServer
Index: dlls/qcap/qcap_main.c
===================================================================
RCS file: /home/wine/wine/dlls/qcap/qcap_main.c,v
retrieving revision 1.1
diff -u -3 -p -r1.1 qcap_main.c
--- dlls/qcap/qcap_main.c	23 Oct 2001 20:35:23 -0000	1.1
+++ dlls/qcap/qcap_main.c	29 Dec 2002 19:28:22 -0000
@@ -1 +1,24 @@
-/* nothing here yet */
+#include "wine/debug.h"
+#include "winerror.h"
+
+
+WINE_DEFAULT_DEBUG_CHANNEL(qcap);
+
+/***********************************************************************
+ *      DllRegisterServer (QCAP.@)
+ */
+HRESULT WINAPI QCAP_DllRegisterServer()
+{
+	FIXME("(): stub\n");
+	return 0;
+}
+
+/***********************************************************************
+ *		DllGetClassObject (QCAP.@)
+ */
+HRESULT WINAPI QCAP_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
+{
+    FIXME("\n\tCLSID:\t%s,\n\tIID:\t%s\n",debugstr_guid(rclsid),debugstr_guid(iid));
+    return CLASS_E_CLASSNOTAVAILABLE;
+}
+
Index: dlls/quartz/main.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/main.c,v
retrieving revision 1.21
diff -u -3 -p -r1.21 main.c
--- dlls/quartz/main.c	2 May 2002 01:29:19 -0000	1.21
+++ dlls/quartz/main.c	29 Dec 2002 19:28:22 -0000
@@ -1 +1,34 @@
-/* all codes are removed by author */
+#include "wine/debug.h"
+#include "winerror.h"
+
+
+WINE_DEFAULT_DEBUG_CHANNEL(quartz);
+
+DWORD dll_ref = 0;
+
+/***********************************************************************
+ *      DllRegisterServer (QUARTZ.@)
+ */
+HRESULT WINAPI QUARTZ_DllRegisterServer()
+{
+	FIXME("(): stub\n");
+	return 0;
+}
+
+/***********************************************************************
+ *		DllGetClassObject (QUARTZ.@)
+ */
+HRESULT WINAPI QUARTZ_DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
+{
+    FIXME("\n\tCLSID:\t%s,\n\tIID:\t%s\n",debugstr_guid(rclsid),debugstr_guid(iid));
+    return CLASS_E_CLASSNOTAVAILABLE;
+}
+
+/***********************************************************************
+ *		DllCanUnloadNow (QUARTZ.@)
+ */
+HRESULT WINAPI QUARTZ_DllCanUnloadNow()
+{
+    return dll_ref != 0 ? S_FALSE : S_OK;
+}
+
Index: dlls/quartz/quartz.spec
===================================================================
RCS file: /home/wine/wine/dlls/quartz/quartz.spec,v
retrieving revision 1.14
diff -u -3 -p -r1.14 quartz.spec
--- dlls/quartz/quartz.spec	21 Jun 2002 19:15:49 -0000	1.14
+++ dlls/quartz/quartz.spec	29 Dec 2002 19:28:22 -0000
@@ -2,7 +2,7 @@
 @ stub AMGetErrorTextW
 @ stub AmpFactorToDB
 @ stub DBToAmpFactor
-@ stub DllCanUnloadNow
-@ stub DllGetClassObject
-@ stub DllRegisterServer
+@ stdcall DllCanUnloadNow() QUARTZ_DllCanUnloadNow
+@ stdcall DllGetClassObject(ptr ptr ptr) QUARTZ_DllGetClassObject
+@ stdcall DllRegisterServer() QUARTZ_DllRegisterServer
 @ stub DllUnregisterServer


More information about the wine-patches mailing list