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

 Syntax:
 dwDirMax = VolDirMaxGet( iVolNum )

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

 Returns:
 A numeric value (unsigned long int).

 Description:
 VolDirMaxGet() returns the maximum number of directory entries allowed
 on the specified volume. This value was defined when the operating system
 was configured. Returns NOVERRLONG if an error occurs.

 Example:
 // To display the maximum number of directory entries allowed
 // on the first disk volume:
 dwDirMax = VolDirMaxGet(0)
 if (dwDirMax != NOVERRLONG )
    ? "The maximum number of directories on volume 0 is ", dwDirMax
 endif

 Notes:
 The value returned by this function will fluctuate significantly
 because NetWare allocates directory entries dynamically.

See Also: VolDirFreGet()

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