PARTITION_INFORMATION_MBR structure (Windows)

Switch View :
ScriptFree
PARTITION_INFORMATION_MBR structure

Applies to: desktop apps only

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

Syntax

typedef struct _PARTITION_INFORMATION_MBR {
  BYTE    PartitionType;
  BOOLEAN BootIndicator;
  BOOLEAN RecognizedPartition;
  DWORD   HiddenSectors;
} 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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

WinIoCtl.h

See also

File System Recognition
IOCTL_DISK_GET_PARTITION_INFO_EX
IOCTL_DISK_SET_PARTITION_INFO_EX
PARTITION_INFORMATION_EX

 

 

Send comments about this topic to Microsoft

Build date: 4/17/2012

Community Content

jac_goudsmit
How to set ignored parameters
"When this structure is used with the IOCTL_DISK_SET_PARTITION_INFO_EX control code, the value of this parameter is ignored"

The IOCTL_DISK_SET_DRIVE_LAYOUT_EX control code can be used to set partition parameters.