A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Michael Martin 1760329b33 IopCreateObjectTypes: Add a DeleteProcedure for Device Objects.
IopUnloadDevice: After calling the drivers Unload routine, make the DriverObject temporary and dereference it.
IopUnloadDriver: Check that the driver is not already unloading before trying to call unload routine.
If any failure, dereference the DriverObject before returning STATUS code.
On an attempt to unload the driver, loop through each DeviceObject and set DOE_UNLOAD_PENDING in device extensions flags.
Before calling the driver's unload routine set DRVO_UNLOAD_INVOKED in DriverObject's flags.
Fixes Bugchecks when attempting to load driver a second time and when unloading a driver that has upper level device attached.

svn path=/trunk/; revision=41254
2009-06-02 12:10:17 +00:00
irc Give Techbot the ability to check for and ghost existing bots, then rename itself 2008-08-10 13:06:58 +00:00
reactos IopCreateObjectTypes: Add a DeleteProcedure for Device Objects. 2009-06-02 12:10:17 +00:00
rosapps Change some leftover .rbuild files from compiler="cpp" to compiler="cxx" 2009-04-21 19:53:10 +00:00
rostests sync msvcrt winetest to wine 1.1.22 2009-05-25 09:16:39 +00:00
wallpaper Rename the wallpaper to conform with ISO 9660:1988 and make cdmake happy... 2009-02-03 13:26:30 +00:00