<div class="content" name="CLUS_PARTITION_INFO_EX" uuid="33672b36-93df-4173-a589-1071bd12ad1b"><p>The <b>CLUS_PARTITION_INFO_EX</b> data structure is the
format in which a property <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_7bc13a0c-ca1a-4c78-b1bf-67e243f778bb" data-linktype="relative-path">value</a></span> of syntax <b>CLUSPROP_SYNTAX_PARTITION_INFO_EX</b>
(section <span><a href="7ea3a0e0-d3b9-43e8-85d8-263fff3499da" data-linktype="relative-path">2.2.2.3</a></span>), is
written as a property value, as specified in section <span><a href="de73d6f9-bfdf-47ef-b008-b2da17c1a073" data-linktype="relative-path">2.2.3.10.1</a></span>. <b>CLUS_PARTITION_INFO_EX</b>
contains data about a disk <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_2f24f458-7d39-47a2-93f7-de433ea85c75" data-linktype="relative-path">partition</a></span> that is
configured with a <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_e88c8bcf-42a7-41c6-b59a-e959ae01048d" data-linktype="relative-path">basic volume</a></span>.</p><p><b>CLUS_PARTITION_INFO_EX</b> is a custom-marshaled data
structure that has fields as follows.</p><table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">dwFlags</td>
 </tr>
 <tr>
  <td colspan="32">szDeviceName (520 bytes)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">szVolumeLabel (520 bytes)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">dwSerialNumber</td>
 </tr>
 <tr>
  <td colspan="32">rgdwMaximumComponentLength</td>
 </tr>
 <tr>
  <td colspan="32">dwFileSystemFlags</td>
 </tr>
 <tr>
  <td colspan="32">szFileSystem (64 bytes)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">TotalSizeInBytes</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">FreeSizeInBytes</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">DeviceNumber</td>
 </tr>
 <tr>
  <td colspan="32">PartitionNumber</td>
 </tr>
 <tr>
  <td colspan="32">VolumeGuid (16 bytes)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table><p><b>dwFlags (4 bytes): </b>An unsigned 32-bit integer.
Indicates <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_41441ad6-7a82-4a41-a89c-7e4b8d784ad8" data-linktype="relative-path">characteristics</a></span>
about the partition. Can be 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>CLUSPROP_PIFLAG_STICKY 0x00000001</td>
  <td>The volume is configured with a drive letter. Can be combined with any other flag.</td>
 </tr><tr>
  <td>CLUSPROP_PIFLAG_REMOVABLE 0x00000002</td>
  <td>The partition is formatted with a file system that is removable by the cluster software.</td>
 </tr><tr>
  <td>CLUSPROP_PIFLAG_USABLE 0x00000004</td>
  <td>The partition is formatted with a file system that is usable by the cluster software. This flag SHOULD be set if and only if the partition is formatted with the NTFS file system. Can be combined with any other flag, but MUST be set if CLUSPROP_PIFLAG_DEFAULT_QUORUM is set.</td>
 </tr><tr>
  <td>CLUSPROP_PIFLAG_DEFAULT_QUORUM 0x00000008</td>
  <td>Indicates that the smallest NTFS partition MUST be at least 50,000,000 bytes in size. Can be combined with any other flag, but CLUSPROP_PIFLAG_USABLE MUST also be set if this flag is set.</td>
 </tr><tr>
  <td>CLUSPROP_PIFLAG_USABLE_FOR_CSV 0x00000010</td>
  <td>This flag is set if and only if the partition is formatted with NTFS/ReFS. Can be combined with any other flag.</td>
 </tr><tr>
  <td>CLUSPROP_PIFLAG_ENCRYPTION_ENABLED 0x00000020</td>
  <td>Encryption is enabled and this flag is used when ENCRYPTION_ENABLED flag is set in EncryptionFlags field.</td>
 </tr><tr>
  <td>CLUSPROP_PIFLAG_RAW 0x00000040</td>
  <td>The partition is a raw volume and is not formatted with a file system.</td>
 </tr><tr>
  <td>CLUSPROP_PIFLAG_UNKNOWN 0x80000000</td>
  <td>Partition is of unknown file system type.</td>
 </tr></tbody></table>
