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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

the compact operation has completed, the state then transitions back to <strong>VDS</strong>_VST_ATTACHED. TheIVdsOpenV<strong>Disk</strong> interface is then released, the Open<strong>Virtual</strong><strong>Disk</strong> object is removed, and the newstate is <strong>VDS</strong>_VST_ATTACHED_NOT_OPEN.Merge or Expand: Merge and expand operate on detached virtual disks. To merge or expand avirtual disk, the virtual disk object is first added to the service's list of objects and its state is set to<strong>VDS</strong>_VS_ADDED. Next IVdsV<strong>Disk</strong>::Open MUST be called against the virtual disk, and the statetransitions to <strong>VDS</strong>_VST_OPEN. When the merge or expand operation is initiated against the virtualdisk, the state of the virtual disk transitions to <strong>VDS</strong>_VST_MERGING or <strong>VDS</strong>_VST_EXPANDING. Oncethe merge or expand operation has completed, the state then transitions back to <strong>VDS</strong>_VST_OPEN.The IVdsOpenV<strong>Disk</strong> interface is then released, the Open<strong>Virtual</strong><strong>Disk</strong> object is removed, and thenew state is <strong>VDS</strong>_VST_ADDED.2.2.2.18.1.2 OPEN_VIRTUAL_DISK_FLAGThe OPEN_VIRTUAL_DISK_FLAG enumeration defines flags that are used to open a virtual diskobject.typedef enum _OPEN_VIRTUAL_DISK_FLAG{OPEN_VIRTUAL_DISK_FLAG_NONE = 0x0,OPEN_VIRTUAL_DISK_FLAG_NO_PARENTS = 0x1,OPEN_VIRTUAL_DISK_FLAG_BLANK_FILE = 0x2,OPEN_VIRTUAL_DISK_FLAG_BOOT_DRIVE = 0x4} OPEN_VIRTUAL_DISK_FLAG;OPEN_VIRTUAL_DISK_FLAG_NONE: Indicates that no flag has been specified.OPEN_VIRTUAL_DISK_FLAG_NO_PARENTS: Applicable only to differencing type virtualdisks. Opens the backing store without opening the backing store for any differencing chainparents.OPEN_VIRTUAL_DISK_FLAG_BLANK_FILE: Opens the backing store as an empty filewithout performing virtual disk verification.OPEN_VIRTUAL_DISK_FLAG_BOOT_DRIVE: This flag MUST not be used by <strong>VDS</strong> virtual diskproviders or their clients.2.2.2.18.1.3 DEPENDENT_DISK_FLAGThe DEPENDENT_DISK_FLAG enumeration contains virtual disk dependency information flags.typedef enum _DEPENDENT_DISK_FLAG{DEPENDENT_DISK_FLAG_NONE = 0x00000000,DEPENDENT_DISK_FLAG_MULT_BACKING_FILES = 0x00000001,DEPENDENT_DISK_FLAG_FULLY_ALLOCATED = 0x00000002,DEPENDENT_DISK_FLAG_READ_ONLY = 0x00000004,DEPENDENT_DISK_FLAG_REMOTE = 0x00000008,DEPENDENT_DISK_FLAG_SYSTEM_VOLUME = 0x00000010,DEPENDENT_DISK_FLAG_SYSTEM_VOLUME_PARENT = 0x00000020,DEPENDENT_DISK_FLAG_REMOVABLE = 0x00000040,DEPENDENT_DISK_FLAG_NO_DRIVE_LETTER = 0x00000080,DEPENDENT_DISK_FLAG_PARENT = 0x00000100,DEPENDENT_DISK_FLAG_NO_HOST_DISK = 0x00000200,DEPENDENT_DISK_FLAG_PERMANENT_LIFETIME = 0x00000400[<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, 201187 / 360

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

Saved successfully!

Ooh no, something went wrong!