<div class="content"><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>
  <p>VOLUME_FORMAT_IN_PROGRESS</p>
  <p>0x00000001</p>
  </td>
  <td>
  <p>Volume is currently being formatted.</p>
  </td>
 </tr><tr>
  <td>
  <p>VOLUME_HAS_PAGEFILE</p>
  <p>0x00000004</p>
  </td>
  <td>
  <p>Volume 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>VOLUME_IS_BOOT_VOLUME</p>
  <p>0x00000100</p>
  </td>
  <td>
  <p>Volume contains the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_ad3783b1-c0fd-46e0-9910-4a16bc6c9d00" data-linktype="relative-path">boot partition</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>VOLUME_IS_RESTARTABLE</p>
  <p>0x00000400</p>
  </td>
  <td>
  <p>The <span><a href="aa9eaa1d-7fa7-4733-b5ac-61586b118a2b" data-linktype="relative-path">RestartVolume</a></span>
  method can be successfully called on this volume.</p>
  </td>
 </tr><tr>
  <td>
  <p>VOLUME_IS_SYSTEM_VOLUME</p>
  <p>0x00000800</p>
  </td>
  <td>
  <p>Volume contains the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_6a25fd9f-d620-491c-88c8-fde36bc070c5" data-linktype="relative-path">system directory</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>VOLUME_HAS_RETAIN_PARTITION</p>
  <p>0x00001000</p>
  </td>
  <td>
  <p>Volume has an underlying partition.</p>
  </td>
 </tr><tr>
  <td>
  <p>VOLUME_HAD_BOOT_INI</p>
  <p>0x00002000</p>
  </td>
  <td>
  <p>Volume contained the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_0b9b79b8-fa7d-464b-91f4-623b6e8cfbe6" data-linktype="relative-path">Boot.ini</a></span> file used
  when the operating system was last started.</p>
  </td>
 </tr><tr>
  <td>
  <p>VOLUME_CORRUPT</p>
  <p>0x00004000</p>
  </td>
  <td>
  <p>Volume is corrupt.</p>
  </td>
 </tr><tr>
  <td>
  <p>VOLUME_HAS_CRASHDUMP</p>
  <p>0x00008000</p>
  </td>
  <td>
  <p>Volume contains a <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_59753484-3bf5-4af6-9994-0eefce680541" data-linktype="relative-path">crash dump file</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>VOLUME_IS_CURR_BOOT_VOLUME</p>
  <p>0x00010000</p>
  </td>
  <td>
  <p>Volume is the current <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_92dc821b-aa52-41ad-802c-26adbab4e378" data-linktype="relative-path">boot volume</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>VOLUME_HAS_HIBERNATION</p>
  <p>0x00020000</p>
  </td>
  <td>
  <p>Volume contains a <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_27dfa74e-d65e-4392-b48a-b1b87af75845" data-linktype="relative-path">hibernation image</a></span>.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p> </p></div>