MSDN Home >  MSDN Library >  Storage Devices >  Reference >  Storage Structures >  General Storage Structures
 
Storage Devices: Windows DDK

STORAGE_DESCRIPTOR_HEADER

[This is preliminary documentation and subject to change.]

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.

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.

Headers

Declared ntddstor.h. Include ntddstor.h.

Comments

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.

See Also

IOCTL_STORAGE_QUERY_PROPERTY, STORAGE_PROPERTY_QUERY

 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 © 2003 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility