ADVALAIN596 / busdog

Automatically exported from code.google.com/p/busdog
0 stars 0 forks source link

busdog GUI to check driver version on startup #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is so the client can tell the user it needs to upgrade the driver for
full functionality

looking through ntdev archives it seems as though the easiest way will be
to have a define inside the driver and an ioctl or something to pull out
the version

ref: http://www.osronline.com/showThread.cfm?link=153896
     http://www.osronline.com/showThread.cfm?link=54282

Original issue reported on code.google.com by djpnew...@gmail.com on 16 Nov 2009 at 7:24

GoogleCodeExporter commented 8 years ago
the current driver (0.1) does not have a version ioctl so maybe getting the 
actual
driver version (from inf DriverVer) should be the way forward

I have looked at QueryDosDevice (using "BusDogFilter" not "\\.\BusDogFilter") 
and it
just returns "\Device\BusDogFilter"

I need a DeviceInstanceId that I can pass to SetupDiOpenDeviceInfo and from 
there call 
SetupDiGetDriverInfoDetail

Original comment by djpnew...@gmail.com on 17 Nov 2009 at 8:09

GoogleCodeExporter commented 8 years ago
decided to use the service management apis and check the busdog.sys file version

Original comment by djpnew...@gmail.com on 18 Nov 2009 at 9:06