Article View: borland.public.cppbuilder.nativeapi
Article #6812SetupDiEnumDeviceInterfaces() problem
From: Andrue Cope [TeamB]
Date: Tue, 12 Apr 2005 09:35
Date: Tue, 12 Apr 2005 09:35
20 lines
1801 bytes
1801 bytes
I need to be able to iterate every device on a Win2K or later installation and obtain a CreateFile() compatible path for those that are block devices. I can get the path for all the devices of a specific class and WINIOCTL.H contains definitions for some class GUIDs. Unfortunately it doesn't define a GUID that works for Dell internal floppy disks and nor does it define a GUID for the tape drive we currently have attached to a fibre optic channel. The biggest impediment for our code at the moment is that SetupDiEnumDeviceInterfaces() requires a class GUID. As I become more familiar with this family of functions I can begin to see why but it's still a problem for us. In lieu of a more helpful function we need to find out how get a list of available class GUIDs from the registry. Does anyone know where we should be looking in the registry? -- Andrue Cope [TeamB] [Bicester, Uk] http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<425b96d3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b02fbf2a2963fc20,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> Subject: SetupDiEnumDeviceInterfaces() problem Newsgroups: borland.public.cppbuilder.nativeapi Date: Tue, 12 Apr 2005 10:35:46 +0100 User-Agent: XanaNews/1.17.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 217.207.223.34 Message-ID: <425b96d3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1113298643 217.207.223.34 (12 Apr 2005 02:37:23 -0800) Lines: 20 X-Authenticated-User: acope Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail