Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CHANGE_PARTITION_TYPE_PARAMETERS structure

[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, *PCHANGE_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.

partitionType

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

GptPartInfo

Contains information for a GUID Partitioning Table partition.

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Vds.h

See also

IVdsAdvancedDisk2::ChangePartitionType

 

 

Community Additions

Show:
© 2014 Microsoft