<div class="content" name="VDS_VDISK_PROPERTIES" uuid="12af17ca-9ffc-4a4b-abab-0f029f8e5380"><p>The VDS_VDISK_PROPERTIES structure defines the properties of
a <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_1fbc35d5-bcf5-4ce7-9449-4197a1671440" data-linktype="relative-path">virtual disk</a>.</p><dl>
<dd>
<div><pre> typedef struct _VDS_VDISK_PROPERTIES {
   VDS_OBJECT_ID Id;
   VDS_VDISK_STATE State;
   VIRTUAL_STORAGE_TYPE VirtualDeviceType;
   ULONGLONG VirtualSize;
   ULONGLONG PhysicalSize;
   [string] LPWSTR pPath;
   [string] LPWSTR pDeviceName;
   DEPENDENT_DISK_FLAG DiskFlag;
   BOOL bIsChild;
   [string] LPWSTR pParentPath;
 } VDS_VDISK_PROPERTIES,
  *PVDS_VDISK_PROPERTIES;
</pre></div>
</dd></dl><p><b>Id:</b>  A unique VDS-specific session
identifier of the <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_c4133b2a-a990-4042-ba44-7fda3090f118" data-linktype="relative-path">disk</a>.</p><p><b>State:</b>  A <a href="d1ff9fd9-9527-4936-91c2-292bd9d1ff17" data-linktype="relative-path">VDS_VDISK_STATE</a>
enumeration value that specifies the virtual disk state.</p><p><b>VirtualDeviceType:</b>  A pointer to a <a href="83aab33f-b675-4b22-8c5f-fd6c3ed27df2" data-linktype="relative-path">VIRTUAL_STORAGE_TYPE</a>
structure that specifies the storage device type of the virtual disk.</p><p><b>VirtualSize:</b>  The size, in bytes, of
the virtual disk.</p><p><b>PhysicalSize:</b>  The on-disk size, in
bytes, of the virtual <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_511ca852-83e7-4a0c-8081-06e36436876b" data-linktype="relative-path">hard
disk</a> backing file.</p><p><b>pPath:</b>  A null-terminated
wide-character string containing the name and directory path of the backing
file for the virtual hard disk.</p><p><b>pDeviceName:</b>  A null-terminated
wide-character string containing the name and device path of the disk device
object for the volume where the virtual hard disk resides.</p><p><b>DiskFlag:</b>  Type of virtual disk that
uses values from the <a href="61ae3a8f-a7e1-40e6-90e7-b694532ed60f" data-linktype="relative-path">DEPENDENT_DISK_FLAG (section 2.2.2.19.1.3)</a>
enumeration.</p><p><b>bIsChild:</b>  A Boolean value that
specifies if the virtual disk is a child virtual disk.</p><p><b>pParentPath:</b>  A null-terminated
wide-character string containing an optional <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2cd71385-2d9c-4ab8-bf4a-7b258816d613" data-linktype="relative-path">path</a> to the parent virtual
disk.</p></div>