// 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 referenceNo description available.
The STORAGE_DEVICE_UNIQUE_IDENTIFIER structure defines a device unique identifier (DUID).
VersionThe version of the DUID.
SizeThe size, in bytes, of the identifier header and the identifiers (IDs) that follow the header.
StorageDeviceIdOffsetThe 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).
StorageDeviceOffsetThe 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.
DriveLayoutSignatureOffsetThe offset, in bytes, to the drive layout signature (STORAGE_DEVICE_LAYOUT_SIGNATURE).