TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: ERIC CARMODY
from: Thomas Seeling
date: 1996-01-27 14:58:16
subject: detecting available drive

Hallo, ERIC!

*** Am Montag 22. Januar 1996 um 14:10 schrieb ERIC CARMODY an ALL:

 EC> Could someone give me ideas on how to detect available drives (floppies,
 EC> cdrom) but may not have a disk in them.  Basically, a DRIVES list in a
 EC> filebrowser.

APIRET DosQueryCurrentDisk(PULONG current, PULONG map);

returns the current drive and a bit map of available and
"mounted" drive letters, where bit 0 corresponds to A:, 1 to B:
etc.


Tschau...Thomas

--- E3-32/1.11-32/2.50+
* Origin: Die TeX-Box +49-6034-1455 V.34 -930022 ISDN 24h (2:244/1130.42)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 244/1130 24/999 2/777 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.