How do I get the version of a driver on Windows from C++
问题 I'm looking for a programmatic way to get the version number of a driver. I want the same number that device manager shows in the driver properties for a device. Background: I have an application that talks to some custom hardware. The device driver for the custom hardware has known bugs before a certain version number. I want the application to check the driver version and warn the user if they need to update it. The application runs on Windows XP and 7 and is written in C++. A previous hack