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> drvsearchorderget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DrvSearchOrderGet()
------------------------------------------------------------------------------
 Purpose:
 Get the search order for a drive.

 Syntax:
 iOrder = DrvSearchOrderGet( lpszDrive )

 Parameters:
 lpszDrive The drive letter.

 Returns:
 A numeric value (signed short int).

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

 Description:
 DrvSearchOrderGet() returns the search order of the drive letter
 specified by lpszDrive.

 Returns NOVERRINT if an error has occurred. Returns 0 if the drive is not a
 search drive.

 Example:
 // To return the search order of drive Y:
 iDriveOrder = DrvSearchOrderGet("Y")
 do case
    case DriveOrder > 0
       ? "Drive Y has search order", iDriveOrder
    case DriveOrder = 0
       ? "Drive Y is not in the search path"
    otherwise
       ? "Error"
 endcase

 Notes:
 Return range is 1 to 16.

See Also: SchOrderDriveGet()

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