[ros-diffs] [dgorbachev] 39796: Fix warning: implicit declaration of function 'VALID_SOUND_DEVICE_TYPE'
dgorbachev at svn.reactos.org
dgorbachev at svn.reactos.org
Fri Feb 27 22:47:00 CET 2009
Author: dgorbachev
Date: Sat Feb 28 00:46:59 2009
New Revision: 39796
URL: http://svn.reactos.org/svn/reactos?rev=39796&view=rev
Log:
Fix warning: implicit declaration of function 'VALID_SOUND_DEVICE_TYPE'
Modified:
trunk/reactos/lib/drivers/sound/legacy/devname.c
Modified: trunk/reactos/lib/drivers/sound/legacy/devname.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/legacy/devname.c?rev=39796&r1=39795&r2=39796&view=diff
==============================================================================
--- trunk/reactos/lib/drivers/sound/legacy/devname.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/sound/legacy/devname.c [iso-8859-1] Sat Feb 28 00:46:59 2009
@@ -12,6 +12,7 @@
#include <ntddk.h>
#include <ntddsnd.h>
#include <sndnames.h>
+#include <sndtypes.h>
#include <debug.h>
@@ -168,7 +169,7 @@
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;
More information about the Ros-diffs
mailing list