IofCompleteRequest(): +Handle/set 'Irp->UserIosb'
authorshort <>
Thu, 30 Jan 2003 10:44:53 +0000 (10:44 +0000)
committershort <>
Thu, 30 Jan 2003 10:44:53 +0000 (10:44 +0000)
ntoskrnl/io/irp.c

index f3cdcc7..96c0399 100644 (file)
@@ -242,6 +242,10 @@ IofCompleteRequest(PIRP Irp,
                                             Irp->Stack[i].CompletionContext);
         if (Status == STATUS_MORE_PROCESSING_REQUIRED)
         {
+           if (Irp->UserIosb)
+              {
+                 *Irp->UserIosb=Irp->IoStatus;
+              }
            return;
         }
       }