February 4, 2021 10:40 AM, "Erich E. Hoover" erich.e.hoover@gmail.com wrote:
@@ -1826,6 +1828,117 @@ static void query_property( struct disk_device *device, IRP *irp ) [...] +done:
- LeaveCriticalSection( &device_section );
- IoCompleteRequest( irp, IO_NO_INCREMENT );
- return STATUS_SUCCESS;
+}
Shouldn't that return what's in io->u.Status? I thought MS recommended doing that for driver dispatch handlers.
Chip