🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7316

Re: Listing devices in the I/O page segment

#7316
From: Andrue Cope [TeamB]
Date: Thu, 17 Feb 2005 09:18
23 lines
1927 bytes
Maurice Anderson wrote:

> I want to list out all the Eeproms on my laptop.  Does anyone know
> how to list out the devices such as Eeproms, the parallel port, etc
> by using it's memory location?

I'm not sure but I think you want to look at
SetupDiEnumDeviceInterfaces() but you'll need to know the GUIDs you
want to search for.

WinIoctl.h contains some GUIDs but this isn't an exhaustive list. You
can use these to search your registry though and perhaps get an insight
into which GUIDs you should look for. Also if you have a .inf file for
something that has a GUID that should appear in the registry.

Unfortunately I don't know exactly how all this fits together myself. I
still haven't been able to find out how you locate an internal floppy
disk using SetupDiEnumDeviceInterfaces(). USB devices, memory sticks,
hard disks sure. But not the internal FDC :(
-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <421461b7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42144b2a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,26303a4891f019b6
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: Listing devices in the I/O page segment
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42144b2a$1@newsgroups.borland.com>
Date: Thu, 17 Feb 2005 09:18:50 +0000
User-Agent: XanaNews/1.17.2.7
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <421461b7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108631991 217.207.223.34 (17 Feb 2005 01:19:51 -0800)
Lines: 23
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail