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

 Syntax:
 lpszDrive = SchOrderDriveGet( wOrder )

 Parameters:
 wOrder The search order number.

 Returns:
 A character string of length 1.

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

 Description:
 SchOrderDriveGet() returns the search drive letter at position wOrder in
 the search order.

 Returns an empty string if there is no search drive at that position or if
 an error occurs.

 Example:
 // To return the drive letter of search drive S3:
 lpszDriveLet = SchOrderDriveGet(3)
 if ( !empty( lpszDriveLet ) )
    ? "Drive letter of search drive S3 is ", lpszDriveLet
 endif

 Notes:
 The search order number must be in the range 1 to 16.

 If an empty string is returned, check NWErrorGet().

See Also: DrvSearchOrderGet()

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