BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Listing devices in the I/O page segment

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Maurice Anderson
Guest





PostPosted: Thu Feb 17, 2005 7:50 am    Post subject: Listing devices in the I/O page segment Reply with quote



Hello,

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? How are these devices layed out memory wise? Is there a
standard start / end range for each device ?

Thanks,


Back to top
Vladimir Afanasyev
Guest





PostPosted: Thu Feb 17, 2005 9:04 am    Post subject: Re: Listing devices in the I/O page segment Reply with quote




Hi,

"Maurice Anderson" <mauriceanderson (AT) hotmail (DOT) com> wrote:
Quote:
Hello,

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? How are these devices layed out memory wise? Is there a
standard start / end range for each device ?

Thanks,



codecentral -
For C++Builder - http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=21175
For C# - http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=21175

Articles at codeproject -
http://www.codeproject.com/csharp/DivingSysProg1.asp
http://www.codeproject.com/csharp/DivingSysProg2.asp
http://www.codeproject.com/csharp/DivingSysProg3.asp

http://www.codeproject.com/useritems/serial_portsenum_fifo.asp

Vladimir.

Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Thu Feb 17, 2005 9:18 am    Post subject: Re: Listing devices in the I/O page segment Reply with quote



Maurice Anderson wrote:

Quote:
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 Sad
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.