🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Drive type?

#10763
From: vERUs
Date: Wed, 24 Mar 2004 16:09
9 lines
1295 bytes
Hi, I have a question regarding how to determine the type of a drive.
I know that I can use GetDriveType() to obtain the type, but this gives me
the problem when it comes to 3.5" and 5.25" floppy drives since both goes as
DRIVE_REMOVABLE. This can be solved using SHGetDataFromIDList(). However
Windows XP also separates a CD-Rom drive from a DVD-Drive, so my question
is... which functions can I use to obtain the stated types of a drive?
Thanks!

/vERUs
Technical Details
Message-ID: <4061b302$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5f423b6fa1827404,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-24 08:40:58 PST
From: "vERUs" <-verus-@telia.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Drive type?
Date: Wed, 24 Mar 2004 17:09:46 +0100
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.210.229.233
Message-ID: <4061b302$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1080144642 217.210.229.233 (24 Mar 2004 08:10:42 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail