NWSMUnloadNLM
Unloads a selected NLM on a server
#include <nwsm.h> or #include <nwcalls.h> N_EXTERN_LIBRARY NWCCODE NWSMUnloadNLM ( NWCONN_HANDLE connHandle, const nstr8 N_FAR *NLMName);
uses calwin32 Function NWSMUnloadNLM (connHandle : NWCONN_HANDLE; NLMName : pnstr8 ) : NWCCODE;
These are common return values; see Return Values (NDK: Connection, Message, and NCP Extensions) for more information.
You must be logged into connHandle, be permanently authenticated, and have supervisor rights to call NWSMUnloadNLM.
The NLMName parameter can be any string that is valid for the UNLOAD command on the console (except it does not include the actual "UNLOAD" command) and contains the NLM name.
The NLMName parameter has the following format:
NLMname{.ext}
NWSMUnloadNLM does not support UNC paths.
The NLM does not have to include the extensions. .NLM will be assumed if the extension is not included.
The server console UNLOAD command is documented in the NetWare server utilities documentation.
NOTE:NWSMUnloadNLM can return SUCCESS without unloading the specified NLM application if the NLM also has dependencies loaded. The return of SUCCESS signifies only that the server successfully processed the RPC.