delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/22/05:35:34

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
To: djgpp AT delorie DOT com
Date: Mon, 22 Jan 1996 09:42:41 GMT
Subject: Re: Finding which drives exist
Message-ID: <78D97C6AF9@fs2.mt.umist.ac.uk>

  u7711501 AT bicmos DOT ee DOT nctu DOT edu DOT tw (Jih-Shin Ho) wrote (Subject: Re: Finding
which drives exist):-

> The following code is for Turbo-C. You can convert it to DJGPP style easily.
> It can detect physical drive and logical drive (for example, network drive).
...
  i.e.
  `ax=0x4409, int21' gives dx&0x1000 = 1 for drive is remote. = 0 for drive is
local, carry = 1 for no such drive;
  `ax=0x440a, int21' gives dx&0x8000 = 1 for file with handle bx is remote. =
0 for it is local, carry = 1 for no such file;

but my interrupt book says that these two interrupts only exist if networking
software is running on the PC. How can the program find if networking software
is running on the PC?

- Raw text -


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