// ntddstor.h
typedef struct _STORAGE_READ_CAPACITY {
ULONG Version;
ULONG Size;
ULONG BlockLength;
LARGE_INTEGER NumberOfBlocks;
LARGE_INTEGER DiskLength;
} STORAGE_READ_CAPACITY, *PSTORAGE_READ_CAPACITY;
View the official Windows Driver Kit DDI referenceNo description available.
The STORAGE_READ_CAPACITY contains the disk read capacity information returned from a IOCTL_STORAGE_READ_CAPACITY request.
VersionThe version of this structure. Set to sizeof(STORAGE_READ_CAPACITY).
SizeThe size of this structure. Set to sizeof(STORAGE_READ_CAPACITY).
BlockLengthThe number of bytes per block on disk.
NumberOfBlocksThe total number of blocks on the disk.
DiskLengthThe total disk size in bytes.