2.2.2.19.2.1 VDS_VDISK_PROPERTIES
The VDS_VDISK_PROPERTIES structure defines the properties of a virtual disk.
-
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;
Id: A unique VDS-specific session identifier of the disk.
State: A VDS_VDISK_STATE enumeration value that specifies the virtual disk state.
VirtualDeviceType: A pointer to a VIRTUAL_STORAGE_TYPE structure that specifies the storage device type of the virtual disk.
VirtualSize: The size, in bytes, of the virtual disk.
PhysicalSize: The on-disk size, in bytes, of the virtual hard disk backing file.
pPath: A null-terminated wide-character string containing the name and directory path of the backing file for the virtual hard disk.
pDeviceName: 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.
DiskFlag: Type of virtual disk that uses values from the DEPENDENT_DISK_FLAG (section 2.2.2.19.1.3) enumeration.
bIsChild: A Boolean value that specifies if the virtual disk is a child virtual disk.
pParentPath: A null-terminated wide-character string containing an optional path to the parent virtual disk.