2.2.10 VOLUME_SPEC

The VOLUME_SPEC structure specifies a new volume to create. VOLUME_SPEC is a typedef of this structure.

 typedef struct volumespec {
   VOLUMETYPE type;
   VOLUMELAYOUT layout;
   REGIONTYPE partitionType;
   LONGLONG length;
   LONGLONG lastKnownState;
 } VOLUME_SPEC;

type: Specifies the volume type.

layout: Specifies the volume layout.

partitionType: Specifies the type of the underlying region, if this volume will be a partition.

length: Specifies the length of the volume in bytes. The volume length MUST always be a multiple of the disk sector size.

lastKnownState: Specifies the volume's last known modification sequence number.