delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/02/08:59:47

From: ccurley AT wyoming DOT com (Charles Curley)
Subject: Re: Detecting CD-ROM drive
2 Nov 1997 08:59:47 -0800 :
Message-ID: <3.0.2.32.19971102081734.009cb630.cygnus.gnu-win32@mailhost.wyoming.com>
References: <199710300338 DOT WAA00907 AT woodmore DOT gsfc DOT nasa DOT gov>
Mime-Version: 1.0
To: Arlindo da Silva <arlindo AT niteroi DOT gsfc DOT nasa DOT gov>
Cc: gnu-win32 AT cygnus DOT com

At 10:38 PM 10/29/97 -0500, Arlindo da Silva wrote:
>
>Does anybody know how to determine which drive (d:, e:, ...) is a CDROM? 
>Is there any native function for this? Thanks.

The Win32 function is:

UINT GetDriveType(
LPCTSTR lpRootPathName // address of root path 
);


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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