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> drvflgget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DrvFlgGet()
------------------------------------------------------------------------------
 Purpose:
 Get status flags for a drive letter.

 Syntax:
 iFlags = DrvFlgGet( lpszDrive )

 Parameters:
 lpszDrive The drive letter.

 Returns:
 A numeric value (signed short int).

 Description:
 DrvFlgGet() returns the status flag of the drive specified by its drive
 letter lpszDrive. If a null string parameter is passed (""), DrvFlgGet()
 assumes the current drive. The return value is one of the following:

 Unused                 <= 0
 Permanent mapped          1
 Temporary mapped          2
 Local unmapped          128
 Local permanent mapped  129
 Local temporary mapped  130

 This function has no error condition.

 Example:
 // To return the status of drive H:
 iCurrStat = DrvFlgGet("H")
 if ( iCurrStat != NOVERRINT )
    ? "The flags for drive H: are ", iCurrStat
 endif

See Also: DrvDirHanGet()

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