<div class="content"><p> </p><p>The VOLUME_SPEC structure specifies a new <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_9a876829-33a1-4f0b-8b81-8552b7e5561c" data-linktype="relative-path">volume</a></span>
to create. VOLUME_SPEC is a typedef of this structure.</p><dl>
<dd>
<div><pre> typedef struct volumespec {
   VOLUMETYPE type;
   VOLUMELAYOUT layout;
   REGIONTYPE partitionType;
   LONGLONG length;
   LONGLONG lastKnownState;
 } VOLUME_SPEC;
</pre></div>
</dd></dl><p><b>type:</b>  Specifies the volume type.</p><p><b>layout:</b>  Specifies the volume
layout.</p><p><b>partitionType:</b>  Specifies the type
of the underlying region, if this volume will be a partition.</p><p><b>length:</b>  Specifies the length of the
volume in bytes. The volume length MUST always be a multiple of the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_c4133b2a-a990-4042-ba44-7fda3090f118" data-linktype="relative-path">disk</a></span>
<span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_b5bbe646-aa5f-4b4e-ae9e-bdae444cbfa2" data-linktype="relative-path">sector</a></span>
size.</p><p><b>lastKnownState:</b>  Specifies the
volume&#39;s last known <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_5a574d80-6bdb-4fb0-a0dd-b0601d16b4cd" data-linktype="relative-path">modification sequence number</a></span>.</p></div>