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> wsdrivenetget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WSDriveNetGet()
------------------------------------------------------------------------------
 Purpose:
 Get the default network drive letter.

 Syntax:
 lpszDrive = WSDriveNetGet()

 Parameters:
 None.

 Returns:
 A character string of length 1.

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

 Description:
 WSDriveNetGet() returns the drive letter of the default drive on the
 network. This function is useful to locate the network drive in order
 to change the current drive to the network drive after logging in.

 Returns an empty string if an error occurs.

 Example:
 // To find the network and change the current drive to the network drive:
 lpszDriveLet = WSDriveNetGet()
 if ( !empty( lpszDriveLet ) )
    DrvCurrentSet( lpszDriveLet )
    ? "The current drive is now changed to the network drive"
    ?? lpszDriveLet
 endif

 Notes:
 This function only works with network drives.

See Also: DrvCurrentGet() / DrvCurrentSet() DrvNextFreeGet()

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