13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

style: The value from the <strong>VDS</strong>_PARTITION_STYLE enumeration that describes the partitionformat of the disk. If the disk partitioning format is MBR, the only value that may be changedis the bootIndicator. If the disk partitioning format is GPT, the only value that may be changedis the GPT attribute.MbrPartInfo: Contains information for an MBR partition.bootIndicator: The Boolean value that indicates whether the partition is bootable.GptPartInfo: Contains information for a partition in a GPT.attributes: The bitwise OR operator of attributes to change; it can have a combination ofthe following values.ValueGPT_ATTRIBUTE_PLATFORM_REQUIRED0x0000000000000001GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY0x1000000000000000GPT_BASIC_DATA_ATTRIBUTE_HIDDEN0x4000000000000000GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER0x8000000000000000MeaningPartition is required for the platform tofunction properly.The partition can be read from but notwritten to. Used only with the basicdata partition type.The partition is hidden and is notmounted. Used only with the basicdata partition type.The partition does not receive a driveletter by default when moving the diskto another machine. Used only with thebasic data partition type.2.2.2.12 IVdsAdvanced<strong>Disk</strong>2 Data TypesThis section lists data types that are used exclusively by the IVdsAdvanced<strong>Disk</strong>2 methods.2.2.2.12.1 Structures2.2.2.12.1.1 CHANGE_PARTITION_TYPE_PARAMETERSThe CHANGE_PARTITION_TYPE_PARAMETERS structure describes parameters to use whenchanging a partition type.typedef struct _CHANGE_PARTITION_TYPE_PARAMETERS {<strong>VDS</strong>_PARTITION_STYLE style;[switch_is(style)] union {[case(<strong>VDS</strong>_PST_MBR)]struct {byte partitionType;} MbrPartInfo;[case(<strong>VDS</strong>_PST_GPT)]struct {GUID partitionType;[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 201178 / 360

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!