NWSMLoadNLM
Loads a selected NLM on a server
#include <nwsm.h> or #include <nwcalls.h> N_EXTERN_LIBRARY NWCCODE NWSMLoadNLM ( NWCONN_HANDLE connHandle, const nstr8 N_FAR *loadCommand);
uses calwin32 Function NWSMLoadNLM (connHandle : NWCONN_HANDLE; loadCommand : pnstr8 ) : NWCCODE;
These are common return values; see Return Values (NDK: Connection, Message, and NCP Extensions)for more information.
You must be logged in with the connection specified by connHandle, be permanently authenticated, and have supervisor rights to call NWSMLoadNLM.
loadCommand can be any string that is valid for the LOAD command on the console (except it does not include the actual "LOAD" command). It contains the NLM name (including the path if it is not in the server path), and command line parameters if any.
The LOAD command has the following format:
{VOLUME NAME:}{PATH\...}NLMname{.ext}{parameters}
NWSMLoadNLM does not support UNC paths.
The NLM does not have to include the extensions. .NLM will be assumed if the extensions are not included.
The server console LOAD command is documented in the NetWare server utilities documentation.