<div class="content"><p> </p><p>The REGION_INFO structure provides information about a
region.</p><dl>
<dd>
<div><pre> struct regioninfo {
   LdmObjectId id;
   LdmObjectId diskId;
   LdmObjectId volId;
   LdmObjectId fsId;
   LONGLONG start;
   LONGLONG length;
   REGIONTYPE regionType;
   unsigned long partitionType;
   boolean isActive;
   REGIONSTATUS status;
   hyper lastKnownState;
   LdmObjectId taskId;
   unsigned long rflags;
   unsigned long currentPartitionNumber;
 };
 typedef struct regioninfo REGION_INFO;
</pre></div>
</dd></dl><p><b>id:</b>  Specifies the region&#39;s OID.</p><p><b>diskId:</b>  Specifies the OID of the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_c4133b2a-a990-4042-ba44-7fda3090f118" data-linktype="relative-path">disk</a></span>
on which the region resides.</p><p><b>volId:</b>  Specifies the OID of the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_9a876829-33a1-4f0b-8b81-8552b7e5561c" data-linktype="relative-path">volume</a></span>
on the region, if any. The value of this field is nonzero if it is valid.</p><p><b>fsId:</b>  Specifies the OID of the file
system on the region, if any. The value of this field is nonzero if it is
valid.</p><p><b>start:</b>  Byte offset of the region on
the disk.</p><p><b>length:</b>  Length of the region in
bytes.</p><p><b>regionType:</b>  Value from the <span><a href="27b250fb-e8f3-425c-9688-a55b97e4ecf0" data-linktype="relative-path">REGIONTYPE</a></span>
enumeration that indicates the region type.</p><p><b>partitionType:</b>  Type of the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_2f24f458-7d39-47a2-93f7-de433ea85c75" data-linktype="relative-path">partition</a></span>
on the region. This field contains one 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>PARTITION_ENTRY_UNUSED</p>
  <p>0x00</p>
  </td>
  <td>
  <p> An unused entry partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>PARTITION_EXTENDED</p>
  <p>0x05</p>
  </td>
  <td>
  <p> An extended partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>PARTITION_FAT_12</p>
  <p>0x01</p>
  </td>
  <td>
  <p> A <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_5173ca58-7cec-499e-ae5a-c07d81ff5676" data-linktype="relative-path">FAT12 file system</a></span>
  partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>PARTITION_FAT_16</p>
  <p>0x04</p>
  </td>
  <td>
  <p> A FAT16 file system partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>PARTITION_FAT32</p>
  <p>0x0B</p>
  </td>
  <td>
  <p> A <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_6508b992-aee3-43e5-93a7-1de08f7e28d5" data-linktype="relative-path">FAT32 file system</a></span>
  partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>PARTITION_IFS</p>
  <p>0x07</p>
  </td>
  <td>
  <p> An installable file system (IFS) partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>PARTITION_LDM</p>
  <p>0x42</p>
  </td>
  <td>
  <p> An <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_2624008c-5791-49f7-868e-29f2d8f9be3f" data-linktype="relative-path">LDM</a></span> partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>PARTITION_NTFT</p>
  <p>0x80</p>
  </td>
  <td>
  <p> A Windows NT operating system <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_98c2ba19-d0f7-4db1-b6c1-4e7323cc5bc0" data-linktype="relative-path">fault-tolerant
  (FT)</a></span> partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>VALID_NTFT</p>
  <p>0xC0</p>
  </td>
  <td>
  <p> A valid Windows NT FT partition.</p>
  <p> The high bit of a partition type code indicates that
  a partition is part of an NT FT mirror or striped array.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p><b>isActive:</b>  Boolean value that
indicates whether the region is an <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_37f8831a-72a8-4808-9a39-6949f7172de9" data-linktype="relative-path">active partition</a></span>.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>FALSE</p>
  <p>0</p>
  </td>
  <td>
  <p>Region is an inactive partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>TRUE</p>
  <p>1</p>
  </td>
  <td>
  <p>Region is an active partition.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p><b>status:</b>   Value from the <span><a href="cea81200-e262-4b51-8624-990e4d36e799" data-linktype="relative-path">REGIONSTATUS</a></span>
enumeration that indicates the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_a6ad00bd-9921-4266-9410-fe2325bbd503" data-linktype="relative-path">region&#39;s status</a></span>.</p><p><b>lastKnownState:</b>  <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_5a574d80-6bdb-4fb0-a0dd-b0601d16b4cd" data-linktype="relative-path">Modification
sequence number</a></span> of the region. </p><p><b>taskId:</b>   This <span><a href="eec70191-9e68-471a-9974-9f62947291ef" data-linktype="relative-path">LdmObjectId</a></span>
is the task identifier of the associated user request. If no request is made,
the value is 0. For more information about this task identifier, see section <span><a href="d55c167e-c6ad-445f-951c-9ac2d0de7a11" data-linktype="relative-path">2.2.17</a></span>.</p><p><b>rflags:</b>  Bitmap of <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_0891007f-6974-44c8-94e3-22771c5a1bc3" data-linktype="relative-path">region
flags</a></span>. The value of this field is generated by combining zero or more
of the applicable <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_425bcab9-7911-4eae-b414-624b7a51eb5f" data-linktype="relative-path">flags</a></span> with a logical
OR operation.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>REGION_FORMAT_IN_PROGRESS</p>
  <p>0x00000001</p>
  </td>
  <td>
  <p>Region is currently being formatted.</p>
  </td>
 </tr><tr>
  <td>
  <p>REGION_IS_SYSTEM_PARTITION</p>
  <p>0x00000002</p>
  </td>
  <td>
  <p>Region contains the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_6a25fd9f-d620-491c-88c8-fde36bc070c5" data-linktype="relative-path">system directory</a></span>.
  The system directory has the operating system installed to it. This is not
  necessarily the &#34;active&#34; partition that contains the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_d266f686-e53f-46d7-8376-8ab26ece4e08" data-linktype="relative-path">boot
  loader file</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>REGION_HAS_PAGEFILE</p>
  <p>0x00000004</p>
  </td>
  <td>
  <p>Region contains the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_d359150b-3c93-451c-a6b4-e77255c9f212" data-linktype="relative-path">paging file</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>REGION_HAD_BOOT_INI</p>
  <p>0x00000040</p>
  </td>
  <td>
  <p><span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_0ed4d5c2-483b-4209-9db9-6ba8d6650574" data-linktype="relative-path">Boot file</a></span> was
  located in this region when the operating system was last started. This is
  the &#34;active&#34; partition that contains the boot loader file.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p><b>currentPartitionNumber:</b>   Number of
the partition on the region, if any.</p></div>