Returns directory space information
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;
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;
Specifies the total blocks in the volume.
Specifies the number of available blocks.
Specifies the number of recoverable blocks recovered by purging (0 if the NWGetDirSpaceInfo function is called with a directory handle of 0).
Specifies the number of blocks not yet purgeable (0 if the NWGetDirSpaceInfo function is called with a directory handle of 0).
Specifies the number of entries in the directory.
Specifies the number of available entries remaining.
Is reserved for future use.
Specifies the number of sectors per block.
Specifies the length of the volName field.
Specifies the name of the volume.
All sizes are returned based on the block size of the volume (64 KB).