NWGetNSLoadedList

Retrieves a list of the name spaces loaded for the specified volume

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

Syntax

   #include <nwnamspc.h> 
   or 
   #include <nwcalls.h> 
    
   NWCCODE N_API  NWGetNSLoadedList  ( 
      NWCONN_HANDLE   conn,  
      nuint8          volNum,  
      nuint8          maxListLen,  
      pnuint8         NSLoadedList,  
      pnuint8         actualListLen) ;
   

Delphi Syntax

   uses calwin32 
    
   Function NWGetNSLoadedList 
     (conn : NWCONN_HANDLE; 
      volNum : nuint8; 
      maxListLen : nuint8; 
      NSLoadedList : pnuint8; 
      actualListLen : pnuint8 
   ) : NWCCODE;
   

Parameters

conn

(IN) Specifies the NetWare server connection handle.

volNum

(IN) Specifies the volume number to obtain the list from.

maxListLen

(IN) Specifies the size of NSLoadedList (in bytes).

NSLoadedList

(OUT) Points to a buffer ( maxListLen bytes).

actualListLen

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

Return Values

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

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

Remarks

NSLoadedList contains a nuint8 entry for every name space loaded on the server. The buffer for NSLoadedList should be at least 5 bytes long ( maxListLen should also be at least 5 bytes).

NCP Calls