2.2.2.15.1.1 VDS_VOLUME_PROP2

The VDS_VOLUME_PROP2 structure provides the properties of a volume.

 typedef struct _VDS_VOLUME_PROP2 {
   VDS_OBJECT_ID id;
   VDS_VOLUME_TYPE type;
   VDS_VOLUME_STATUS status;
   VDS_HEALTH health;
   VDS_TRANSITION_STATE TransitionState;
   ULONGLONG ullSize;
   unsigned long ulFlags;
   VDS_FILE_SYSTEM_TYPE RecommendedFileSystemType;
   ULONG cbUniqueId;
   [string] WCHAR* pwszName;
   [size_is(cbUniqueId)] BYTE* pUniqueId;
 } VDS_VOLUME_PROP2,
  *PVDS_VOLUME_PROP2;

id: The VDS object ID of the volume object.

type: The value from the VDS_VOLUME_TYPE enumeration that defines the type of the volume.

status: The value from the VDS_VOLUME_STATUS enumeration that defines the status of the volume.

health: The value from the VDS_HEALTH enumeration that defines the health of the volume.

TransitionState: The value from the VDS_TRANSITION_STATE enumeration that defines the configuration stability of the volume.

ullSize: The size of the volume, in bytes.

ulFlags: The combination of any values, by using the bitwise OR operator, of volume flags from the VDS_VOLUME_FLAG enumeration.

RecommendedFileSystemType: The value from the VDS_FILE_SYSTEM_TYPE enumeration that defines the recommended file system type for the volume.

cbUniqueId: Count of bytes for pUniqueId.

pwszName: The null-terminated Unicode name that the operating system uses to identify the volume.

pUniqueId: A byte array containing the volume's unique id.