Return correct error code
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 6 Dec 2009 10:37:23 +0000 (10:37 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Sun, 6 Dec 2009 10:37:23 +0000 (10:37 +0000)
svn path=/trunk/; revision=44437

reactos/drivers/wdm/audio/legacy/wdmaud/wave.c

index 9aac7ff..be57468 100644 (file)
@@ -706,7 +706,7 @@ WdmAudControlOpenWave(
     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 */