structure DISK_SPACE_INFORMATION (fileapi.h)

La structure DISK_SPACE_INFORMATION contient des informations sur l’espace disque d’un volume particulier.

Syntaxe

typedef struct DISK_SPACE_INFORMATION {
  ULONGLONG ActualTotalAllocationUnits;
  ULONGLONG ActualAvailableAllocationUnits;
  ULONGLONG ActualPoolUnavailableAllocationUnits;
  ULONGLONG CallerTotalAllocationUnits;
  ULONGLONG CallerAvailableAllocationUnits;
  ULONGLONG CallerPoolUnavailableAllocationUnits;
  ULONGLONG UsedAllocationUnits;
  ULONGLONG TotalReservedAllocationUnits;
  ULONGLONG VolumeStorageReserveAllocationUnits;
  ULONGLONG AvailableCommittedAllocationUnits;
  ULONGLONG PoolAvailableAllocationUnits;
  DWORD     SectorsPerAllocationUnit;
  DWORD     BytesPerSector;
} DISK_SPACE_INFORMATION;

Membres

ActualTotalAllocationUnits

est ActualTotalAllocationUnits la taille totale du volume sans prendre en compte le paramètre Quota.

ActualAvailableAllocationUnits

ActualTotalAllocationUnits est l’espace disponible pour le volume sans prendre en compte le paramètre Quota.

ActualPoolUnavailableAllocationUnits

ActualPoolUnavailableAllocationUnits est l’espace indisponible pour le volume en raison d’un espace de pool disponible insuffisant

CallerTotalAllocationUnits

est CallerTotalAllocationUnits la taille totale du volume limitée par le paramètre Quota.

CallerAvailableAllocationUnits

CallerAvailableAllocationUnits est l’espace disponible pour le volume limité par le paramètre Quota.

CallerPoolUnavailableAllocationUnits

CallerAvailableAllocationUnits est l’espace indisponible pour le volume en raison d’un espace de pool disponible insuffisant.

UsedAllocationUnits

Espace utilisé du volume.

TotalReservedAllocationUnits

Espace réservé total.

VolumeStorageReserveAllocationUnits

Type spécial d’espace réservé pour la réserve de stockage par volume. Cela est inclus dans .TotalReservedAllocationUnits

AvailableCommittedAllocationUnits

Espace qui a été validée par le pool de stockage, mais qui n’a pas été alloué par le système de fichiers.

PoolAvailableAllocationUnits

Espace disponible dans le pool de stockage correspondant. Si le volume n’est pas un volume d’espaces, est PoolAvailableAllocationUnits défini sur 0.

SectorsPerAllocationUnit

Nombre de secteurs par unité d’allocation pour le volume.

BytesPerSector

Nombre d’octets par secteur pour le volume.

Spécifications

   
En-tête fileapi.h

Voir aussi

GetDiskSpaceInformationA

GetDiskSpaceInformationW