mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
Fix warning: implicit declaration of function 'VALID_SOUND_DEVICE_TYPE'
svn path=/trunk/; revision=39796
This commit is contained in:
parent
9ed19ef909
commit
36bf174662
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
||||||
#include <ntddk.h>
|
#include <ntddk.h>
|
||||||
#include <ntddsnd.h>
|
#include <ntddsnd.h>
|
||||||
#include <sndnames.h>
|
#include <sndnames.h>
|
||||||
|
#include <sndtypes.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -168,7 +169,7 @@ GetDefaultSoundDeviceNameBodies(
|
||||||
OUT PCWSTR* DeviceNameBody,
|
OUT PCWSTR* DeviceNameBody,
|
||||||
OUT PCWSTR* DosDeviceNameBody)
|
OUT PCWSTR* DosDeviceNameBody)
|
||||||
{
|
{
|
||||||
if ( ! VALID_SOUND_DEVICE_TYPE(DeviceType) )
|
if ( ! IS_VALID_SOUND_DEVICE_TYPE(DeviceType) )
|
||||||
{
|
{
|
||||||
DPRINT("Invalid device type");
|
DPRINT("Invalid device type");
|
||||||
return STATUS_INVALID_PARAMETER;
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
|
Loading…
Reference in a new issue