CHANGE_PARTITION_TYPE_PARAMETERS structure
[Both the Virtual Disk Service and dynamic disks are deprecated as of Windows 8 Consumer Preview and Windows Server 8 Beta, and may be unavailable in subsequent versions of Windows. For more information, see Windows Storage Management API.]
Applies to: desktop apps only
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 |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 3/6/2012