NWQueryNSInfoFormat

Returns the NW_NS_INFO structure to be used in getting and setting name space information

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 NWQueryNSInfoFormat  (  
      BYTE          nameSpace,   
      BYTE          volNum,   
      NW_NS_INFO   *nsInfo); 
   

Parameters

nameSpace

(IN) Specifies the name space to return information for (see Section 20.5, Name Space Flag Values).

volNum

(IN) Specifies the volume number to return information for.

nsInfo

(OUT) Points to an NW_NS_INFO structure.

Return Values

ESuccess or NetWare errors

Remarks

The nsInfo parameter points to an NW_NS_INFO structure. This structure is defined in nwnspace.h as follows:

      typedef struct  
      {  
         LONG   nsInfoBitMask;  
         LONG   fixedBitMask;  
         LONG   reservedBitMask;  
         LONG   extendedBitMask;  
         WORD   fixedBitsDefined;  
         WORD   reservedBitsDefined;  
         WORD   extendedBitsDefined;  
         LONG   fieldsLenTable[32];  
         BYTE   hugeStateInfo[16];  
         LONG   hugeDataLength;  
      }   NW_NS_INFO; 
   

See Also

NWGetNSInfo (NLM), NWSetNSInfo