_STORAGE_DEVICE_UNIQUE_IDENTIFIER structure

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

Syntax

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

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).

Requirements

   
Header storduid.h (include Storduid.h)

See Also

STORAGE_DEVICE_DESCRIPTOR

STORAGE_DEVICE_ID_DESCRIPTOR