// storduid.h
typedef struct _STORAGE_DEVICE_LAYOUT_SIGNATURE {
ULONG Version;
ULONG Size;
BOOLEAN Mbr;
union {
ULONG MbrSignature;
GUID GptDiskId;
} DeviceSpecific;
} STORAGE_DEVICE_LAYOUT_SIGNATURE, *PSTORAGE_DEVICE_LAYOUT_SIGNATURE;
View the official Windows Driver Kit DDI referenceNo description available.
The STORAGE_DEVICE_LAYOUT_SIGNATURE structure defines a device layout structure.
VersionThe version of the DUID.
SizeThe size, in bytes, of this STORAGE_DEVICE_LAYOUT_SIGNATURE structure.
MbrA Boolean value that indicates whether the partition table of the disk is formatted with a master boot record (MBR). If TRUE, the partition table of the disk is formatted with a master boot record (MBR). If FALSE, the disk has a GUID partition table (GPT).
DeviceSpecificDeviceSpecific.MbrSignatureThe signature value, which uniquely identifies the disk.
DeviceSpecific.GptDiskIdThe GUID that uniquely identifies the disk.
The device layout signature contributes to the definition of a device unique identifier (DUID). For more information about DUIDs, see the description of the STORAGE_DEVICE_UNIQUE_IDENTIFIER structure.
STORAGE_DEVICE_UNIQUE_IDENTIFIER