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> fsconidget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSConIDGet()
------------------------------------------------------------------------------
 Purpose:
 Get the connection ID number of a file server.

 Syntax:
 iResult = FSConIDGet( lpszServerName )

 Parameters:
 lpszServerName The name of the file server for which to return the ID.

 Returns:
 A numeric value (signed short int).

 Description:
 FSConIDGet() returns the file server ID number from 1 to 8 if the file
 server is attached, or 0 if the file server exists and is known to the
 default server but is not currently attached.

 FSConIDGet() returns NOVERRINT if the file server does not exist or is
 unknown to the internetwork.

 Example:
 // To return the connection ID number of server SERVER_3:
 iConnectID = FSConIDGet( "SERVER_3" )
 do case
    case iConnectID > 0
       ? "The connection ID of SERVER_3 is", iConnectID
    case iConnectID = 0
       ? "SERVER_3 is not currently attached"
    otherwise
       ? "SERVER_3 not found"
 endcase

See Also: FSPrefConGet() / FSPrefConSet() FSWSAttach() FSWSDetach() FSWSLogout()

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