NWDownFileServer
Allows a supervisor to bring down a NetWare server from a remote console.
#include <nwserver.h> or #include <nwcalls.h> NWCCODE N_API NWDownFileServer ( NWCONN_HANDLE conn, nuint8 forceFlag);
uses calwin32 Function NWDownFileServer (conn : NWCONN_HANDLE; forceFlag : nuint8 ) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
If forceFlag is zero, the server shuts down even if files 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.