Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> volblockmaxget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 VolBlockMaxGet()
------------------------------------------------------------------------------
 Purpose:
 Get the total blocks on a volume.

 Syntax:
 dwBlocks = VolBlockMaxGet( iVolNum )

 Parameters:
 iVolNum The volume number - 0 for the first volume, 1 for the second etc.

 Returns:
 A numeric value (signed long int).

 The CA-Clipper name for this function is:
 VolBlkMaxGet()

 Description:
 VolBlockMaxGet() returns the total number of blocks on volume number
 iVolNum.

 Returns NOVERRLONG if an error occurs.

 Example:
 // To display the number of blocks on the first disk volume:
 dwMaxBlock = VolBlockMaxGet(0)
 if ( dwMaxBlock != NOVERRLONG )
    ? "Volume 0 has a total of ", dwMaxBlock, " blocks"
 endif

See Also: VolBlockFreeGet() VolBlockSizeGet()

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