Compartilhar via


STORAGE_READ_CAPACITY estrutura (ntddstor.h)

O STORAGE_READ_CAPACITY contém as informações de capacidade de leitura de disco retornadas de uma solicitação 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. Definido como tamanhos de(STORAGE_READ_CAPACITY).

Size

O tamanho dessa estrutura. Definido como tamanhos de(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
de cliente com suporte mínimo Disponível a partir do Windows 8.
cabeçalho ntddstor.h (include Ntddstor.h)

Consulte também

IOCTL_STORAGE_READ_CAPACITY