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.

2.2.1.2.21 <strong>VDS</strong>_LUN_RESERVE_MODEThe <strong>VDS</strong>_LUN_RESERVE_MODE enumeration defines the sharing mode of a disk.typedef enum _<strong>VDS</strong>_LUN_RESERVE_MODE{<strong>VDS</strong>_LRM_NONE = 0x00000000,<strong>VDS</strong>_LRM_EXCLUSIVE_RW = 0x00000001,<strong>VDS</strong>_LRM_EXCLUSIVE_RO = 0x00000002,<strong>VDS</strong>_LRM_SHARED_RO = 0x00000003,<strong>VDS</strong>_LRM_SHARED_RW = 0x00000004} <strong>VDS</strong>_LUN_RESERVE_MODE;<strong>VDS</strong>_LRM_NONE: The disk has no assigned sharing mode.<strong>VDS</strong>_LRM_EXCLUSIVE_RW: The disk is reserved for exclusive access.<strong>VDS</strong>_LRM_EXCLUSIVE_RO: The disk is available for read access.<strong>VDS</strong>_LRM_SHARED_RO: The disk is available for shared read access.<strong>VDS</strong>_LRM_SHARED_RW: The disk is available for shared read/write access.2.2.1.2.22 <strong>VDS</strong>_VOLUME_STATUSThe <strong>VDS</strong>_VOLUME_STATUS enumeration defines the set of object status values for a volume.typedef enum _<strong>VDS</strong>_VOLUME_STATUS{<strong>VDS</strong>_VS_UNKNOWN = 0x00000000,<strong>VDS</strong>_VS_ONLINE = 0x00000001,<strong>VDS</strong>_VS_NO_MEDIA = 0x00000003,<strong>VDS</strong>_VS_OFFLINE = 0x00000004,<strong>VDS</strong>_VS_FAILED = 0x00000005} <strong>VDS</strong>_VOLUME_STATUS;<strong>VDS</strong>_VS_UNKNOWN: The status of the volume is unknown.<strong>VDS</strong>_VS_ONLINE: The volume is available.<strong>VDS</strong>_VS_NO_MEDIA: The volume belongs to a removable media device, such as a CD-ROM orDVD-ROM drive, but the device does not currently have media in the drive.<strong>VDS</strong>_VS_OFFLINE: When this status is set, it (1) indicates that no path names for the volumeare available for use by applications, and (2) prevents READ and READ|WRITE handles to thevolume device being opened. When a volume transitions to this state, calls to open a newhandle against the volume device fail, but any in-progress I/O against the volume willcomplete before all I/O to the volume is stopped.<strong>VDS</strong>_VS_FAILED: The volume is unavailable.2.2.1.2.23 <strong>VDS</strong>_VOLUME_FLAGThe <strong>VDS</strong>_VOLUME_FLAG enumeration defines the set of valid flags for a volume object.[<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, 201140 / 360

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

Saved successfully!

Ooh no, something went wrong!