<div class="content" name="VOLUME_INFO" uuid="651f7cad-50c2-4800-b646-a0c47c138724"><p> </p><p>The VOLUME_INFO structure provides information about a <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_9a876829-33a1-4f0b-8b81-8552b7e5561c" data-linktype="relative-path">volume</a></span>.</p><dl>
<dd>
<div><pre> typedef struct volumeinfo {
   LdmObjectId id;
   VOLUMETYPE type;
   VOLUMELAYOUT layout;
   LONGLONG length;
   LdmObjectId fsId;
   unsigned long memberCount;
   VOLUMESTATUS status;
   LONGLONG lastKnownState;
   LdmObjectId taskId;
   unsigned long vflags;
 } VOLUME_INFO;
</pre></div>
</dd></dl><p><b>id:</b>  Specifies the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_aaaf2f1a-0b0a-487e-a0f0-c3510a6091b2" data-linktype="relative-path">object
identifier (OID)</a></span> for the volume.</p><p><b>type:</b>   Specifies the volume type.</p><p><b>layout:</b>  Specifies the volume
layout.</p><p><b>length:</b>  Specifies the length of the
volume in bytes.</p><p><b>fsId:</b>  Specifies the object
identifier for the volume&#39;s <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_528b06a4-e67c-43b3-a02d-8738858a691d" data-linktype="relative-path">file system</a></span>, which
defaults to 0 if no file system is present on the volume.</p><p><b>memberCount:</b>  Specifies the number
of regions that compose the volume.</p><p><b>status:</b>  Specifies the volume
status.</p><p><b>lastKnownState:</b>  Specifies the
volume&#39;s <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_5a574d80-6bdb-4fb0-a0dd-b0601d16b4cd" data-linktype="relative-path">modification sequence number</a></span>.</p><p><b>taskId:</b>  Specifies the task
identifier of the associated user request. If no request is made, the value is
0. For more information, see section <span><a href="d55c167e-c6ad-445f-951c-9ac2d0de7a11" data-linktype="relative-path">2.2.17</a></span>.</p><p><b>vflags:</b>  Specifies the bitmap of
volume <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_425bcab9-7911-4eae-b414-624b7a51eb5f" data-linktype="relative-path">flags</a></span>. The value of
this field is generated by combining zero or more of the following applicable
flags with a logical OR operation.</p><dl>
<dd>
<p>This field MUST be one of the following values.</p>
</dd>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>VOLUME_FORMAT_IN_PROGRESS 0x00000001</td>
  <td>Volume is currently being formatted.</td>
 </tr><tr>
  <td>VOLUME_HAS_PAGEFILE 0x00000004</td>
  <td>Volume contains the paging file.</td>
 </tr><tr>
  <td>VOLUME_IS_BOOT_VOLUME 0x00000100</td>
  <td>Volume contains the boot partition.</td>
 </tr><tr>
  <td>VOLUME_IS_RESTARTABLE 0x00000400</td>
  <td>The RestartVolume method can be successfully called on this volume.</td>
 </tr><tr>
  <td>VOLUME_IS_SYSTEM_VOLUME 0x00000800</td>
  <td>Volume contains the system directory.</td>
 </tr><tr>
  <td>VOLUME_HAS_RETAIN_PARTITION 0x00001000</td>
  <td>Volume has an underlying partition.</td>
 </tr><tr>
  <td>VOLUME_HAD_BOOT_INI 0x00002000</td>
  <td>Volume contained the Boot.ini file used when the operating system was last started.</td>
 </tr><tr>
  <td>VOLUME_CORRUPT 0x00004000</td>
  <td>Volume is corrupt.</td>
 </tr><tr>
  <td>VOLUME_HAS_CRASHDUMP 0x00008000</td>
  <td>Volume contains a crash dump file.</td>
 </tr><tr>
  <td>VOLUME_IS_CURR_BOOT_VOLUME 0x00010000</td>
  <td>Volume is the current boot volume.</td>
 </tr><tr>
  <td>VOLUME_HAS_HIBERNATION 0x00020000</td>
  <td>Volume contains a hibernation image.</td>
 </tr></tbody></table>
</dd></dl><p> </p></div>