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

 Syntax:
 iServerID = DrvFSIDGet( lpszDrive )

 Parameters:
 lpszDrive The drive letter, range A - Z, & [,\,],,_,.

 Returns:
 A numeric value in range 1 to 8 (signed short int).

 Description:
 DrvFSIDGet() returns the file server connection ID number to which the
 drive lpszDrive is mapped.

 Returns NOVERRINT if an error occurs, or if the drive is not mapped.

 Example:
 // To return the file server to which drive M: is mapped:
 iOldServ = FSPrefConGet()
 iNewServ = DrvFSIDGet( "M" )
 FSPrefConSet( iNewServ )
 ? "Drive M: is mapped to server" + FSNmeGet()
 FSPrefConSet( iOldServ )

 Notes:
 This function is normally used in conjunction with
 FSPrefConSet().

See Also: FSPrefConGet() / FSPrefConSet() DrvPthGet() WSDrvNetGet()

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