[PORTCLS]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 16 Jun 2010 14:14:33 +0000 (14:14 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Wed, 16 Jun 2010 14:14:33 +0000 (14:14 +0000)
- Return better return code for unimplemented feature

svn path=/trunk/; revision=47785

reactos/drivers/wdm/audio/backpln/portcls/filter_wavecyclic.cpp

index 71a61a6..fe0232d 100644 (file)
@@ -143,10 +143,10 @@ CPortFilterWaveCyclic::DeviceIoControl(
     {
         DPRINT("Unhandled function %lx Length %x\n", IoStack->Parameters.DeviceIoControl.IoControlCode, IoStack->Parameters.DeviceIoControl.InputBufferLength);
         
-        Irp->IoStatus.Status = STATUS_UNSUCCESSFUL;
+        Irp->IoStatus.Status = STATUS_NOT_FOUND;
 
         IoCompleteRequest(Irp, IO_NO_INCREMENT);
-        return STATUS_SUCCESS;
+        return STATUS_NOT_FOUND;
     }
 
     Status = PcHandlePropertyWithTable(Irp, m_Descriptor->FilterPropertySetCount, m_Descriptor->FilterPropertySet, m_Descriptor);