Article View: borland.public.cppbuilder.nativeapi
Article #6815Re: SetupDiEnumDeviceInterfaces() problem
From: Bob Gonder
Date: Tue, 12 Apr 2005 17:09
Date: Tue, 12 Apr 2005 17:09
17 lines
1577 bytes
1577 bytes
Andrue Cope [TeamB] wrote:
>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?
Might look at
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
My machine is showing 6
\??\Volume{some guid}
and 6
\DosDevices\C: through H: which are local devices (HD, CD, USB).
Technical Details
Message-ID:
<lpvn51p8cf9ftlf1ui37r82ck33hlc5p8q@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<425b96d3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b02fbf2a2963fc20 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: SetupDiEnumDeviceInterfaces() problem Date: Tue, 12 Apr 2005 10:09:58 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <lpvn51p8cf9ftlf1ui37r82ck33hlc5p8q@4ax.com> References: <425b96d3$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.206.52 X-Trace: newsgroups.borland.com 1113325795 67.77.206.52 (12 Apr 2005 10:09:55 -0800) Lines: 19 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail