delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/28/13:11:30

Message-ID: <055101c30da9$10a52b80$0600000a@broadpark.no>
From: "Gisle Vanem" <giva AT bgnett DOT no>
To: <djgpp AT delorie DOT com>
References: <3ead4f4b AT shknews01>
Subject: Re: Drive type under DOS djgpp
Date: Mon, 28 Apr 2003 19:10:27 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Reply-To: djgpp AT delorie DOT com

"Vincenzo Morello" <morellov AT tin DOT it> said:

> I'm wondering if there's a way to realize, using djgpp, that a given drive, say 
> F:,  is a CDROM, a removable disk or a local HD.

_is_cdrom_drive();

In 2.03 this function is private. In 2.04 it's prototyped in <dos.h>.
In addition look at _get_fgs_type() in 2.04.

--gv


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019