[KS]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Sat, 19 Dec 2009 20:42:48 +0000 (20:42 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Sat, 19 Dec 2009 20:42:48 +0000 (20:42 +0000)
- Return correct status code

svn path=/trunk/; revision=44658

reactos/drivers/ksfilter/ks/topology.c

index 547a1ff..8d22885 100644 (file)
@@ -308,7 +308,7 @@ KsTopologyPropertyHandler(
             if (KeyInfo->DataLength + sizeof(WCHAR) > IoStack->Parameters.DeviceIoControl.OutputBufferLength)
             {
                 Irp->IoStatus.Information = KeyInfo->DataLength + sizeof(WCHAR);
             if (KeyInfo->DataLength + sizeof(WCHAR) > IoStack->Parameters.DeviceIoControl.OutputBufferLength)
             {
                 Irp->IoStatus.Information = KeyInfo->DataLength + sizeof(WCHAR);
-                Status = STATUS_BUFFER_TOO_SMALL;
+                Status = STATUS_MORE_ENTRIES;
                 ExFreePool(KeyInfo);
                 break;
             }
                 ExFreePool(KeyInfo);
                 break;
             }