Computer's drives

G

Galbu

Hi all, here's my problem.
I've got to collect some information about the drives in a computer.
With the hd I've no problems, I use the GetDriveType Api. But how can I
know if a cd-rom drive is a writer, a dvd or somthing else
(GetDriveType tells me they are all cd-drives).
In the end, how can I know if a removable drives is a floppy, a usb pen
or something else?
Thanks
 
P

Puppet_Sock

Galbu said:
Hi all, here's my problem.
I've got to collect some information about the drives in a computer.
[snip]

Pretty sure you will need to ask this in a newsgroup dedicated
to your platform or compiler. The standard C++ language does not
know from API calls to determine storage type.

Since you didn't even say what platform you are working on, it
can't be that important, so we get to guess. My guess is, the
Timex Sinclair Z80 based computer does not support hard disks.
Socks
 
V

velthuijsen

Then go to comp.os.ms-windows.programmer and look for the subgroup that
will most likely have a decent answer for your question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top