<div class="content" name="REGION_INFO" uuid="5b6f15d9-489d-404c-88e8-64569315c65c"><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>PARTITION_ENTRY_UNUSED 0x00</td>
  <td>An unused entry partition.</td>
 </tr><tr>
  <td>PARTITION_EXTENDED 0x05</td>
  <td>An extended partition.</td>
 </tr><tr>
  <td>PARTITION_FAT_12 0x01</td>
  <td>A FAT12 file system partition.</td>
 </tr><tr>
  <td>PARTITION_FAT_16 0x04</td>
  <td>A FAT16 file system partition.</td>
 </tr><tr>
  <td>PARTITION_FAT32 0x0B</td>
  <td>A FAT32 file system partition.</td>
 </tr><tr>
  <td>PARTITION_IFS 0x07</td>
  <td>An installable file system (IFS) partition.</td>
 </tr><tr>
  <td>PARTITION_LDM 0x42</td>
  <td>An LDM partition.</td>
 </tr><tr>
  <td>PARTITION_NTFT 0x80</td>
  <td>A Windows NT operating system fault-tolerant (FT) partition.</td>
 </tr><tr>
  <td>VALID_NTFT 0xC0</td>
  <td>A valid Windows NT FT partition. The high bit of a partition type code indicates that a partition is part of an NT FT mirror or striped array.</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>FALSE 0</td>
  <td>Region is an inactive partition.</td>
 </tr><tr>
  <td>TRUE 1</td>
  <td>Region is an active partition.</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>REGION_FORMAT_IN_PROGRESS 0x00000001</td>
  <td>Region is currently being formatted.</td>
 </tr><tr>
  <td>REGION_IS_SYSTEM_PARTITION 0x00000002</td>
  <td>Region contains the system directory. The system directory has the operating system installed to it. This is not necessarily the &#34;active&#34; partition that contains the boot loader file.</td>
 </tr><tr>
  <td>REGION_HAS_PAGEFILE 0x00000004</td>
  <td>Region contains the paging file.</td>
 </tr><tr>
  <td>REGION_HAD_BOOT_INI 0x00000040</td>
  <td>Boot file 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.</td>
 </tr></tbody></table>
</dd></dl><p><b>currentPartitionNumber:</b>   Number of
the partition on the region, if any.</p></div>