</dd></dl><p><b>szDeviceName (520 bytes): </b>A fixed-length
buffer 520 bytes long that contains a null-terminated <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_b069acb4-e364-453e-ac83-42d469bb339e" data-linktype="relative-path">Unicode string</a></span> based
on the following rules:</p><ul><li><p><span><span>  </span></span>If
the volume has a drive letter and the state of the designated storage <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_94e97f15-2f1a-406f-a740-607bb97761ec" data-linktype="relative-path">resource</a></span>
is ClusterResourceOnline, the <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_434b0234-e970-4e8c-bdfa-e16a30d96703" data-linktype="relative-path">server</a></span> MUST return
the drive letter of the volume followed by a <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_c305d0ab-8b94-461a-bd76-13b40cb8c4d8" data-linktype="relative-path">Unicode</a></span> &#39;:&#39;.</p>
</li><li><p><span><span>  </span></span>If
the volume is not configured with a drive letter and the resource is online,
the server MUST return a string of the form &#34;\\?\Volume{GGG}&#34; where
GGG is the identifier of the volume.</p>
</li><li><p><span><span>  </span></span>If
the resource is offline, the server MUST return a string of the form
&#34;\\?\GLOBALROOT\Device\HarddiskNNN\PartitionYYY&#34;, where NNN is the <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_7e189ef6-060e-489a-8ef0-b9ec7fcc4a79" data-linktype="relative-path">disk
number</a></span> and YYY is the partition number (<span><a href="../ms-dmrp/19a16e20-072f-4d74-a245-ce4df2f1ecdd" data-linktype="relative-path">[MS-DMRP]</a></span>).</p>
<p>Note: If the resource is offline, the remaining
fields in this structure are left unfilled and MUST NOT be considered valid
data.</p>
</li></ul><p><b>szVolumeLabel (520 bytes): </b>A fixed-length
buffer 520 bytes long that contains the file system label. This field is a
null-terminated Unicode string.</p><p><b>dwSerialNumber (4 bytes): </b>An unsigned 32-bit
integer. This is the serial number that is assigned by the operating system
when the partition was formatted.</p><p><b>rgdwMaximumComponentLength (4 bytes): </b>An
unsigned 32-bit integer. A value specifying the maximum length, in characters,
of a file name component that is supported by the specified file system. A file
name component is the portion of a file name between &#34;\&#34; characters. </p><p><b>dwFileSystemFlags (4 bytes): </b>An unsigned
32-bit integer that identifies the <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_bafb2696-b639-45eb-9d5a-95d905a2262d" data-linktype="relative-path">file system flags</a></span>. </p><p><b>szFileSystem (64 bytes): </b>A fixed-length buffer
64 bytes long that contains a null-terminated Unicode string representing the
name of the file system, as specified in [MS-DMRP]. </p><p><b>TotalSizeInBytes (8 bytes): </b>An unsigned 64-bit
integer specifying the total size, in bytes, of the volume.</p><p><b>FreeSizeInBytes (8 bytes): </b>An unsigned 64-bit
integer specifying the size, in bytes, of the unallocated space on the volume.</p><p><b>DeviceNumber (4 bytes): </b>An unsigned 32-bit
integer indicating the disk number.</p><p><b>PartitionNumber (4 bytes): </b>An unsigned 32-bit
integer indicating the partition number, as specified in [MS-DMRP].</p><p><b>VolumeGuid (16 bytes): </b>A 128-bit value that
contains the <span><a href="694e5e7a-5833-4f3d-b47e-323ee1d452c2#gt_892a6724-e635-4ba0-8b8a-d6368f166221" data-linktype="relative-path">volume identifier</a></span>.</p></div>