NWSetNSInfo

Sets specific NS information for a directory entry specified by volNum, nameSpace, and dirBase

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

Syntax

   #include <nwnspace.h>  
    
   int NWSetNSInfo  (  
      BYTE    volNum,   
      BYTE    srcNameSpace,   
      BYTE    dstNameSpace,   
      LONG    dirBase,   
      LONG    nsInfoMask,   
      LONG    nsSpecificInfoLen,   
      BYTE   *nsSpecificInfo); 
   

Parameters

volNum

(IN) Specifies the volume number for which information is being set.

srcNameSpace

(IN) Specifies the name space that corresponds with the dirBase being passed (see Section 20.5, Name Space Flag Values). The name space currently being worked with is the default.

dstNameSpace

(IN) Specifies the name space to which information is being set (see Section 20.5, Name Space Flag Values).

dirBase

(IN) Specifies the directory base (or number) for the entry on which information is being set.

nsInfoMask

(IN) Specifies the bit map that indicates which types of information the user is setting in the data parameter.

nsSpecificinfoLen

(IN) Specifies the length of the data being set.

nsSpecificInfo

(IN) Points to that is being set as indicated in the nsInfoMask.

Return Values

ESuccess or NetWare errors

Remarks

If the current name space is NFS, a value of 2 (for NFS) would be passed as srcNameSpace. If, however, the returned information should be in another format, for example LONG, a value of 4 would be passed as the dstNameSpace.

See DOS Name Space Bit Mask.

See Also

NWGetDirBaseFromPath, NWGetNSInfo (NLM), NWQueryNSInfoFormat