STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddstor-_storage_device_attributes_descriptor)

_STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR structure

Description

The STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR structure is used to retrieve the attributes information for a device.

Members

Version

Contains the version of the data reported.

Size

Indicates 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.

Win32 API reference (ns-winioctl-storage_device_attributes_descriptor)

STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR structure

Description

Reserved for future use.

Members

Version

Contains the version of the data reported.

Size

Indicates the quantity of data reported, in bytes. This is the sizeof(STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR).

Attributes

Reserved for future use.