estrutura DISK_SPACE_INFORMATION (fileapi.h)

A estrutura DISK_SPACE_INFORMATION contém informações sobre o espaço em disco para um volume específico.

Sintaxe

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;

Membros

ActualTotalAllocationUnits

O ActualTotalAllocationUnits é o tamanho total do volume sem considerar a configuração de Cota.

ActualAvailableAllocationUnits

O ActualTotalAllocationUnits é o espaço disponível para o volume sem considerar a configuração de Cota.

ActualPoolUnavailableAllocationUnits

O ActualPoolUnavailableAllocationUnits é o espaço indisponível para o volume devido a espaço livre insuficiente no pool

CallerTotalAllocationUnits

O CallerTotalAllocationUnits é o tamanho total do volume limitado pela configuração cota.

CallerAvailableAllocationUnits

O CallerAvailableAllocationUnits é o espaço disponível para o volume limitado pela configuração cota.

CallerPoolUnavailableAllocationUnits

O CallerAvailableAllocationUnits é o espaço indisponível para o volume devido a espaço livre insuficiente no pool.

UsedAllocationUnits

O espaço usado do volume.

TotalReservedAllocationUnits

Espaço reservado total.

VolumeStorageReserveAllocationUnits

Um tipo especial de espaço reservado para reserva de armazenamento por volume. Isso está incluído no TotalReservedAllocationUnits.

AvailableCommittedAllocationUnits

O espaço que foi confirmado pelo pool de armazenamento, mas não foi alocado pelo sistema de arquivos.

PoolAvailableAllocationUnits

Espaço disponível no pool de armazenamento correspondente. Se o volume não for um volume de espaços, o PoolAvailableAllocationUnits será definido 0como .

SectorsPerAllocationUnit

O número de setores por unidade de alocação para o volume.

BytesPerSector

O número de bytes por setor para o volume.

Requisitos

   
Cabeçalho fileapi.h

Confira também

GetDiskSpaceInformationA

GetDiskSpaceInformationW