NWGetNSLoadedList (NLM)

Retrieves a list of the name spaces that are loaded on the specified volume

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM
Service:Name Space

Syntax

   #include <nwnspace.h>  
    
   int NWGetNSLoadedList  (  
      BYTE    volNum,   
      WORD    loadListSize,   
      BYTE   *NSLoadedList,   
      WORD   *returnListSize); 
   

Parameters

volNum

(IN) Specifies the volume number for which to get the list of loaded name spaces.

loadListSize

(IN) Specifies the size (in bytes) of the NSLoadedList buffer being passed.

NSLoadedList

(OUT) Points to a buffer to hold the loaded name spaces.

returnListSize

(OUT) Points to the number of name spaces loaded.

Return Values

ESuccess or NetWare errors

Remarks

The NSLoadedList contains a BYTE entry for every name space that is loaded on the volume. The buffer for NSLoadedList needs to be at least MAX_NAMESPACES bytes long (therefore, loadListSize needs to be at least MAX_NAMESPACES). In the case where there are more name spaces loaded than there is space available in the NSLoadedList buffer, returnListSize contains the number of name spaces loaded.

See Also

NWQueryNSInfoFormat