[NTOS:WMI]
authorThomas Faber <thomas.faber@reactos.org>
Fri, 4 Sep 2015 22:11:51 +0000 (22:11 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 4 Sep 2015 22:11:51 +0000 (22:11 +0000)
- Actually fix WmipShutdown. Spotted by Herm├Ęs
CORE-10105

svn path=/trunk/; revision=69014

reactos/ntoskrnl/wmi/wmidrv.c

index 779695f..f5c9feb 100644 (file)
@@ -552,8 +552,9 @@ WmipShutdown(
   _Inout_  PDEVICE_OBJECT DeviceObject,
   _Inout_  PIRP Irp)
 {
-    UNIMPLEMENTED;
-    return STATUS_NOT_IMPLEMENTED;
+    Irp->IoStatus.Status = STATUS_SUCCESS;
+    IoCompleteRequest(Irp, IO_NO_INCREMENT);
+    return STATUS_SUCCESS;
 }
 
 _Function_class_(FAST_IO_DEVICE_CONTROL)