STORAGE_DESCRIPTOR_HEADER structure (ntddstor.h)

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.

Syntax

typedef struct _STORAGE_DESCRIPTOR_HEADER {
  ULONG Version;
  ULONG Size;
} STORAGE_DESCRIPTOR_HEADER, *PSTORAGE_DESCRIPTOR_HEADER;

Members

Version

Contains the version of the data reported.

Size

Indicates the quantity of data reported, in bytes.

Remarks

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.

Requirements

Requirement Value
Header ntddstor.h (include Ntddstor.h)

See also

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_QUERY