[WDMAUD.DRV]
authorRoel Messiant <roelmessiant@gmail.com>
Sun, 13 Mar 2011 21:28:51 +0000 (21:28 +0000)
committerRoel Messiant <roelmessiant@gmail.com>
Sun, 13 Mar 2011 21:28:51 +0000 (21:28 +0000)
- Correct function declaration of WdmAudOpenSoundDeviceByLegacy and remove a duplicate (wut..).  Should fix build.

svn path=/trunk/; revision=51042

reactos/dll/win32/wdmaud.drv/legacy.c
reactos/dll/win32/wdmaud.drv/wdmaud.h

index 5518917..90a00b4 100644 (file)
@@ -250,7 +250,9 @@ WdmAudGetCapabilitiesByLegacy(
 }
 
 MMRESULT
-WdmAudOpenSoundDeviceByLegacy()
+WdmAudOpenSoundDeviceByLegacy(
+    IN PSOUND_DEVICE SoundDevice,
+    OUT PVOID *Handle)
 {
     /* Only open this if it's not already open */
     if ( KernelHandle == INVALID_HANDLE_VALUE )
index ab3093b..1374cea 100644 (file)
@@ -26,9 +26,6 @@ WdmAudGetWaveInCount(VOID);
 ULONG
 WdmAudGetMixerCount(VOID);
 
-MMRESULT
-WdmAudOpenSoundDeviceByLegacy(VOID);
-
 MMRESULT
 WdmAudGetNumWdmDevsByMMixer(
     IN  MMDEVICE_TYPE DeviceType,
@@ -165,7 +162,10 @@ WdmAudGetCapabilitiesByLegacy(
     IN  DWORD CapabilitiesSize);
 
 MMRESULT
-WdmAudOpenSoundDeviceByLegacy(VOID);
+WdmAudOpenSoundDeviceByLegacy(
+    IN PSOUND_DEVICE SoundDevice,
+    OUT PVOID *Handle
+);
 
 MMRESULT
 WdmAudCloseSoundDeviceByLegacy(