<div class="content" name="CREATE_PARTITION_PARAMETERS" uuid="bd6d633a-389c-4df4-81dc-49f4f584ce3f"><p>The <a href="1498b7be-4b6d-4fba-97e7-68ee4468d896" data-linktype="relative-path">CREATE_PARTITION_PARAMETERS</a>
structure provides information about <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2f24f458-7d39-47a2-93f7-de433ea85c75" data-linktype="relative-path">partition</a> 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 <a href="310c0f6a-a0ef-4b63-933e-c4b1a7ecaf37" data-linktype="relative-path">VDS_PARTITION_STYLE</a>
enumeration that describes the <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_c4133b2a-a990-4042-ba44-7fda3090f118" data-linktype="relative-path">disk</a> partition format.</p><p><b>MbrPartInfo:</b>  Contains information
for an <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_b251c771-5ccf-40f2-b98d-0119db210b4b" data-linktype="relative-path">MBR</a> partition.</p><p><b>partitionType:</b>  The byte value that
indicates the <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_674598d2-080c-4dbf-b12e-cc873da21b54" data-linktype="relative-path">partition type</a>
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 <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2fc866b7-7f83-479a-ad4e-fdffcbcff989" data-linktype="relative-path">GPT</a> partition.</p><p><b>partitionType:</b>  A <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_f49694cc-c350-462d-ab8e-816f0103c6c1" data-linktype="relative-path">GUID</a> 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>GPT_ATTRIBUTE_PLATFORM_REQUIRED 0x0000000000000001</td>
  <td>A partition is required for the platform to function properly.&lt;25&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 computer. Used only with the basic data partition type.</td>
 </tr></tbody></table>
</dd></dl><p><b>name:</b>  The null-terminated Unicode
name of the partition.</p></div>