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

 Syntax:
 iFlags = DrvFlagGet( lpszDrive )

 Parameters:
 lpszDrive The drive letter.

 Returns:
 A numeric value (signed short int).

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

 Description:
 DrvFlagGet() returns the status flag of the drive specified by its drive
 letter lpszDrive. If a null string parameter is passed (""), DrvFlagGet()
 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 = DrvFlagGet("H")
 if ( iCurrStat != NOVERRINT )
    ? "The flags for drive H: are ", iCurrStat
 endif

See Also: DrvDirHandleGet()

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