- Removed setting of STATUS_DATA_OVERRUN in IoStatusBlock.Status when

IoStatusBlock.Information is greater than the output buffer length passed
in by the caller.

svn path=/trunk/; revision=8725
This commit is contained in:
David Welch 2004-03-14 18:27:08 +00:00
parent 9789932e02
commit ff4f24bbb6

View file

@ -44,7 +44,6 @@ VOID IoDeviceControlCompletion(PDEVICE_OBJECT DeviceObject,
OutputBufferLength = Irp->IoStatus.Information;
if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < OutputBufferLength)
{
Irp->IoStatus.Status = STATUS_DATA_OVERRUN;
OutputBufferLength = IoStack->Parameters.DeviceIoControl.OutputBufferLength;
}
}