2.2.1.3.20 VDS_PARTITION_PROP

The VDS_PARTITION_PROP structure provides information about partition properties.

 typedef struct _VDS_PARTITION_PROP {
   VDS_PARTITION_STYLE PartitionStyle;
   unsigned long ulFlags;
   unsigned long ulPartitionNumber;
   ULONGLONG ullOffset;
   ULONGLONG ullSize;
   [switch_is(PartitionStyle)] union {
     [case(VDS_PST_MBR)] 
       VDS_PARTITION_INFO_MBR Mbr;
     [case(VDS_PST_GPT)] 
       VDS_PARTITION_INFO_GPT Gpt;
     [default]       ;
   };
 } VDS_PARTITION_PROP;

PartitionStyle: The value from the VDS_PARTITION_STYLE enumeration that describes the partition format of the disk where the partition resides.

ulFlags: The combination of any values, by using the bitwise OR operator, from the VDS_PARTITION_FLAG enumeration describing the partition.

ulPartitionNumber: The one-based index number of the partition that the operating system assigns.

ullOffset: The byte offset of the partition from the beginning of the disk.

ullSize: The size of the partition, in bytes.

Mbr: A VDS_PARTITION_INFO_MBR structure that describes the MBR partition.

Gpt: A VDS_PARTITION_INFO_GPT structure that describes the GPT partition.