// 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
No description available.
PARTITION_INFORMATION_MBR contains information for a Master Boot Record partition that is not held in common with a GUID Partition Table partition.
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
Contains partition information specific to master boot record (MBR) disks.
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
IOCTL_DISK_GET_PARTITION_INFO_EX
IOCTL_DISK_SET_PARTITION_INFO_EX