13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Virtual</strong>DeviceType: A pointer to a VIRTUAL_STORAGE_TYPE structure that specifies thestorage device type of the virtual disk.<strong>Virtual</strong>Size: 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 thebacking file for the virtual hard disk.pDeviceName: A null-terminated wide-character string containing the name and device path ofthe disk device object for the volume where the virtual hard disk resides.<strong>Disk</strong>Flag: Type of virtual disk that uses values from the DEPENDENT_DISK_FLAG (section2.2.2.18.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 parentvirtual disk.2.2.2.19 IVdsOpenV<strong>Disk</strong> Data TypesThis section lists data types that are used exclusively by methods in the IVdsOpenV<strong>Disk</strong> interface.2.2.2.19.1 Enumerations2.2.2.19.1.1 ATTACH_VIRTUAL_DISK_FLAGThe ATTACH_VIRTUAL_DISK_FLAG enumeration defines options for attaching a virtual disk.typedef enum _ATTACH_VIRTUAL_DISK_FLAG{ATTACH_VIRTUAL_DISK_FLAG_NONE = 0x00000000,ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY = 0x00000001,ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER = 0x00000002,ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME = 0x00000004,ATTACH_VIRTUAL_DISK_FLAG_NO_LOCAL_HOST = 0x00000008} ATTACH_VIRTUAL_DISK_FLAG;ATTACH_VIRTUAL_DISK_FLAG_NONE: Indicates that no flag has been specified. This flagimplies that the operating system disk device created when the virtual disk is attached will beread\write.ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY: Attaches the operating system disk devicecreated when the virtual disk is attached as read-only.ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER: If this flag is set, no drive letters areassigned to the disk's volumes.ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME: MUST NOT be used by virtual diskproviders or their clients.ATTACH_VIRTUAL_DISK_FLAG_NO_LOCAL_HOST: Specifies that the operating system diskdevice created when the virtual disk is attached will not be exposed to the local system, butrather to a virtual machine running on the local system.[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 201190 / 360

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!