Fix warning: implicit declaration of function 'VALID_SOUND_DEVICE_TYPE'

svn path=/trunk/; revision=39796
This commit is contained in:
Dmitry Gorbachev 2009-02-27 21:46:59 +00:00
parent 9ed19ef909
commit 36bf174662

View file

@ -12,6 +12,7 @@
#include <ntddk.h>
#include <ntddsnd.h>
#include <sndnames.h>
#include <sndtypes.h>
#include <debug.h>
@ -168,7 +169,7 @@ GetDefaultSoundDeviceNameBodies(
OUT PCWSTR* DeviceNameBody,
OUT PCWSTR* DosDeviceNameBody)
{
if ( ! VALID_SOUND_DEVICE_TYPE(DeviceType) )
if ( ! IS_VALID_SOUND_DEVICE_TYPE(DeviceType) )
{
DPRINT("Invalid device type");
return STATUS_INVALID_PARAMETER;