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.

parent disk to be fully functional. A differencing disk must be created using theCREATE_VIRTUAL_DISK_FLAG_NONE flag. The parent disk can be created using either theCREATE_VIRTUAL_DISK_FLAG_NONE orCREATE_VIRTUAL_DISK_FLAG_FULL_PHYSICAL_ALLOCATION flag. The parent disk can beanother differencing disk.pSourcePath: A null-terminated wide-character string containing an optional path to a sourceof data to be copied to the new virtual hard disk. When pSourcePath is specified, data fromthe input virtual disk file is copied block for block from the input virtual disk file to the createdvirtual disk file. There is no parent-child relationship established.2.2.2.18 IVdsV<strong>Disk</strong> Data TypesThis section lists data types that are used exclusively by methods in the IVdsV<strong>Disk</strong> interface.2.2.2.18.1 Enumerations2.2.2.18.1.1 <strong>VDS</strong>_VDISK_STATEThe <strong>VDS</strong>_VDISK_STATE enumeration describes the state of a virtual disk.typedef enum{<strong>VDS</strong>_VST_UNKNOWN = 0,<strong>VDS</strong>_VST_ADDED = 1,<strong>VDS</strong>_VST_OPEN = 2,<strong>VDS</strong>_VST_ATTACH_PENDING = 3,<strong>VDS</strong>_VST_ATTACHED_NOT_OPEN = 4,<strong>VDS</strong>_VST_ATTACHED = 5,<strong>VDS</strong>_VST_DETACH_PENDING = 6,<strong>VDS</strong>_VST_COMPACTING = 7,<strong>VDS</strong>_VST_MERGING = 8,<strong>VDS</strong>_VST_EXPANDING = 9,<strong>VDS</strong>_VST_DELETED = 10,<strong>VDS</strong>_VST_MAX = 11} <strong>VDS</strong>_VDISK_STATE;<strong>VDS</strong>_VST_UNKNOWN: <strong>VDS</strong> was not able to identify the disk's current status.<strong>VDS</strong>_VST_ADDED: The virtual disk is added to the service's list of objects.<strong>VDS</strong>_VST_OPEN: The virtual disk has been added to the service's list of objects, and the virtualdisk file has been opened using IVdsV<strong>Disk</strong>::Open.<strong>VDS</strong>_VST_ATTACH_PENDING: The virtual disk has been added to the service's list of objects,the virtual disk file has been opened using IVdsV<strong>Disk</strong>::Open, and the virtual disk is in theprocess of being attached.<strong>VDS</strong>_VST_ATTACHED_NOT_OPEN: The virtual disk has been added to the service's list ofobjects and the virtual disk is attached, but the virtual disk file is not open.<strong>VDS</strong>_VST_ATTACHED: The virtual disk has been added to the service's list of objects, thevirtual disk file has been opened using IVdsV<strong>Disk</strong>::Open, and the virtual disk is attached.[<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, 201185 / 360

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

Saved successfully!

Ooh no, something went wrong!