estrutura STORAGE_READ_CAPACITY (ntddstor.h)

O STORAGE_READ_CAPACITY contém as informações de capacidade de leitura de disco retornadas de uma solicitação de IOCTL_STORAGE_READ_CAPACITY .

Sintaxe

typedef struct _STORAGE_READ_CAPACITY {
  ULONG         Version;
  ULONG         Size;
  ULONG         BlockLength;
  LARGE_INTEGER NumberOfBlocks;
  LARGE_INTEGER DiskLength;
} STORAGE_READ_CAPACITY, *PSTORAGE_READ_CAPACITY;

Membros

Version

A versão dessa estrutura. Defina como sizeof(STORAGE_READ_CAPACITY).

Size

O tamanho desta estrutura. Defina como sizeof(STORAGE_READ_CAPACITY).

BlockLength

O número de bytes por bloco no disco.

NumberOfBlocks

O número total de blocos no disco.

DiskLength

O tamanho total do disco em bytes.

Requisitos

Requisito Valor
Cliente mínimo com suporte Disponível a partir do Windows 8.
Cabeçalho ntddstor.h (inclua Ntddstor.h)

Confira também

IOCTL_STORAGE_READ_CAPACITY