gdiplus/tests: Comment out a test that corrupts the stack on Vista.
[wine/multimedia.git] / dlls / wineesd.drv / esound.c
blob64c075310479427ccc450172aa1e579151f33b13
1 /*
2 * Wine Driver for EsounD Sound Server
3 * http://www.tux.org/~ricdude/EsounD.html
5 * Copyright 2004 Zhangrong Huang <hzhr@users.sourceforge.net>
7 * Code massively copied from Eric Pouech's OSS driver
8 * and Chris Morgan aRts driver
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
25 #include "config.h"
27 #include <stdarg.h>
29 #include "windef.h"
30 #include "winbase.h"
31 #include "wingdi.h"
32 #include "winuser.h"
33 #include "mmddk.h"
35 /**************************************************************************
36 * DriverProc (WINEESD.@)
38 LRESULT CALLBACK ESD_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
39 LPARAM dwParam1, LPARAM dwParam2)
41 switch(wMsg) {
42 #ifdef HAVE_ESD
43 case DRV_LOAD:
44 case DRV_FREE:
45 case DRV_OPEN:
46 case DRV_CLOSE:
47 case DRV_INSTALL:
48 case DRV_REMOVE:
49 case DRV_ENABLE:
50 case DRV_DISABLE:
51 case DRV_QUERYCONFIGURE:
52 return 1;
53 case DRV_CONFIGURE: MessageBoxA(0, "EsounD MultiMedia Driver!", "EsounD Driver", MB_OK); return 1;
54 #endif
55 default:
56 return 0;