- Return correct status code

svn path=/trunk/; revision=44658
This commit is contained in:
Johannes Anderwald 2009-12-19 20:42:48 +00:00
parent 28c158a870
commit 5440b0612a

View file

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