Which driver to load

Hi all,
If the hardware id of a device contains ‘gendisk’ the disk.sys will be loaded to manage the device. But if there is another inf file in the system which declares to want to manage device which contains ‘gendisk’ in its hardware id, which driver will be loaded? Disk.sys or the other driver? Any help will be very grateful.
Thanks & regards.

kuangnuzhiren@163.com wrote:

If the hardware id of a device contains ‘gendisk’ the disk.sys will be loaded to manage the device. But if there is another inf file in the system which declares to want to manage device which contains ‘gendisk’ in its hardware id, which driver will be loaded? Disk.sys or the other driver? Any help will be very grateful.

There is a complicated scoring system to decide this. If two INFs claim
the same generic hardware ID, where one is signed and the other is not,
the signed one wins. If they are both signed, then I don’t honestly
know how it would decide, and I certainly wouldn’t want to ship a
product that depended on that.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.