[MOUNTMGR] Properly return EpicNumber in MountMgrChangeNotify
authorPierre Schweitzer <pierre@reactos.org>
Sat, 7 Sep 2019 21:07:54 +0000 (23:07 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 7 Sep 2019 21:07:54 +0000 (23:07 +0200)
drivers/filters/mountmgr/device.c

index 7172a3b..ce8f58c 100644 (file)
@@ -57,7 +57,7 @@ MountMgrChangeNotify(IN PDEVICE_EXTENSION DeviceExtension,
     if (DeviceExtension->EpicNumber != ChangeNotify->EpicNumber)
     {
         ChangeNotify->EpicNumber = DeviceExtension->EpicNumber;
-        Irp->IoStatus.Information = 0;
+        Irp->IoStatus.Information = sizeof(MOUNTMGR_CHANGE_NOTIFY_INFO);
         return STATUS_SUCCESS;
     }