[QUARTZ] Added some stubs

Christian Costa titan.costa at wanadoo.fr
Fri Sep 3 15:52:56 CDT 2004


Hi,

Changelog:
Added stubs for AmpFactorToDB and DBToAmpFactor.
Added GetProxyDllInfo.

Christian Costa   titan.costa at wanadoo.fr

-------------- next part --------------
Index: main.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/main.c,v
retrieving revision 1.36
diff -u -r1.36 main.c
--- main.c	24 Aug 2004 02:28:35 -0000	1.36
+++ main.c	3 Sep 2004 19:53:16 -0000
@@ -250,3 +250,18 @@
         return "State_Unknown";
     }
 }
+
+LONG AmpFactorToDB(LONG ampfactor)
+{
+    FIXME("(%ld) Stub!\n", ampfactor);
+    return 0;
+}
+
+LONG DBToAmpFactor(LONG db)
+{
+    FIXME("(%ld) Stub!\n", db);
+    /* Avoid divide by zero (probably during range computation) in Windows Media Player 6.4 */
+    if (db < -1000)
+	return 0;
+    return 100;
+}
Index: quartz.spec
===================================================================
RCS file: /home/wine/wine/dlls/quartz/quartz.spec,v
retrieving revision 1.17
diff -u -r1.17 quartz.spec
--- quartz.spec	23 Aug 2003 22:56:43 -0000	1.17
+++ quartz.spec	3 Sep 2004 19:53:16 -0000
@@ -1,8 +1,9 @@
 @ stub AMGetErrorTextA
 @ stub AMGetErrorTextW
-@ stub AmpFactorToDB
-@ stub DBToAmpFactor
+@ stdcall AmpFactorToDB(long)
+@ stdcall DBToAmpFactor(long)
 @ stdcall -private DllCanUnloadNow() QUARTZ_DllCanUnloadNow
 @ stdcall -private DllGetClassObject(ptr ptr ptr) QUARTZ_DllGetClassObject
 @ stdcall -private DllRegisterServer() QUARTZ_DllRegisterServer
 @ stdcall -private DllUnregisterServer() QUARTZ_DllUnregisterServer
+@ stub GetProxyDllInfo


More information about the wine-patches mailing list