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> volblkmaxget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 VolBlkMaxGet()
------------------------------------------------------------------------------
 Purpose:
 Get the total blocks on a volume.

 Syntax:
 dwBlocks = VolBlkMaxGet( iVolNum )

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

 Returns:
 A numeric value (signed long int).

 Description:
 VolBlkMaxGet() 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 = VolBlkMaxGet(0)
 if ( dwMaxBlock != NOVERRLONG )
    ? "Volume 0 has a total of ", dwMaxBlock, " blocks"
 endif

See Also: VolBlkFreGet() VolBlkSizGet()

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