DIR_SPACE_INFO

Returns directory space information

Service:File System
Defined In:nwdirect.h

Structure

   typedef struct { 
      nuint32   totalBlocks ; 
      nuint32   availableBlocks ; 
      nuint32   purgeableBlocks ; 
      nuint32   notYetPurgeableBlocks ; 
      nuint32   totalDirEntries ; 
      nuint32   availableDirEntries ; 
      nuint32   reserved ; 
      nuint8    sectorsPerBlock ; 
      nuint8    volLen ; 
      nuint8    volName [NW_MAX_VOLUME_NAME_LEN]; 
   } DIR_SPACE_INFO;
   

Delphi Structure

   uses calwin32 
    
    DIR_SPACE_INFO = packed Record 
      totalBlocks : nuint32; 
      availableBlocks : nuint32; 
      purgeableBlocks : nuint32; 
      notYetPurgeableBlocks : nuint32; 
      totalDirEntries : nuint32; 
      availableDirEntries : nuint32; 
      reserved : nuint32; 
      sectorsPerBlock : nuint8; 
      volLen : nuint8; 
      volName : Array[0..NW_MAX_VOLUME_NAME_LEN-1] Of nuint8 
    End;
   

Fields

totalBlocks

Specifies the total blocks in the volume.

availableBlocks

Specifies the number of available blocks.

purgeableBlocks

Specifies the number of recoverable blocks recovered by purging (0 if the NWGetDirSpaceInfo function is called with a directory handle of 0).

notYetPurgeableBlocks

Specifies the number of blocks not yet purgeable (0 if the NWGetDirSpaceInfo function is called with a directory handle of 0).

totalDirEntries

Specifies the number of entries in the directory.

availableDirEntries

Specifies the number of available entries remaining.

reserved

Is reserved for future use.

sectorsPerBlock

Specifies the number of sectors per block.

volLen

Specifies the length of the volName field.

volName

Specifies the name of the volume.

Remarks

All sizes are returned based on the block size of the volume (64 KB).