Updating a Driver

What is it that the device manager looks at to determine if one driver is
“newer” than another?

Is it the DriverVer entry in the DDInstall Section?

Does the .sys file’s version, in the resource file, that you see when you
right-click the file, have anything to do with it?

Does the .sys file date play any part?

Enquiring minds want to know…

Thanks.
john.