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> fswsdetach()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSWSDetach()
------------------------------------------------------------------------------
 Warning:
 USE WITH EXTREME CAUTION.

 If the workstation has any files open, changes may not be written to disk.

 Purpose:
 Detach workstation from file server.

 Syntax:
 bResult = FSWSDetach( lpszServerName )

 Parameters:
 lpszServerName The name of the file server.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 FSWSDetach() returns TRUE if the file server was successfully detached
 from, or FALSE if an error occurs.

 Example:
 // To detach from server SERVER_3:
 if ( FSWSDetach("SERVER_3"))
    ? "SERVER_3 is now detached"
 endif

 Notes:
 FSWSDetach() will log out of the server if it is logged in.

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

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