NWGetNLMLoadedList

Returns a list of loaded NLM sequence numbers.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Server Environment

Syntax

  #include <nwfse.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetNLMLoadedList  ( 
     NWCONN_HANDLE                   conn,  
     nuint32                         startNum,  
     NWFSE_NLM_LOADED_LIST  N_FAR   *fseNLMLoadedList);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetNLMLoadedList 
    (conn : NWCONN_HANDLE; 
     startNum : nuint32; 
     Var fseNLMLoadedList : NWFSE_NLM_LOADED_LIST 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
startNum
(IN) Specifies the starting number (set to zero the first time NWGetNLMLoadedList is called).
fseNLMLoadedList
(OUT) Points to the NWFSE_NLM_LOADED_LIST structure.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x897E

NCP_BOUNDARY_CHECK_FAILED

0x89C6

NO_CONSOLE_PRIVILEGES

0x89FF

Failure

Remarks

To call NWGetNLMLoadedList, you must have console operator rights.

NWGetNLMLoadedList will only return information about 130 NLMs at a time. If you have more than 130 NLMs loaded, call NWGetNLMLoadedList iteratively and pass to startNum the number of the next NLM that you want to start the list with. For example:

  fseNLMLoadedList->NLMNums[fseNLMLoadedList->NLMsInList]+1
  

NCP Calls

See Also

NWGetNLMInfo, NWGetNLMsResourceTagList