Return correct error code

svn path=/trunk/; revision=44437
This commit is contained in:
Johannes Anderwald 2009-12-06 10:37:23 +00:00
parent 0835abcb21
commit 00ba19e9a8

View 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 */