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

 Syntax:
 lpszDrive = WSDrvNetGet()

 Parameters:
 None.

 Returns:
 A character string of length 1.

 Description:
 WSDrvNetGet() 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 = WSDrvNetGet()
 if ( !empty( lpszDriveLet ) )
    DrvCurSet( lpszDriveLet )
    ? "The current drive is now changed to the network drive"
    ?? lpszDriveLet
 endif

 Notes:
 This function only works with network drives.

See Also: DrvCurGet() / DrvCurSet() DrvNxtFreGet()

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