Merging r37048, r37051, r37052, r37055 from the-real-msvc branch
[reactos.git] / reactos / dll / directx / dsound / dxroslayer / dxrosdrv_querydsoundiface.c
1 /*
2 * reactos emulation layer betwin wine and windows api for directx
3 *
4 * Copyright 2004 Magnus Olsen
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 * TODO:
21 * write hardware support for windows nt 4.0 and higher
22 * put it in own library that call dxroslayer.a
23 *
24 */
25
26 #include "config.h"
27 #include "wine/port.h"
28
29 #include <assert.h>
30 #include <stdarg.h>
31 #include <stdio.h>
32 #include <sys/types.h>
33 #include <sys/fcntl.h>
34 #ifdef HAVE_UNISTD_H
35 # include <unistd.h>
36 #endif
37 #include <stdlib.h>
38 #include <string.h>
39 #include <math.h>
40
41 #define NONAMELESSSTRUCT
42 #define NONAMELESSUNION
43 #include "windef.h"
44 #include "winbase.h"
45 #include "winreg.h"
46 #include "winuser.h"
47 #include "wingdi.h"
48 #include "winuser.h"
49 #include "winerror.h"
50 #include "mmsystem.h"
51 #include "winternl.h"
52 #include "mmddk.h"
53 #include "wine/windef16.h"
54 #include "wine/winbase16.h"
55 #include "wine/debug.h"
56 #include "dsound.h"
57 #include "dsdriver.h"
58 #include "dsconf.h"
59 #include "windows.h"
60 #include "dxros_layer.h"
61
62 WINE_DEFAULT_DEBUG_CHANNEL(dsound);
63
64
65 DWORD dxrosdrv_drv_querydsoundiface(HWAVEIN wDevID, PIDSDRIVER* drv)
66 {
67 // no hardware support for dsound NT 4.0 does not support it
68 // but win 2000/xp drv does support hardware support of direct sound
69 drv = NULL;
70 // drv should be fild with hardware pointers see PIDSDRIVER struct
71 return MMSYSERR_NOERROR;
72 }