// ntddstor.h
typedef struct _STORAGE_DESCRIPTOR_HEADER {
ULONG Version;
ULONG Size;
} STORAGE_DESCRIPTOR_HEADER, *PSTORAGE_DESCRIPTOR_HEADER;
View the official Windows Driver Kit DDI reference
// winioctl.h
typedef struct _STORAGE_DESCRIPTOR_HEADER {
DWORD Version;
DWORD Size;
} STORAGE_DESCRIPTOR_HEADER, *PSTORAGE_DESCRIPTOR_HEADER;
View the official Win32 API reference
No description available.
The STORAGE_DESCRIPTOR_HEADER structure is used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY request to retrieve the properties of a storage device or adapter.
Version
Contains the version of the data reported.
Size
Indicates the quantity of data reported, in bytes.
The data retrieved by IOCTL_STORAGE_QUERY_PROPERTY is reported in the buffer immediately following this structure.
The IOCTL_STORAGE_QUERY_PROPERTY request reports one of three types of properties: a device descriptor, an adapter descriptor, or a set of device IDs taken from the device's SCSI vital product data pages. Device descriptors are reported in a structure of type STORAGE_DEVICE_DESCRIPTOR. Adapter descriptors are reported in a structure of type STORAGE_ADAPTER_DESCRIPTOR. Vital product page device IDs are reported in a structure of type STORAGE_DEVICE_ID_DESCRIPTOR.
Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY control code to retrieve the properties of a storage device or adapter.
Version
Contains the size of this structure, in bytes. The value of this member will change as members are added to the structure.
Size
Specifies the total size of the data returned, in bytes. This may include data that follows this structure.
The data retrieved by IOCTL_STORAGE_QUERY_PROPERTY is reported in the buffer immediately following this structure.
DEVICE_SEEK_PENALTY_DESCRIPTOR
STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR