NWVOL_RESTRICTIONS

Returns a list of objects with space restrictions on a volume

Service:Volume
Defined In:nwvol.h

Structure

   typedef struct 
   { 
      nuint8   numberOfEntries; 
      struct 
      { 
         nuint32   objectID; 
         nuint32   restriction; 
      } resInfo[16]; 
   } NWVOL_RESTRICTIONS; 
   
   

Pascal Structure

   uses calwin32 
    
     NWVOL_RESTRICTIONS = packed Record 
       numberOfEntries : nuint8;  
       resInfo : Array[0..15] Of RES_INFO; 
     End; 
    
     RES_INFO = Record 
       objectID : nuint32; 
       restriction : nuint32; 
     End; 
   
   

Fields

numberOfEntries
Specifies the number of objects in the list (0-16 objects).
objectID
Specifies the ID of the NDS object (in Hi-Lo format). This value needs to be byte swapped when passed to NWGetObjectName or NWDSMapIDToName.
restriction
Specifies the size, in 4KB blocks, of the restriction placed on an object (Lo-Hi format).