SET_PARTITION_INFORMATION_EX
SET_PARTITION_INFORMATION_EX is used with the IOCTL IOCTL_DISK_SET_PARTITION_INFO_EX to set information about a specific partition.
typedef struct _SET_PARTITION_INFORMATION_EX {
PARTITION_STYLE PartitionStyle;
union {
SET_PARTITION_INFORMATION_MBR Mbr;
SET_PARTITION_INFORMATION_GPT Gpt;
};
} SET_PARTITION_INFORMATION_EX, *PSET_PARTITION_INFORMATION_EX;
Members
- PartitionStyle
- Takes a PARTITION_STYLE enumerated value that specifies the type of partition table that contains the partition.
- Mbr
- Contains the information for a Master Boot Record partition that is not held in common with a GUID Partition Table partition. This member is valid when PartitionStyle member is set to PARTITION_STYLE_MBR. For a definition of this structure, see SET_PARTITION_INFORMATION_MBR.
- Gpt
- Contains the information for a GUID Partition Table partition that is not held in common with a Master Boot Record partition. This member is valid when PartitionStyle member is set to PARTITION_STYLE_GPT. For a definition of this structure, see SET_PARTITION_INFORMATION_GPT.
Headers
Declared in ntdddisk.h. Include ntdddisk.h.
Comments
In the case of GPT partitions, any value that can be retrieved from the partition can also be set. In the MBR case, only the partition signature can be set.
See Also
SET_PARTITION_INFORMATION_MBR, SET_PARTITION_INFORMATION_GPT, IOCTL_DISK_SET_PARTITION_INFO_EX