Please help - right version?
- From: "Lisa Pearlson" <no@xxxxxxxx>
- Date: Sat, 21 Mar 2009 00:32:42 +0100
Hi,
I need to get to get the version of the driver currently attached to my USB
device.
Only way for me to get version info is to use:
DWORDLONG version = 0;
DWORD dwMemberIndex = 0;
SetupDiBuildDriverInfoList(hdevClassInfo, &DeviceInfoData,
SPDIT_COMPATDRIVER);
while (SetupDiEnumDriverInfo(hdevClassInfo, &DeviceInfoData,
SPDIT_COMPATDRIVER, dwMemberIndex, &DriverInfoData)) {
dwMemberIndex++;
version = DriverInfoData.DriverVersion;
}
SetupDiDestroyDriverInfoList(hdevClassInfo, &DeviceInfoData,
SPDIT_CLASSDRIVER );
However, the while loop shows several versions for my device.
How can I know which one my device is actually using?
Lisa
.
- Follow-Ups:
- Re: Please help - right version?
- From: Tim Roberts
- Re: Please help - right version?
- From: Kalle Olavi Niemitalo
- Re: Please help - right version?
- Prev by Date: Re: need help about the link : error LNK1181
- Next by Date: Re: How to verify a user space pointer passed to kernel driver?
- Previous by thread: link : error LNK1181:
- Next by thread: Re: Please help - right version?
- Index(es):
Relevant Pages
|