-1

为什么我们必须重新启动 Windows 才能使新安装的设备驱动程序生效?驱动程序加载机制与 Linux 有何不同?

4

1 回答 1

1

Windows could load your function driver dynamically by using CreateService and StartService. Also, you can use ZwLoadDriver to load a driver. But, you have to load some types of driver after restart such as class driver, filter driver etc. Because these drivers are depended on other system drivers. If your driver is loaded too late. Your driver won't work correctly. For more detail, please check MSDN. You can control the order of driver loading accurately by using registry.

于 2012-05-08T10:08:12.310 回答