BOOTDISK_INFORMATION_EX structure (wdm.h)

The BOOTDISK_INFORMATION_EX structure contains extended information describing the boot and system disks.

Syntax

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;

Members

BootPartitionOffset

Specifies the offset, in bytes, on the boot disk where the boot partition begins.

SystemPartitionOffset

Specifies the offset, in bytes, on the system disk where the system partition begins.

BootDeviceSignature

If the BootDeviceIsGpt member is FALSE, this specifies the signature for the disk's MBR partition table. Otherwise, this member is unused.

SystemDeviceSignature

If the SystemDeviceIsGpt member is FALSE, this specifies the signature for the disk's MBR partition table. Otherwise, this member is unused.

BootDeviceGuid

If the BootDeviceIsGpt member is TRUE, this specifies the GUID for the boot disk. Otherwise, this member is unused.

SystemDeviceGuid

If the SystemDeviceIsGpt member is TRUE, this specifies the GUID for the boot disk. Otherwise, this member is unused.

BootDeviceIsGpt

TRUE if the boot disk is formatted with the GPT partition table type.

SystemDeviceIsGpt

TRUE if the system disk is formatted with the GPT partition table type.

Remarks

On Windows XP and later, IoGetBootDiskInformation returns this structure to describe the boot and system disks.

Requirements

Requirement Value
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)

See also

BOOTDISK_INFORMATION

IoGetBootDiskInformation