NWDownFileServer(3nw)


NWDownFileServer -- takes down NetWare server from remote console

Synopsis

   #include <nwserver.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWDownFileServer (NWCONN_HANDLE conn, nuint8 forceFlag);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

forceFlag
(IN) Specifies a flag enabling the server to shut down when files are still open (0=enabled).

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x89C6
NO_CONSOLE_PRIVILEGES

0x89FF
Down Failure

Notices

If forceFlag is zero, the server shuts down regardless of any files that are open. If forceFlag is non-zero and any files are in use or open, 0x89FF (failure) is returned,and the server stays up. If no files are open or in use, the server shuts down, and SUCCESSFUL returns.

To call NWDownFileServer, you must have console operator rights.

Services

File Server Environment

NCP calls

0x2222 23 211
Down File Server

30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.