home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!PKSMRVM.VNET.IBM.COM!KENKAHN
- From: KENKAHN@PKSMRVM.VNET.IBM.COM ("Kenneth A. Kahn")
- Newsgroups: comp.os.os2.programmer
- Subject: Re: _dos_getdiskfree for Os2 ??
- Message-ID: <9209010228.AA28529@ucbvax.Berkeley.EDU>
- Date: 1 Sep 92 02:15:23 GMT
- Article-I.D.: ucbvax.9209010228.AA28529
- Sender: daemon@ucbvax.BERKELEY.EDU
- Lines: 16
-
- Organization: Staff of IBM Fellow - NetWork Computing
- Disclaimer: This posting represents the poster's views, not those of IBM
- News-Software: UReply 3.0
- X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)
- References: <1992Aug31.175018.3157@progress.com>
-
- In <1992Aug31.175018.3157@progress.com> Dave McMahon writes:
- >Is there an OS/2 function that returns information about a disk?
- >
- >The _dos_getdiskfree function returns disk information in the _diskfree_t
- >structure that allows you to calculate the amount of free space on a
- >particular disk.
-
- For 16-bit, look at the DosQFSInfo API. For 32-bit look at the DosQueryFSInfo
- API. In both cases use the FSIL_ALLOC function to obtain free and available
- allocation information for a particular drive.
-