Chapter 10. Dynamically Loading Your Driver

10.1  Why Do You Need a Dynamically Loadable Driver?

When adding a new driver, you may be required to reboot the system in order for it to load your new driver into the system. WinDriver is a dynamically loadable driver, which enables your customers to start your application immediately after installing it, without the need for reboot.

To successfully unload your driver, make sure that there are no open handles to the WinDriver service (windrvr6.sys or your renamed driver (refer to section 12.2), and that there are no connected and enabled Plug-and-Play devices that are registered with this service.