PARTITION_INFORMATION_MBR - NtDoc

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

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

View the official Windows Driver Kit DDI reference
// winioctl.h

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

View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntdddisk-_partition_information_mbr)

_PARTITION_INFORMATION_MBR structure

Description

PARTITION_INFORMATION_MBR contains information for a Master Boot Record partition that is not held in common with a GUID Partition Table partition.

Members

PartitionType

Specifies the partition type. See PARTITION_INFORMATION for a list of system-defined partition types.

BootIndicator

Indicates, when TRUE, that the partition is bootable. When FALSE, the partition is not bootable.

RecognizedPartition

Indicates, when TRUE, that this is a partition with a recognized partition type. When FALSE this is a not a partition with a recognized partition.

HiddenSectors

Contains the number of hidden sectors in the partition.

PartitionId

See also

IoReadPartitionTable

PARTITION_INFORMATION_EX

PARTITION_INFORMATION_GPT


Win32 API reference (ns-winioctl-partition_information_mbr)

PARTITION_INFORMATION_MBR structure

Description

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

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

See also

File System Recognition

IOCTL_DISK_GET_PARTITION_INFO_EX

IOCTL_DISK_SET_PARTITION_INFO_EX

PARTITION_INFORMATION_EX