NWGetNSInfo

Returns the NW_NS_INFO structure to be used in reading and writing information to the name space

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 NWGetNSInfo ( 
      NWCONN_HANDLE         conn,  
      const NW_IDX N_FAR   *idxStruct,  
      NW_NS_INFO N_FAR     *NSInfo);
   

Delphi Syntax

   uses calwin32 
    
   Function NWGetNSInfo 
     (conn : NWCONN_HANDLE; 
      const idxStruct : pNW_IDX; 
      Var NSInfo : NW_NS_INFO 
   ) : NWCCODE;
   

Parameters

conn

(IN) Specifies the NetWare server connection handle.

idxStruct

(IN) Points to the NW_IDX structure.

NSInfo

(OUT) Points to the NW_NS_INFO structure.

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

NW_IDX is returned by NWNSGetMiscInfo or NWGetDirectoryBase. The dstNameSpace parameter in each function obtains the Name Space information.

NSInfo is returned for the destination name space in idxStruct.

NCP Calls

See Also

NWGetDirectoryBase, NWNSGetMiscInfo, NWReadExtendedNSInfo, NWReadNSInfo, NWWriteExtendedNSInfo, NWWriteNSInfo