VOLUME_INFO_BY_LEVEL_DEF

Returns volumen information.

Service:Server Environment
Defined In:nwfse.h

Structure

  typedef struct 
  { 
     nuint32   volumeType ; 
     nuint32   statusFlagBits ; 
     nuint32   sectorSize ; 
     nuint32   sectorsPerCluster ; 
     nuint32   volumeSizeInClusters ; 
     nuint32   freedClusters ; 
     nuint32   subAllocFreeableClusters ; 
     nuint32   freeableLimboSectors ; 
     nuint32   nonFreeableLimboSectors ; 
     nuint32   nonFreeableAvailSubAllocSectors ; 
     nuint32   notUsableSubAllocSectors ; 
     nuint32   subAllocClusters ; 
     nuint32   dataStreamsCount ; 
     nuint32   limboDataStreamsCount ; 
     nuint32   oldestDeletedFileAgeInTicks ; 
     nuint32   compressedDataStreamsCount ; 
     nuint32   compressedLimboDataStreamsCount ; 
     nuint32   unCompressableDataStreamsCount ; 
     nuint32   preCompressedSectors ; 
     nuint32   compressedSectors ; 
     nuint32   migratedFiles ; 
     nuint32   migratedSectors ; 
     nuint32   clustersUsedByFAT ; 
     nuint32   clustersUsedByDirectories ; 
     nuint32   clustersUsedbyExtendedDirs ; 
     nuint32   totalDirectoryEntries ; 
     nuint32   unUsedDirectoryEntries ; 
     nuint32   totalExtendedDirectoryExtants ; 
     nuint32   unUsedExtendedDirectoryExtants ; 
     nuint32   extendedAttributesDefined ; 
     nuint32   extendedAttributeExtantsUsed ; 
     nuint32   directoryServicesObjectID ; 
     nuint32   volumeLastModifiedDateAndTime ; 
  } VOLUME_INFO_BY_LEVEL_DEF; 
  

Delphi Structure

  uses calwin32 
   
    VOLUME_INFO_BY_LEVEL_DEF = packed Record 
      volumeType : nuint32;  
      statusFlagBits : nuint32;  
      sectorSize : nuint32;  
      sectorsPerCluster : nuint32;  
      volumeSizeInClusters : nuint32;  
      freedClusters : nuint32;  
      subAllocFreeableClusters : nuint32;  
      freeableLimboSectors : nuint32;  
      nonFreeableLimboSectors : nuint32;  
      nonFreeableAvailSubAllocSectors : nuint32;  
      notUsableSubAllocSectors : nuint32;  
      subAllocClusters : nuint32;  
      dataStreamsCount : nuint32;  
      limboDataStreamsCount : nuint32;  
      oldestDeletedFileAgeInTicks : nuint32;  
      compressedDataStreamsCount : nuint32;  
      compressedLimboDataStreamsCount : nuint32;  
      unCompressableDataStreamsCount : nuint32;  
      preCompressedSectors : nuint32;  
      compressedSectors : nuint32;  
      migratedFiles : nuint32;  
      migratedSectors : nuint2;  
      clustersUsedByFAT : nunt32;  
      clustersUsedByDirectories : nuint32;  
      clustersUsedByExtendedDirs : nuint32;  
      totalDirectoryEntries : nuint32;  
      unUsedDirectoryEntries : nuint32;  
      totalExtendedDirectoryExtants : nuint32;  
      unUsedExtendedDirectoryExtants : nuint32;  
      extendedAttributesDefined : nuint32;  
      extendedAttributeExtantsUsed : nuint32;  
      directoryServicesObjectID : nuint32;  
      volumeLastModifiedDateAndTime : nuint32; 
    End;
  

Fields

volumeType
Specifies the defined type of the current volume.
statusFlagBits
Specifies the options that are currently available on the volume.
sectorSize
Specifies the sector size (in bytes).
sectorsPerCluster
Specifies the number of sectors per cluster or block.
volumeSizeInClusters
Specifies the size of the volume (in clusters or blocks).
freedClusters
Specifies the number of clusters or blocks that are currently free for allocation (does not include space that is currently available from deleted or limbo files, nor space that could be reclaimed from the suballocation file system).
subAllocFreeableClusters
Specifies the space that can be reclaimed from the suballocation file system.
freeableLimboSectors
Specifies the disk space (in clusters or blocks) that can be freed from deleted files.
nonFreeableLimboSectors
Specifies the disk space (in clusters or blocks) that is currently in deleted files and is not aged enough to be classified as freeableLimboClusters.
nonFreeableAvailSubAllocSectors
Specifies the space available to the suballocation file system, but not freeable to return as clusters or blocks.
notUsableSubAllocSectors
Specifies the disk space that is wasted by the suballocation file system. These clusters cannot be allocated by the suballocation system or used a regular clusters or blocks.
subAllocClusters
Specifies the disk space being used by the suballocation file system.
dataStreamsCount
Specifies the number of data streams for real files that have data allocated to them.
limboDataStreamsCount
Specifies the number of data streams for deleted files that have data allocated to them.
oldestDeletedFileAgeInTicks
Specifies the current age of the oldest file (in ticks).
compressedDataStreamsCount
Specifies the number of data streams for compressed real files.
compressedLimboDataStreamsCount
Specifies the number of data streams for compressed deleted files.
unCompressableDataStreamsCount
Specifies the number of data streams that are not compressable (real and deleted).
preCompressedSectors
Specifies the amount of disk space that was allocated to all files before they were compressed (includes "hole" space).
compressedSectors
Specifies the amount of disk space that is used by all compressed files.
migratedFiles
Specifies the number of migrated files.
migratedSectors
Specifies the amount of migrated disk space (in sectors).
clustersUsedByFAT
Specifies the amount of disk space (in clusters or blocks) being used by the FAT table.
clustersUsedByDirectories
Specifies the amount of disk space (in clusters or blocks) being used by directories.
clustersUsedbyExtendedDirs
Specifies the amount of disk space (in clusters or blocks) being used by the extended directory space.
totalDirectoryEntries
Specifies the total number of directories that are available on the volume.
unUsedDirectoryEntries
Specifies the total number of directory entries that are not in use on the volume.
totalExtendedDirectoryExtants
Specifies the amount of extended directory space extants (128 bytes each) that are available on the volume.
unUsedExtendedDirectoryExtants
Specifies the amount of extended directory space extants (128 bytes each) that are not in use on the volume.
extendedAttributesDefined
Specifies the number of extended attributes that are defined on the volume.
extendedAttributeExtantsUsed
Specifies the number of extended directory extants that are used by the extended attributes.
directoryServicesObjectID
Specifies the NDS ID for the volume.
volumeLastModifiedDateAndTime
Specifies the last time any file or subdirectory on the volume was modified (as tracked by the OS).

Remarks

volumeType can have the following values:

statusFlagBits can have the following values: