DISK_SPACE_INFORMATION-Struktur (fileapi.h)

Die DISK_SPACE_INFORMATION-Struktur enthält Informationen zum Speicherplatz für ein bestimmtes Volume.

Syntax

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;

Member

ActualTotalAllocationUnits

Der ActualTotalAllocationUnits ist die Gesamtvolumegröße ohne Berücksichtigung der Kontingenteinstellung.

ActualAvailableAllocationUnits

Der ActualTotalAllocationUnits ist der verfügbare Speicherplatz für das Volume, ohne die Kontingenteinstellung zu berücksichtigen.

ActualPoolUnavailableAllocationUnits

Der ActualPoolUnavailableAllocationUnits ist der nicht verfügbare Speicherplatz für das Volume aufgrund unzureichenden freien Poolspeicherplatz.

CallerTotalAllocationUnits

Dies CallerTotalAllocationUnits ist die gesamtvolumige Größe, die durch die Einstellung "Kontingent" begrenzt ist.

CallerAvailableAllocationUnits

Der CallerAvailableAllocationUnits ist der verfügbare Speicherplatz für das durch die Kontingenteinstellung begrenzte Volume.

CallerPoolUnavailableAllocationUnits

Der CallerAvailableAllocationUnits ist der nicht verfügbare Speicherplatz für das Volume, da nicht genügend freier Poolspeicherplatz vorhanden ist.

UsedAllocationUnits

Der verwendete Speicherplatz des Volumes.

TotalReservedAllocationUnits

Reservierter Speicherplatz insgesamt.

VolumeStorageReserveAllocationUnits

Ein besonderer Typ von reserviertem Speicherplatz für die Speicherreserve pro Volume. Dies ist in enthalten TotalReservedAllocationUnits.

AvailableCommittedAllocationUnits

Der Speicherplatz, der vom Speicherpool übernommen wurde, aber nicht vom Dateisystem zugewiesen wurde.

PoolAvailableAllocationUnits

Verfügbarer Speicherplatz im entsprechenden Speicherpool. Wenn das Volume kein Leerzeichenvolume ist, ist auf PoolAvailableAllocationUnits festgelegt 0.

SectorsPerAllocationUnit

Die Anzahl der Sektoren pro Zuordnungseinheit für das Volumen.

BytesPerSector

Die Anzahl der Bytes pro Sektor für das Volume.

Anforderungen

   
Kopfzeile fileapi.h

Weitere Informationen

GetDiskSpaceInformationA

GetDiskSpaceInformationW