Hi all,
is there a way to determine the driver version of the drivers
installed on a windows system.
I mean I can enumerate all the drivers on a system but i need to see
what version they are.


The problem with GetFileVersion is that i need to know which is the
driver(.sys) file on the system and I dont know how to get this info
from the hardware id.

Any ideas on this will be highly apprecialted.
Sunny.

Re: Obtaining driver version programatically by Don

Don
Fri Apr 30 18:32:48 CDT 2004

Well in user space you can use EnumDeviceDrivers and GetDeviceDriverFileName
to get the path to the driver then use GetFileVersion to get the version.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

"sunny" <sun_vjti@rediffmail.com> wrote in message
news:11465406.0404301524.3c7de98d@posting.google.com...
> Hi all,
> is there a way to determine the driver version of the drivers
> installed on a windows system.
> I mean I can enumerate all the drivers on a system but i need to see
> what version they are.
>
>
> The problem with GetFileVersion is that i need to know which is the
> driver(.sys) file on the system and I dont know how to get this info
> from the hardware id.
>
> Any ideas on this will be highly apprecialted.
> Sunny.



Re: Obtaining driver version programatically by sun_vjti

sun_vjti
Wed May 05 17:32:34 CDT 2004

Hi Don,
Thankx for the response but the problem as i stated is that there are
devices like Intel Chipsets which have a bunch of inf files associated
with them and no sys file..
If this methodology is applied then each subsytem of the chipset will
have its own version and the actual version of the whole package
cannot be determined.
Sunil.

"Don Burn" <burn@stopspam.acm.org> wrote in message news:<1095ohid24l8r59@corp.supernews.com>...
> Well in user space you can use EnumDeviceDrivers and GetDeviceDriverFileName
> to get the path to the driver then use GetFileVersion to get the version.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
> "sunny" <sun_vjti@rediffmail.com> wrote in message
> news:11465406.0404301524.3c7de98d@posting.google.com...
> > Hi all,
> > is there a way to determine the driver version of the drivers
> > installed on a windows system.
> > I mean I can enumerate all the drivers on a system but i need to see
> > what version they are.
> >
> >
> > The problem with GetFileVersion is that i need to know which is the
> > driver(.sys) file on the system and I dont know how to get this info
> > from the hardware id.
> >
> > Any ideas on this will be highly apprecialted.
> > Sunny.

Re: Obtaining driver version programatically by Ray

Ray
Mon May 10 17:01:17 CDT 2004

You might want to rephrase that as "the actual version of the whole
package isn't well defined", at least as far as Windows is concerned.
What is it, really, that you want to find the version of?

sunny wrote:

> Hi Don,
> Thankx for the response but the problem as i stated is that there are
> devices like Intel Chipsets which have a bunch of inf files associated
> with them and no sys file..
> If this methodology is applied then each subsytem of the chipset will
> have its own version and the actual version of the whole package
> cannot be determined.
> Sunil.
>
> "Don Burn" <burn@stopspam.acm.org> wrote in message news:<1095ohid24l8r59@corp.supernews.com>...
>
>>Well in user space you can use EnumDeviceDrivers and GetDeviceDriverFileName
>>to get the path to the driver then use GetFileVersion to get the version.
>>
>>
>>--
>>Don Burn (MVP, Windows DDK)
>>Windows 2k/XP/2k3 Filesystem and Driver Consulting
>>Remove StopSpam from the email to reply
>>
>>"sunny" <sun_vjti@rediffmail.com> wrote in message
>>news:11465406.0404301524.3c7de98d@posting.google.com...
>>
>>>Hi all,
>>>is there a way to determine the driver version of the drivers
>>>installed on a windows system.
>>>I mean I can enumerate all the drivers on a system but i need to see
>>>what version they are.
>>>
>>>
>>>The problem with GetFileVersion is that i need to know which is the
>>>driver(.sys) file on the system and I dont know how to get this info
>>>from the hardware id.
>>>
>>>Any ideas on this will be highly apprecialted.
>>>Sunny.

Re: Obtaining driver version programatically by Jerry

Jerry
Sat May 29 19:54:54 CDT 2004

This doesn't work under 9x. Is there a way to determine the driver version
reliably under 9x? It seems 9x often does not list a version number in
Control Panel or the INF file.

Thanks.

JW

"Don Burn" <burn@stopspam.acm.org> wrote in message
news:1095ohid24l8r59@corp.supernews.com...
> Well in user space you can use EnumDeviceDrivers and
GetDeviceDriverFileName
> to get the path to the driver then use GetFileVersion to get the version.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
> "sunny" <sun_vjti@rediffmail.com> wrote in message
> news:11465406.0404301524.3c7de98d@posting.google.com...
> > Hi all,
> > is there a way to determine the driver version of the drivers
> > installed on a windows system.
> > I mean I can enumerate all the drivers on a system but i need to see
> > what version they are.
> >
> >
> > The problem with GetFileVersion is that i need to know which is the
> > driver(.sys) file on the system and I dont know how to get this info
> > from the hardware id.
> >
> > Any ideas on this will be highly apprecialted.
> > Sunny.
>
>



Re: Obtaining driver version programatically by Ray

Ray
Tue Jun 01 10:44:10 CDT 2004

The only way to tell the driver version is if the developer put it in
there. Either there's a version resource in the VxD or .sys file or
there isn't. Either it's in the INF file or it isn't. For 9x, in many
cases no one bothered with either.

If neither is set, then no, there's no way other than to fall back to
the date on the file, and even that's not reliable.

Jerry West wrote:

> This doesn't work under 9x. Is there a way to determine the driver version
> reliably under 9x? It seems 9x often does not list a version number in
> Control Panel or the INF file.
>
> Thanks.
>
> JW
>
> "Don Burn" <burn@stopspam.acm.org> wrote in message
> news:1095ohid24l8r59@corp.supernews.com...
>
>>Well in user space you can use EnumDeviceDrivers and
>
> GetDeviceDriverFileName
>
>>to get the path to the driver then use GetFileVersion to get the version.
>>
>>
>>--
>>Don Burn (MVP, Windows DDK)
>>Windows 2k/XP/2k3 Filesystem and Driver Consulting
>>Remove StopSpam from the email to reply
>>
>>"sunny" <sun_vjti@rediffmail.com> wrote in message
>>news:11465406.0404301524.3c7de98d@posting.google.com...
>>
>>>Hi all,
>>>is there a way to determine the driver version of the drivers
>>>installed on a windows system.
>>>I mean I can enumerate all the drivers on a system but i need to see
>>>what version they are.
>>>
>>>
>>>The problem with GetFileVersion is that i need to know which is the
>>>driver(.sys) file on the system and I dont know how to get this info
>>>from the hardware id.
>>>
>>>Any ideas on this will be highly apprecialted.
>>>Sunny.
>>
>>
>
>