I've written a filter driver for disk volumes. However, to enable it towork,
I have to reboot the system. Is there any way to load the driver without
rebooting? And I am using AddDevice routine.
I first dried to install the driver, it is OK. Then I added it to one
volume's device key as UpperFilters. When restarting the volume device, I
found that the DriverEntry routine is called and executed successfully. But
after leaving DriverEntry routine, there is something wrong and Unload
routine is executed. At last, the drive did not get loaded.
However, if I reboot the system just after installing the driver, all is OK.
What's the difference between starting by system at boot time and starting
by IO manager at run time? I'm quite puzzled.