NWWriteExtendedNSInfo

Writes the extended (huge) name space information for the specified 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 NWWriteExtendedNSInfo ( 
      NWCONN_HANDLE        conn,  
      const NW_IDX N_FAR  *idxStruct,  
      NW_NS_INFO  N_FAR   *NSInfo,  
      const nstr8 N_FAR   *data);
   

Delphi Syntax

   uses calwin32 
    
   Function NWWriteExtendedNSInfo 
     (conn : NWCONN_HANDLE; 
      Var idxStruct : NW_IDX; 
      Var NSInfo : NW_NS_INFO; 
      data : pnuint8 
   ) : NWCCODE;
   

Parameters

conn

(IN) Specifies the NetWare server connection handle.

idxStruct

(IN) Points to NW_IDX returned by NWNSGetMiscInfo.

NSInfo

(IN) Points to NW_NS_INFO returned by NWGetNSInfo.

data

(IN) Points to a buffer containing the data to be written to the name space.

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

0x898C

NO_MODIFY_PRIVILEGES

Remarks

dstNameSpace and dstDirBase in NW_IDX are used to determine what entry to use for the Write.

extendedBitMask in NW_NS_INFO is a read-only information field that should be preserved from NWReadExtendedNSInfo.

NCP Calls

See Also

NWGetDirectoryBase, NWGetNSInfo, NWNSGetMiscInfo, NWReadExtendedNSInfo, NWWriteExtendedNSInfo