STORAGE_DEVICE_UNIQUE_IDENTIFIER - NtDoc

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

typedef struct _STORAGE_DEVICE_UNIQUE_IDENTIFIER {
  ULONG Version;
  ULONG Size;
  ULONG StorageDeviceIdOffset;
  ULONG StorageDeviceOffset;
  ULONG DriveLayoutSignatureOffset;
} STORAGE_DEVICE_UNIQUE_IDENTIFIER, *PSTORAGE_DEVICE_UNIQUE_IDENTIFIER;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-storduid-_storage_device_unique_identifier)

_STORAGE_DEVICE_UNIQUE_IDENTIFIER structure

Description

The STORAGE_DEVICE_UNIQUE_IDENTIFIER structure defines a device unique identifier (DUID).

Members

Version

The version of the DUID.

Size

The size, in bytes, of the identifier header and the identifiers (IDs) that follow the header.

StorageDeviceIdOffset

The offset, in bytes, from the beginning of the header to the device ID descriptor (STORAGE_DEVICE_ID_DESCRIPTOR). The device ID descriptor contains the IDs that are extracted from page 0x83 of the device's vital product data (VPD).

StorageDeviceOffset

The offset, in bytes, from the beginning of the header to the device descriptor (STORAGE_DEVICE_DESCRIPTOR). The device descriptor contains IDs that are extracted from non-VPD inquiry data.

DriveLayoutSignatureOffset

The offset, in bytes, to the drive layout signature (STORAGE_DEVICE_LAYOUT_SIGNATURE).

See also

STORAGE_DEVICE_DESCRIPTOR

STORAGE_DEVICE_ID_DESCRIPTOR