The CHANGE_PARTITION_TYPE_PARAMETERS structure describes parameters to use when changing a partition type.<47>
typedef struct _CHANGE_PARTITION_TYPE_PARAMETERS {
VDS_PARTITION_STYLE style;
[switch_is(style)] union {
[case(VDS_PST_MBR)]
struct {
byte partitionType;
} MbrPartInfo;
[case(VDS_PST_GPT)]
struct {
GUID partitionType;
} GptPartInfo;
[default] ;
};
} CHANGE_PARTITION_TYPE_PARAMETERS;
style: A value from the VDS_PARITION_STYLE enumeration that describes the disk partition format.
MbrPartInfo: Contains information for an MBR partition.
partitionType: The byte value indicating the partition type to change the partition to.
GptPartInfo: Contains information for the partition of a GPT.
partitionType: The GUID indicating the partition type to change the partition to.<48>