[ntoskrnl/po]
authorMichael Martin <michael.martin@reactos.org>
Wed, 8 Sep 2010 21:30:40 +0000 (21:30 +0000)
committerMichael Martin <michael.martin@reactos.org>
Wed, 8 Sep 2010 21:30:40 +0000 (21:30 +0000)
- When an IRP is freed in a Completion routine the return Status is STATUS_MORE_PROCESSING_REQUIRED to let IoCompleteRequest know not to do anything further with the IRP.

svn path=/trunk/; revision=48724

reactos/ntoskrnl/po/power.c

index ff2631e..a51dd67 100644 (file)
@@ -4,7 +4,7 @@
  * FILE:            ntoskrnl/po/power.c
  * PURPOSE:         Power Manager
  * PROGRAMMERS:     Casper S. Hornstrup (chorns@users.sourceforge.net)
- *                  Hervé Poussineau (hpoussin@reactos.com)
+ *                  Herv Poussineau (hpoussin@reactos.com)
  */
 
 /* INCLUDES ******************************************************************/
@@ -52,7 +52,7 @@ PopRequestPowerIrpCompletion(IN PDEVICE_OBJECT DeviceObject,
 
     IoFreeIrp(Irp);
 
-    return STATUS_SUCCESS;
+    return STATUS_MORE_PROCESSING_REQUIRED;
 }
 
 VOID