Condividi tramite


struttura STORAGE_READ_CAPACITY (ntddstor.h)

Il STORAGE_READ_CAPACITY contiene le informazioni sulla capacità di lettura del disco restituite da una richiesta di IOCTL_STORAGE_READ_CAPACITY .

Sintassi

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

Members

Version

Versione di questa struttura. Impostare su sizeof(STORAGE_READ_CAPACITY).

Size

Dimensione della struttura. Impostare su sizeof(STORAGE_READ_CAPACITY).

BlockLength

Numero di byte per blocco su disco.

NumberOfBlocks

Numero totale di blocchi sul disco.

DiskLength

Dimensioni totali del disco in byte.

Requisiti

Requisito Valore
Client minimo supportato Disponibile a partire da Windows 8.
Intestazione ntddstor.h (include Ntddstor.h)

Vedi anche

IOCTL_STORAGE_READ_CAPACITY