home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4620 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.2 KB

  1. 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
  2. From: KENKAHN@PKSMRVM.VNET.IBM.COM ("Kenneth A. Kahn")
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: _dos_getdiskfree for Os2 ??
  5. Message-ID: <9209010228.AA28529@ucbvax.Berkeley.EDU>
  6. Date: 1 Sep 92 02:15:23 GMT
  7. Article-I.D.: ucbvax.9209010228.AA28529
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Lines: 16
  10.  
  11. Organization: Staff of IBM Fellow - NetWork Computing
  12. Disclaimer: This posting represents the poster's views, not those of IBM
  13. News-Software: UReply 3.0
  14. X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)
  15. References: <1992Aug31.175018.3157@progress.com>
  16.  
  17. In <1992Aug31.175018.3157@progress.com> Dave McMahon writes:
  18. >Is there an OS/2 function that returns information about a disk?
  19. >
  20. >The _dos_getdiskfree function returns disk information in the _diskfree_t
  21. >structure that allows you to calculate the amount of free space on a
  22. >particular disk.
  23.  
  24. For 16-bit, look at the DosQFSInfo API.  For 32-bit look at the DosQueryFSInfo
  25. API.  In both cases use the FSIL_ALLOC function to obtain free and available
  26. allocation information for a particular drive.
  27.