Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains information about the size of a device. This is returned from the IOCTL_STORAGE_READ_CAPACITY control code.
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. The caller must set this member to
sizeof(STORAGE_READ_CAPACITY)
. -
Size
-
The size of the data returned.
-
BlockLength
-
The number of bytes per block.
-
NumberOfBlocks
-
The total number of blocks on the disk.
-
DiskLength
-
The disk size in bytes.
Remarks
The header file Ntddstor.h is available in the Windows Driver Kit (WDK).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008, Windows Server 2003 with SP1 |
Header |
|