STORAGE_DESCRIPTOR_HEADER - NtDoc

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

NtDoc

No description available.

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

_STORAGE_DESCRIPTOR_HEADER structure

Description

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.

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.

See also

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_QUERY


Win32 API reference (ns-winioctl-storage_descriptor_header)

STORAGE_DESCRIPTOR_HEADER structure

Description

Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY control code to retrieve the properties of a storage device or adapter.

Members

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.

Remarks

The data retrieved by IOCTL_STORAGE_QUERY_PROPERTY is reported in the buffer immediately following this structure.

See also

DEVICE_SEEK_PENALTY_DESCRIPTOR

DEVICE_TRIM_DESCRIPTOR

Disk Management Structures

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR

STORAGE_ADAPTER_DESCRIPTOR

STORAGE_DEVICE_DESCRIPTOR

STORAGE_DEVICE_ID_DESCRIPTOR

STORAGE_MINIPORT_DESCRIPTOR

STORAGE_PROPERTY_QUERY

STORAGE_WRITE_CACHE_PROPERTY