The VOLUME_INFO structure provides information about a volume.
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;
id: Specifies the object identifier (OID) for the volume.
type: Specifies the volume type.
layout: Specifies the volume layout.
length: Specifies the length of the volume in bytes.
fsId: Specifies the object identifier for the volume's file system, which defaults to 0 if no file system is present on the volume.
memberCount: Specifies the number of regions that compose the volume.
status: Specifies the volume status.
lastKnownState: Specifies the volume's modification sequence number.
taskId: Specifies the task identifier of the associated user request. If no request is made, the value is 0. For more information, see section 2.2.17.
vflags: Specifies the bitmap of volume flags. The value of this field is generated by combining zero or more of the following applicable flags with a logical OR operation.
This field MUST be one of the following values.
Volume is currently being formatted.
Volume contains the paging file.
Volume contains the boot partition.
The RestartVolume method can be successfully called on this volume.
Volume contains the system directory.
Volume has an underlying partition.
Volume contained the Boot.ini file used when the operating system was last started.
Volume is corrupt.
Volume contains a crash dump file.
Volume is the current boot volume.
Volume contains a hibernation image.