// wdm.h
typedef struct _BOOTDISK_INFORMATION_EX {
LONGLONG BootPartitionOffset;
LONGLONG SystemPartitionOffset;
ULONG BootDeviceSignature;
ULONG SystemDeviceSignature;
GUID BootDeviceGuid;
GUID SystemDeviceGuid;
BOOLEAN BootDeviceIsGpt;
BOOLEAN SystemDeviceIsGpt;
} BOOTDISK_INFORMATION_EX, *PBOOTDISK_INFORMATION_EX;
View the official Windows Driver Kit DDI referenceNo description available.
The BOOTDISK_INFORMATION_EX structure contains extended information describing the boot and system disks.
BootPartitionOffsetSpecifies the offset, in bytes, on the boot disk where the boot partition begins.
SystemPartitionOffsetSpecifies the offset, in bytes, on the system disk where the system partition begins.
BootDeviceSignatureIf the BootDeviceIsGpt member is FALSE, this specifies the signature for the disk's MBR partition table. Otherwise, this member is unused.
SystemDeviceSignatureIf the SystemDeviceIsGpt member is FALSE, this specifies the signature for the disk's MBR partition table. Otherwise, this member is unused.
BootDeviceGuidIf the BootDeviceIsGpt member is TRUE, this specifies the GUID for the boot disk. Otherwise, this member is unused.
SystemDeviceGuidIf the SystemDeviceIsGpt member is TRUE, this specifies the GUID for the boot disk. Otherwise, this member is unused.
BootDeviceIsGptTRUE if the boot disk is formatted with the GPT partition table type.
SystemDeviceIsGptTRUE if the system disk is formatted with the GPT partition table type.
On Windows XP and later, IoGetBootDiskInformation returns this structure to describe the boot and system disks.