// ntddstor.h
typedef struct _STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR {
ULONG Version;
ULONG Size;
ULONG64 Attributes;
} STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR, *PSTORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR;
View the official Windows Driver Kit DDI reference// winioctl.h
typedef struct _STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR {
DWORD Version;
DWORD Size;
DWORD64 Attributes;
} STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR, *PSTORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR;
View the official Win32 API referenceNo description available.
The STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR structure is used to retrieve the attributes information for a device.
VersionContains the version of the data reported.
SizeIndicates the quantity of data reported, in bytes. This is the sizeof(STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR).
Attributes| Value | Meaning |
|---|---|
| STORAGE_ATTRIBUTE_BYTE_ADDRESSABLE_IO 0x01 |
Attribute that indicates a storage device supports byte addressable IO. |
| STORAGE_ATTRIBUTE_BLOCK_IO 0x02 |
Attribute that indicates a storage device supports block IO. |
| STORAGE_ATTRIBUTE_DYNAMIC_PERSISTENCE 0x04 |
Attribute that indicates that persistence of data on storage device may change. |
| STORAGE_ATTRIBUTE_VOLATILE 0x08 |
Attribute that indicates a storage device is volatile and does not support persistence of data. |
| STORAGE_ATTRIBUTE_ASYNC_EVENT_NOTIFICATION 0x10 |
Reserved |
| STORAGE_ATTRIBUTE_PERF_SIZE_INDEPENDENT 0x20 |
Attribute that indicates a storage device has IO performance independent of IO sizes. |
Reserved for future use.
VersionContains the version of the data reported.
SizeIndicates the quantity of data reported, in bytes. This is the sizeof(STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR).
AttributesReserved for future use.