CHANGE_PARTITION_TYPE_PARAMETERS structure (vds.h)

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Describes parameters to be used when changing a partition's type.

Syntax

typedef struct _CHANGE_PARTITION_TYPE_PARAMETERS {
  VDS_PARTITION_STYLE style;
  union {
    struct {
      BYTE partitionType;
    } MbrPartInfo;
    struct {
      GUID partitionType;
    } GptPartInfo;
  };
} CHANGE_PARTITION_TYPE_PARAMETERS;

Members

style

A value from the VDS_PARTITION_STYLE enumeration that describes the disk's partition style.

MbrPartInfo

Contains information for a Master Boot Record partition.

MbrPartInfo.partitionType

Byte value indicating the partition type to which to change the partition.

GptPartInfo

Contains information for a GUID Partitioning Table partition.

GptPartInfo.partitionType

GUID indicating the partition type to which to change the partition.

Note  Only the basic data partition type is allowed.
 

Remarks

For information about partition types, see CREATE_PARTITION_PARAMETERS.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header vds.h

See also

IVdsAdvancedDisk2::ChangePartitionType