Mail Archives: djgpp/1996/01/22/05:35:34
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 -