Hi All,
I am trying to create MFC app where I can get la ist of all the drivers installed
in the system by a GUID.
Does anybody know if there is any application already built like this?
Thank you.
Harsha
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
You should be able to do that using SetupDiXxxx functions and API.
Gary G. Little
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Friday, March 17, 2006 2:04 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] MFC app to get a list of all the drivers installed by
GUID.
Hi All,
I am trying to create MFC app where I can get la ist of all the drivers
installed
in the system by a GUID.
Does anybody know if there is any application already built like this?
Thank you.
Harsha
size=1 width=“100%” align=center>
Yahoo! Mail
Use
http:l.yahoo.com> Photomail to share photos without annoying attachments. —
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List
Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer</http:>
You can start with
C:\WINDDK\3790.1830\src\storage\filters\addfilter\addfilter.c
as a sample; just add all possible GUIDs to the hard-coded deviceGuids table.
Since the sample is related to disk/volume filtering, but
// these two constants are used to help enumerate through the list of all
// disks and volumes on the system. Adding another GUID should “just work”
static const GUID * deviceGuids = {
&DiskClassGuid,
&VolumeClassGuid,
&CdRomClassGuid // ADD ALL GUIDS AFTER THAT
};
static const int numdeviceGuids = sizeof(deviceGuids) / sizeof(LPGUID);
----- Original Message -----
From: Harsha Inamdar
To: Windows System Software Devs Interest List
Sent: Friday, March 17, 2006 3:04 PM
Subject: [ntdev] MFC app to get a list of all the drivers installed by GUID.
Hi All,
I am trying to create MFC app where I can get la ist of all the drivers installed
in the system by a GUID.
Does anybody know if there is any application already built like this?
Thank you.
Harsha
Yahoo! Mail
Use Photomail to share photos without annoying attachments. — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
If you want to enumerate all GUIDs, you can specify DIFCF_ALLCLASSES to SetupDiGetClassDevs and get all devices.
d
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of sh_alex
Sent: Friday, March 17, 2006 1:16 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] MFC app to get a list of all the drivers installed by GUID.
You can start with
?
C:\WINDDK\3790.1830\src\storage\filters\addfilter\addfilter.c
?
as a sample; just add all possible GUIDs to the hard-coded deviceGuids table.
?
Since the sample is?related?to disk/volume filtering, but
?
??? // these two constants are used to help enumerate through the list of all
??? // disks and volumes on the system. Adding another GUID should “just work”
??? static const GUID * deviceGuids = {
??? &DiskClassGuid,
??? &VolumeClassGuid,
??? &CdRomClassGuid??? ??? // ADD ALL GUIDS AFTER THAT
??? };
??? static const int numdeviceGuids = sizeof(deviceGuids) / sizeof(LPGUID);
?
?
?
----- Original Message -----
From: Harsha Inamdar
To: Windows System Software Devs Interest List
Sent: Friday, March 17, 2006 3:04 PM
Subject: [ntdev] MFC app to get a list of all the drivers installed by GUID.
Hi All,
I am trying to create MFC app where I can get la ist of all the drivers installed
in the system by a GUID.
Does anybody know if there is any application already built like this?
Thank you.
Harsha
Yahoo! Mail
Use Photomail to share photos without annoying attachments. — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer