NWSMLoadNLM(3nw)


NWSMLoadNLM -- loads NLM onto server

Synopsis

   #include <nwsm.h> 
   

N_EXTERN_LIBRARY NWCCODE NWSMLoadNLM (NWCONN_HANDLE connHandle, pnstr8 loadCommand);

Description

The parameters are as follows:

connHandle
(IN) Specifies the server connection handle which is being managed.

loadCommand
(IN) Points to the load command for the NLM. It must be NULL terminated; maximum length is 482 bytes.

Return values

0x0000
SUCCESS

0x8801
INVALID_CONNECTION

0x88FB
ERR_NCP_NOT_SUPPORTED

0x899E
INVALID_FILENAME

Notices

You must be logged into connHandle, be permanently authenticated, and have console operator rights at the minimum 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.

Services

Server Management

NCP calls

0x2222 131 1 Load A NLM

 
 0x2222   131   1   Load A NLM 

References

NWSMUnloadNLM(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.