|
When does windows read its inf (usb driver) files?
Does it do it during the boot process?
Or as part of device enumeration?
Or something else?
Thanks.
“If I had asked people what they wanted, they would have said faster horses.”
― Henry Ford
|
|
|
|
|
info file is read by windows when you insert your USB to your machine(under some condition). It also can by executed by windows when you double click on the drive icon in mycomputer.
In my case, I never let info file to be executed. If I see any info file I dont care the owner of the usb device, I simply delete the file.
I wish I could believe there is an after life.
|
|
|
|
|
This is bad advice, ignore it.
|
|
|
|
|
An inf file is a setup file. It associates a hardware ID, such as you will see in the Manufacturers section, with various registry entires, the most important of which is the service entry since it determines the form of the HKLM\sys\CCS\Services\ entry for that device (or filter or whatever).
You will also get a Hardware entry in the Registry that associates that Service for a particular Hardware ID, if it is a driver for hardware.
Check the DDK/WDK for more info on inf files and driver installation.
|
|
|
|