[WDMAUD.DRV]

- Correct function declaration of WdmAudOpenSoundDeviceByLegacy and remove a duplicate (wut..).  Should fix build.

svn path=/trunk/; revision=51042
This commit is contained in:
Roel Messiant 2011-03-13 21:28:51 +00:00
parent 9009dd37ad
commit b16c59e50e
2 changed files with 7 additions and 5 deletions

View file

@ -250,7 +250,9 @@ WdmAudGetCapabilitiesByLegacy(
} }
MMRESULT MMRESULT
WdmAudOpenSoundDeviceByLegacy() WdmAudOpenSoundDeviceByLegacy(
IN PSOUND_DEVICE SoundDevice,
OUT PVOID *Handle)
{ {
/* Only open this if it's not already open */ /* Only open this if it's not already open */
if ( KernelHandle == INVALID_HANDLE_VALUE ) if ( KernelHandle == INVALID_HANDLE_VALUE )

View file

@ -26,9 +26,6 @@ WdmAudGetWaveInCount(VOID);
ULONG ULONG
WdmAudGetMixerCount(VOID); WdmAudGetMixerCount(VOID);
MMRESULT
WdmAudOpenSoundDeviceByLegacy(VOID);
MMRESULT MMRESULT
WdmAudGetNumWdmDevsByMMixer( WdmAudGetNumWdmDevsByMMixer(
IN MMDEVICE_TYPE DeviceType, IN MMDEVICE_TYPE DeviceType,
@ -165,7 +162,10 @@ WdmAudGetCapabilitiesByLegacy(
IN DWORD CapabilitiesSize); IN DWORD CapabilitiesSize);
MMRESULT MMRESULT
WdmAudOpenSoundDeviceByLegacy(VOID); WdmAudOpenSoundDeviceByLegacy(
IN PSOUND_DEVICE SoundDevice,
OUT PVOID *Handle
);
MMRESULT MMRESULT
WdmAudCloseSoundDeviceByLegacy( WdmAudCloseSoundDeviceByLegacy(