<div class="content"><p> </p><p>The CHANGE_ATTRIBUTES_PARAMETERS structure describes the
attributes to change on a <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2f24f458-7d39-47a2-93f7-de433ea85c75" data-linktype="relative-path">partition</a></span>.</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 <span><a href="310c0f6a-a0ef-4b63-933e-c4b1a7ecaf37" data-linktype="relative-path">VDS_PARTITION_STYLE</a></span>
enumeration that describes the partition format of the <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_c4133b2a-a990-4042-ba44-7fda3090f118" data-linktype="relative-path">disk</a></span>.
If the disk partitioning format is <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_b251c771-5ccf-40f2-b98d-0119db210b4b" data-linktype="relative-path">MBR</a></span>, the only value
that can be changed is the <i>bootIndicator</i>. If the disk partitioning
format is <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2fc866b7-7f83-479a-ad4e-fdffcbcff989" data-linktype="relative-path">GPT</a></span>, 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>
  <p>GPT_ATTRIBUTE_PLATFORM_REQUIRED</p>
  <p>0x0000000000000001</p>
  </td>
  <td>
  <p>Partition is required for the platform to function
  properly.<a id="Appendix_A_Target_46"></a><a aria-label="Product behavior note 46" href="6b2552ee-ba27-409f-99a8-18841573327a#Appendix_A_46" data-linktype="relative-path">&lt;46&gt;</a></p>
  </td>
 </tr><tr>
  <td>
  <p>GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY</p>
  <p>0x1000000000000000</p>
  </td>
  <td>
  <p>The partition can be read from but not written to.
  Used only with the basic data <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_674598d2-080c-4dbf-b12e-cc873da21b54" data-linktype="relative-path">partition type</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>GPT_BASIC_DATA_ATTRIBUTE_HIDDEN</p>
  <p>0x4000000000000000</p>
  </td>
  <td>
  <p>The partition is hidden and is not mounted. Used only
  with the basic data partition type.</p>
  </td>
 </tr><tr>
  <td>
  <p>GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER</p>
  <p>0x8000000000000000</p>
  </td>
  <td>
  <p>The partition does not receive a <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_1b153cd0-e3f3-4383-bc66-d5ad482c9766" data-linktype="relative-path">drive
  letter</a></span> by default when moving the disk to another machine. Used
  only with the basic data partition type.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p> </p></div>