configure: Changes from running autconf after previous patch.
[wine/hacks.git] / dlls / winenas.drv / nas.c
blob916e5b0a6dcbf8ba4f1fe20dede5340e711fe006
1 /* -*- tab-width: 8; c-basic-offset: 4 -*- */
2 /*
4 * Wine Driver for NAS Network Audio System
5 * http://radscan.com/nas.html
7 * Copyright 2002 Nicolas Escuder <n.escuder@alineanet.com>
9 * Code massively copied from Eric Pouech's OSS driver
10 * and Chris Morgan aRts driver
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
27 #include "config.h"
29 #include <stdarg.h>
31 #include "windef.h"
32 #include "winbase.h"
33 #include "wingdi.h"
34 #include "winuser.h"
35 #include "mmddk.h"
37 /**************************************************************************
38 * DriverProc (WINENAS.@)
40 LRESULT CALLBACK NAS_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
41 LPARAM dwParam1, LPARAM dwParam2)
43 switch(wMsg) {
44 #ifdef HAVE_NAS
45 case DRV_LOAD:
46 case DRV_FREE:
47 case DRV_OPEN:
48 case DRV_CLOSE:
49 case DRV_ENABLE:
50 case DRV_DISABLE:
51 case DRV_QUERYCONFIGURE:
52 return 1;
53 case DRV_CONFIGURE: MessageBoxA(0, "NAS MultiMedia Driver !", "NAS Driver", MB_OK); return 1;
54 case DRV_INSTALL:
55 case DRV_REMOVE:
56 return DRV_SUCCESS;
57 #endif
58 default:
59 return 0;