NWVolExtendedInfo

Contains extended information for a volume

Service:Volume
Defined In:nwvol.h

Structure

   typedef struct { 
      nuint32   volType ; 
      nuint32   statusFlag ; 
      nuint32   sectorSize ; 
      nuint32   sectorsPerCluster ; 
      nuint32   volSizeInClusters ; 
      nuint32   freeClusters ; 
      nuint32   subAllocFreeableClusters ; 
      nuint32   freeableLimboSectors ; 
      nuint32   nonfreeableLimboSectors ; 
      nuint32   availSubAllocSectors ; 
      nuint32   nonuseableSubAllocSectors ; 
      nuint32   subAllocClusters ; 
      nuint32   numDataStreams ; 
      nuint32   numLimboDataStreams ; 
      nuint32   oldestDelFileAgeInTicks ; 
      nuint32   numCompressedDataStreams ; 
      nuint32   numCompressedLimboDataStreams ; 
      nuint32   numNoncompressibleDataStreams ; 
      nuint32   precompressedSectors ; 
      nuint32   compressedSectors ; 
      nuint32   numMigratedDataStreams ; 
      nuint32   migratedSectors ; 
      nuint32   clustersUsedByFAT ; 
      nuint32   clustersUsedByDirs ; 
      nuint32   clustersUsedByExtDirs ; 
      nuint32   totalDirEntries ; 
      nuint32   unusedDirEntries ; 
      nuint32   totalExtDirExtants ; 
      nuint32   unusedExtDirExtants ; 
      nuint32   extAttrsDefined ; 
      nuint32   extAttrExtantsUsed ; 
      nuint32   DirectoryServicesObjectID ; 
      nuint32   volLastModifiedDateAndTime ; 
   } NWVolExtendedInfo; 
   
   

Pascal Structure

   uses calwin32 
    
   NWVolExtendedInfo = packed Record 
       volType : nuint32;  
       statusFlag : nuint32;  
       sectorSize : nuint32;  
       sectorsPerCluster : nuint32;  
       volSizeInClusters : nuint32;  
       freeClusters : nuint32;  
       subAllocFreeableClusters : nuint32;  
       freeableLimboSectors : nuint32;  
       nonfreeableLimboSectors : nuint32;  
       availSubAllocSectors : nuint32;     
       nonuseableSubAllocSectors : nuint32;  
       subAllocClusters : nuint32;  
       numDataStreams : nuint32;  
       numLimboDataStreams : nuint32;  
       oldestDelFileAgeInTicks : nuint32;  
       numCompressedDataStreams : nuint32;  
       numCompressedLimboDataStreams : nuint32;  
       numNoncompressibleDataStreams : nuint32;  
       precompressedSectors : nuint32;  
       compressedSectors : nuint32;  
       numMigratedDataStreams : nuint32;  
       migratedSectors : nuint32;  
       clustersUsedByFAT : nuint32;  
       clustersUsedByDirs : nuint32;  
       clustersUsedByExtDirs : nuint32;  
       totalDirEntries : nuint32;  
       unusedDirEntries : nuint32;  
       totalExtDirExtants : nuint32;  
       unusedExtDirExtants : nuint32;  
       extAttrsDefined : nuint32;  
       extAttrExtantsUsed : nuint32;  
       DirectoryServicesObjectID : nuint32;  
       volLastModifiedDateAndTime : nuint32; 
     End; 
   
   

Fields

volType
Specifies different volumes that may be supported in the future.
statusFlag
Specifies the options currently available in this volume:

C Value

Pascal Value

Value Name

0x01

$01

NWSubAllocEnableBit

0x02

$02

NWCompressionEnabledBit

0x04

$04

NWMigrationEnableBit

0x08

$08

NWAuditingEnabledBit

0x10

$10

NWReadOnlyEnableBit

0x80000000

$80000000

NWPSSEnabledBit—the volume is an NSS volume.

sectorSize
Specifies the sector size in bytes.
sectorsPerCluster
Specifies the number of sectors per cluster.
volSizeInClusters
Specifies the size, in clusters, of the volume.
freeClusters
Specifies the number of clusters currently free for allocation. This does not include space currently available from deleted (limbo) files, nor space that could be reclaimed from the suballocation file system.
subAllocFreeableClusters
Specifies the space that could be reclaimed from the suballocation file system.
freeableLimboSectors
Specifies the disk space, in sectors, that could be freed from deleted files.
nonfreeableLimboSectors
Specifies the disk space, in sectors, that are currently in deleted files and not aged enough to be classified as FreeableLimboClusters. These will be migrated to the status of FreeableLimboCluster after time.
availSubAllocSectors
Specifies the space available to the suballocation file system, but not freeable to return as sectors.
nonuseableSubAllocSectors
Specifies the disk space wasted by the suballocation file system. These sectors cannot be allocated by the suballocation system or used as regular sectors.
subAllocClusters
Specifies the disk space being used by the suballocation file system.
numDataStreams
Specifies the number of data streams for real files with data allocated to them.
numLimboDataStreams
Specifies the number of data streams for deleted files with data allocated to them.
oldestDelFileAgeInTicks
Specifies the current age of the oldest file in ticks.
numCompressedDataStreams
Specifies the number of data streams for compressed real files.
numCompressedLimboDataStreams
Specifies the count of data streams for compressed deleted files.
numNoncompressibleDataStreams
Specifies the data streams found not compressable (real and deleted).
precompressedSectors
Specifies the disk space allocated to all files before they were compressed (includes "hole" space).
compressedSectors
Specifies the disk space used by all compressed files.
numMigratedDataStreams
Specifies the number of migrated data streams.
migratedSectors
Specifies the migrated disk space (in sectors).
clustersUsedByFAT
Specifies the disk space (in clusters) that is used by the FAT table.
clustersUsedByDirs
Specifies the disk space (in clusters) that is used by directories.
clustersUsedByExtDirs
Specifies the disk space (in clusters) that is used by the extended directory space.
totalDirEntries
Specifies the total number of directories available on the volume.
unusedDirEntries
Specifies the total directory entries unused on volume.
totalExtDirExtants
Specifies the amount of extended directory space extants (128 bytes each) that are available on the volume.
unusedExtDirExtants
Specifies the amount of extended directory space extants (128 bytes each) that are unused on the volume.
extAttrsDefined
Specifies the number of extended attributes that are defined on the volume.
extAttrExtantsUsed
Specifies the number of extended directory extants that are used by the extended attributes.
DirectoryServicesObjectID
Specifies the NDS ID for volume.
volLastModifiedDateAndTime
Specifies the last time any file or subdirectory within the volume was modified (tracked by the OS).

Remarks

The volType parameter can have the following values: