STORAGE_DEVICE_ID_DESCRIPTOR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddstor.h

typedef struct _STORAGE_DEVICE_ID_DESCRIPTOR {
  ULONG Version;
  ULONG Size;
  ULONG NumberOfIdentifiers;
  UCHAR Identifiers[1];
} STORAGE_DEVICE_ID_DESCRIPTOR, *PSTORAGE_DEVICE_ID_DESCRIPTOR;

View the official Windows Driver Kit DDI reference
// winioctl.h

typedef struct _STORAGE_DEVICE_ID_DESCRIPTOR {
  DWORD Version;
  DWORD Size;
  DWORD NumberOfIdentifiers;
  BYTE  Identifiers[1];
} STORAGE_DEVICE_ID_DESCRIPTOR, *PSTORAGE_DEVICE_ID_DESCRIPTOR;

View the official Win32 API reference

NtDoc

No description available.

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

_STORAGE_DEVICE_ID_DESCRIPTOR structure

Description

The STORAGE_DEVICE_ID_DESCRIPTOR structure is used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY request to retrieve the device ID descriptor data for a device.

Members

Version

Indicates the version of the descriptor.

Size

Indicates the size in bytes of the descriptor.

NumberOfIdentifiers

Contains the number of identifiers reported by the device in the Identifiers array.

Identifiers

Contains a variable-length array of identification descriptors.

Remarks

The device descriptor consists of an array of device IDs taken from the SCSI-3 vital product page data that was retrieved during discovery.

See also

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_ADAPTER_DESCRIPTOR

STORAGE_DESCRIPTOR_HEADER

STORAGE_DEVICE_DESCRIPTOR


Win32 API reference (ns-winioctl-storage_device_id_descriptor)

STORAGE_DEVICE_ID_DESCRIPTOR structure

Description

Used with the IOCTL_STORAGE_QUERY_PROPERTY control code request to retrieve the device ID descriptor data for a device.

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.

NumberOfIdentifiers

Contains the number of identifiers reported by the device in the Identifiers array.

Identifiers

Contains a variable-length array of identification descriptors.

Remarks

The device ID descriptor consists of an array of device IDs taken from the SCSI-3 vital product data (VPD) page 0x83 that was retrieved during discovery.

See also

Disk Management Structures

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_ADAPTER_DESCRIPTOR

STORAGE_DESCRIPTOR_HEADER

STORAGE_DEVICE_DESCRIPTOR