PATCH: imaadp32.acm

Marcus Meissner marcus at jet.franken.de
Fri May 10 12:57:16 CDT 2002


Hi,

This implements an empty stub for DriverProc, until we have something here.
(So we don't crash loading this driver.)

Ciao, Marcus

License: LGPL
Changelog:
	DriverProc as empty stub.

Index: imaadp32.acm.spec
===================================================================
RCS file: /home/wine/wine/dlls/msacm/imaadp32/imaadp32.acm.spec,v
retrieving revision 1.3
diff -u -r1.3 imaadp32.acm.spec
--- imaadp32.acm.spec	9 May 2002 00:05:50 -0000	1.3
+++ imaadp32.acm.spec	10 May 2002 19:04:32 -0000
@@ -2,6 +2,6 @@
 file imaadp32.acm
 type win32
 
-debug_channels ()
+debug_channels (msacm)
 
-@ stub DriverProc #(long long long long long)
+@ stdcall DriverProc (long long long long long) IMAADP32_ACM_DriverProc
Index: imaadp32.c
===================================================================
RCS file: /home/wine/wine/dlls/msacm/imaadp32/imaadp32.c,v
retrieving revision 1.3
diff -u -r1.3 imaadp32.c
--- imaadp32.c	5 May 2002 19:40:58 -0000	1.3
+++ imaadp32.c	10 May 2002 19:04:32 -0000
@@ -1 +1,31 @@
-/* all codes are removed by author */
+/* -*- tab-width: 8; c-basic-offset: 4 -*- */
+
+/*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#include "winbase.h"
+#include "wine/debug.h"
+#include "mmsystem.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(msacm);
+
+LRESULT CALLBACK
+IMAADP32_ACM_DriverProc(DWORD dwDevID, HDRVR hDriv, UINT wMsg, 
+		       LPARAM dwParam1, LPARAM dwParam2)
+{
+    FIXME("(), empty stub!\n");
+    return 0;
+}



More information about the wine-patches mailing list