<div class="content" name="CHANGE_ATTRIBUTES_PARAMETERS" uuid="158976c6-bcea-424d-9116-f58ddd85620a"><p>The CHANGE_ATTRIBUTES_PARAMETERS structure describes the
attributes to change on a <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2f24f458-7d39-47a2-93f7-de433ea85c75" data-linktype="relative-path">partition</a>.</p><dl>
<dd>
<div><pre> typedef struct _CHANGE_ATTRIBUTES_PARAMETERS {
   VDS_PARTITION_STYLE style;
   [switch_is(style)] union {
     [case(VDS_PST_MBR)] 
       struct {
       boolean bootIndicator;
     } MbrPartInfo;
     [case(VDS_PST_GPT)] 
       struct {
       ULONGLONG attributes;
     } GptPartInfo;
     [default]       ;
   };
 } CHANGE_ATTRIBUTES_PARAMETERS;
</pre></div>
</dd></dl><p><b>style:</b>  The value from the <a href="310c0f6a-a0ef-4b63-933e-c4b1a7ecaf37" data-linktype="relative-path">VDS_PARTITION_STYLE</a>
enumeration that describes the partition format of the <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_c4133b2a-a990-4042-ba44-7fda3090f118" data-linktype="relative-path">disk</a>. If the disk
partitioning format is <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_b251c771-5ccf-40f2-b98d-0119db210b4b" data-linktype="relative-path">MBR</a>,
the only value that can be changed is the <i>bootIndicator</i>. If the disk
partitioning format is <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2fc866b7-7f83-479a-ad4e-fdffcbcff989" data-linktype="relative-path">GPT</a>,
the only value that can be changed is the GPT attribute.</p><p><b>MbrPartInfo:</b>  Contains information
for an MBR partition.</p><p><b>bootIndicator:</b>  The Boolean value
that indicates whether the partition is bootable.</p><p><b>GptPartInfo:</b>  Contains information
for a partition in a GPT.</p><p><b>attributes:</b>  The bitwise OR operator
of attributes to change; it can have a combination of the following values.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>GPT_ATTRIBUTE_PLATFORM_REQUIRED 0x0000000000000001</td>
  <td>Partition is required for the platform to function properly.&lt;46&gt;</td>
 </tr><tr>
  <td>GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY 0x1000000000000000</td>
  <td>The partition can be read from but not written to. Used only with the basic data partition type.</td>
 </tr><tr>
  <td>GPT_BASIC_DATA_ATTRIBUTE_HIDDEN 0x4000000000000000</td>
  <td>The partition is hidden and is not mounted. Used only with the basic data partition type.</td>
 </tr><tr>
  <td>GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER 0x8000000000000000</td>
  <td>The partition does not receive a drive letter by default when moving the disk to another machine. Used only with the basic data partition type.</td>
 </tr></tbody></table>
</dd></dl><p> </p></div>