Author: janderwald
Date: Sun Dec 6 11:37:23 2009
New Revision: 44437
URL:
http://svn.reactos.org/svn/reactos?rev=44437&view=rev
Log:
Return correct error code
Modified:
trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wave.c
Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wave.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wave.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wave.c [iso-8859-1] Sun Dec 6 11:37:23
2009
@@ -706,7 +706,7 @@
if (!NT_SUCCESS(Status))
{
/* failed to open the pin */
- return SetIrpIoStatus(Irp, STATUS_UNSUCCESSFUL, 0);
+ return SetIrpIoStatus(Irp, STATUS_NOT_SUPPORTED, 0);
}
/* store the handle */