NWGetNSInfo (NLM)

Returns specific NS information for the entry specified by the volNum, nameSpace and dirBase parameters

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 NWGetNSInfo  (  
      BYTE   volNum,   
      BYTE   srcNameSpace,   
      BYTE   dstNameSpace,   
      LONG   dirBase,   
      LONG   nsInfoMask,   
      BYTE  *nsSpecificInfo);
   

Parameters

volNum

(IN)

Specifies the volume number for which information is to be returned.

srcNameSpace

(IN) Specifies the name space that corresponds with the dirBase being passed.

dstNameSpace

(IN) Specifies name space in which the information is to be returned.

dirBase

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

nsInfoMask

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

nsSpecificInfo

(OUT) Points to data that was asked for 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 to the srcNameSpace parameter. However, if the returned information should be in the Macintosh name space format, a value of 1 would be passed to the dstNameSpace parameter.

See DOS Name Space Bit Mask.

See Also

NWGetDirBaseFromPath, NWQueryNSInfoFormat, NWSetNSInfo