sys, dll: IRP_MJ_QUERY_INFORMATION

This commit is contained in:
Bill Zissimopoulos
2016-01-23 23:06:22 -08:00
parent 69fd1ebd6c
commit 7b5262ccef
12 changed files with 447 additions and 11 deletions

View File

@ -225,7 +225,7 @@ VOID FspIopCompleteIrpEx(PIRP Irp, NTSTATUS Result, BOOLEAN DeviceDereference)
/* get the device object out of the IRP before completion */
PDEVICE_OBJECT DeviceObject = IoGetCurrentIrpStackLocation(Irp)->DeviceObject;
if (!NT_SUCCESS(Result))
if (STATUS_SUCCESS != Result && STATUS_BUFFER_OVERFLOW != Result)
Irp->IoStatus.Information = 0;
Irp->IoStatus.Status = Result;
IoCompleteRequest(Irp, FSP_IO_INCREMENT);