Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_dsksize()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_DSKSIZE()
 Return the maximum capacity of a fixed disk
------------------------------------------------------------------------------

 Syntax

      FT_DSKSIZE( [ <cDrive> ] ) -> nMaxCapacity

 Arguments

     <cDrive> is the fixed disk to query. If no drive is sent, the
     operation will be performed on the default drive. Send without
     the ":".

 Returns

     An integer representing the maximum disk capacity in bytes.

 Description

     Function utilizing FT_INT86() to return Maximum Disk Size.
     Uses FT_INT86() through the internal function _ftDiskInfo().

 Examples

     ? FT_DSKSIZE()      // Maximum capacity for default drive
     ? FT_DSKSIZE( "D" ) // Maximum capacity for Drive D:

 Source: DISKFUNC.PRG

 Author: Robert A. DiFalco

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson