PARTITION_INFORMATION_MBR structure (winioctl.h)

Contains partition information specific to master boot record (MBR) disks.

Syntax

typedef struct _PARTITION_INFORMATION_MBR {
  BYTE    PartitionType;
  BOOLEAN BootIndicator;
  BOOLEAN RecognizedPartition;
  DWORD   HiddenSectors;
  GUID    PartitionId;
} PARTITION_INFORMATION_MBR, *PPARTITION_INFORMATION_MBR;

Members

PartitionType

The type of partition. For a list of values, see Disk Partition Types.

BootIndicator

If the member is TRUE, the partition is a boot partition. When this structure is used with the IOCTL_DISK_SET_PARTITION_INFO_EX control code, the value of this parameter is ignored.

RecognizedPartition

If this member is TRUE, the partition is of a recognized type. When this structure is used with the IOCTL_DISK_SET_PARTITION_INFO_EX control code, the value of this parameter is ignored.

HiddenSectors

The number of hidden sectors to be allocated when the partition table is created.

PartitionId

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

File System Recognition

IOCTL_DISK_GET_PARTITION_INFO_EX

IOCTL_DISK_SET_PARTITION_INFO_EX

PARTITION_INFORMATION_EX