STORAGE_READ_CAPACITY structure (ntddstor.h)
The STORAGE_READ_CAPACITY contains the disk read capacity information returned from a IOCTL_STORAGE_READ_CAPACITY request.
Syntax
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
The version of this structure. Set to sizeof(STORAGE_READ_CAPACITY).
Size
The size of this structure. Set to sizeof(STORAGE_READ_CAPACITY).
BlockLength
The number of bytes per block on disk.
NumberOfBlocks
The total number of blocks on the disk.
DiskLength
The total disk size in bytes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8. |
Header | ntddstor.h (include Ntddstor.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for