DISK_SIGNATURE - NtDoc

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

typedef struct _DISK_SIGNATURE {
  ULONG PartitionStyle;
  union {
    struct {
      ULONG Signature;
      ULONG CheckSum;
    } Mbr;
    struct {
      GUID DiskId;
    } Gpt;
  };
} DISK_SIGNATURE, *PDISK_SIGNATURE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddk-_disk_signature)

_DISK_SIGNATURE structure

Description

DISK_SIGNATURE contains the disk signature information for a disk's partition table.

Members

PartitionStyle

Specifies the type of partition. See PARTITION_STYLE for a description of the possible values.

Mbr

Mbr.Signature

Specifies the signature value, which uniquely identifies the disk. The Mbr member of the union is used to specify the disk signature data for a disk formatted with a Master Boot Record (MBR) format partition table. This member is valid when PartitionStyle is PARTITION_STYLE_MBR.

Mbr.CheckSum

Specifies the checksum for the master boot record. The Mbr member of the union is used to specify the disk signature data for a disk formatted with a Master Boot Record (MBR) format partition table. This member is valid when PartitionStyle is PARTITION_STYLE_MBR.

Gpt

Gpt.DiskId

Specifies the GUID that uniquely identifies the disk. The Gpt member of the union is used to specify the disk signature data for a disk that is formatted with a GUID Partition Table (GPT) format partition table. The GUID data type is described on the Using GUIDs in Drivers reference page. This member is valid when PartitionStyle is PARTITION_STYLE_GPT.

See also

IoReadDiskSignature