FT_DSKSIZE

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

3 responses to “FT_DSKSIZE

  1. Pingback: FT DOS/BIOS | Viva Clipper !

  2. Pingback: FT Functions | Viva Clipper !

  3. Pingback: FT DOS / BIOS | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.