<div class="content"><p> </p><p>The <span><a href="1498b7be-4b6d-4fba-97e7-68ee4468d896" data-linktype="relative-path">CREATE_PARTITION_PARAMETERS</a></span>
structure provides information about <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2f24f458-7d39-47a2-93f7-de433ea85c75" data-linktype="relative-path">partition</a></span>
properties.</p><dl>
<dd>
<div><pre> typedef struct _CREATE_PARTITION_PARAMETERS {
   VDS_PARTITION_STYLE style;
   [switch_is(style)] union {
     [case(VDS_PST_MBR)] 
       struct {
       byte partitionType;
       boolean bootIndicator;
     } MbrPartInfo;
     [case(VDS_PST_GPT)] 
       struct {
       GUID partitionType;
       GUID partitionId;
       ULONGLONG attributes;
       WCHAR name[24];
     } GptPartInfo;
     [default]       ;
   };
 } CREATE_PARTITION_PARAMETERS;
</pre></div>
</dd></dl><p><b>style:</b>  A value from the <span><a href="310c0f6a-a0ef-4b63-933e-c4b1a7ecaf37" data-linktype="relative-path">VDS_PARTITION_STYLE</a></span>
enumeration that describes the <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_c4133b2a-a990-4042-ba44-7fda3090f118" data-linktype="relative-path">disk</a></span> partition
format.</p><p><b>MbrPartInfo:</b>  Contains information
for an <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_b251c771-5ccf-40f2-b98d-0119db210b4b" data-linktype="relative-path">MBR</a></span> partition.</p><p><b>partitionType:</b>  The byte value that
indicates the <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_674598d2-080c-4dbf-b12e-cc873da21b54" data-linktype="relative-path">partition type</a></span> to
create.</p><p><b>bootIndicator:</b>  A Boolean value that
indicates whether the partition is bootable. </p><p><b>GptPartInfo:</b>  Contains information
about a <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2fc866b7-7f83-479a-ad4e-fdffcbcff989" data-linktype="relative-path">GPT</a></span> partition.</p><p><b>partitionType:</b>  A <span><a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_f49694cc-c350-462d-ab8e-816f0103c6c1" data-linktype="relative-path">GUID</a></span>
that indicates the partition type to create.<a id="Appendix_A_Target_24"></a><a aria-label="Product behavior note 24" href="6b2552ee-ba27-409f-99a8-18841573327a#Appendix_A_24" data-linktype="relative-path">&lt;24&gt;</a></p><p><b>partitionId:</b>  The GUID of the
partition.</p><p><b>attributes:</b>  A bitwise OR operator
of attributes that is used to create the partition; 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>A partition is required for the platform to function
  properly.<a id="Appendix_A_Target_25"></a><a aria-label="Product behavior note 25" href="6b2552ee-ba27-409f-99a8-18841573327a#Appendix_A_25" data-linktype="relative-path">&lt;25&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 partition type.</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 computer. Used
  only with the basic data partition type.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p><b>name:</b>  The null-terminated Unicode
name of the partition.</p></div>