2.2.1.2.21 VDS_LUN_RESERVE_MODE

The VDS_LUN_RESERVE_MODE enumeration defines the sharing mode of a disk.

 typedef enum _VDS_LUN_RESERVE_MODE
 {
   VDS_LRM_NONE = 0x00000000,
   VDS_LRM_EXCLUSIVE_RW = 0x00000001,
   VDS_LRM_EXCLUSIVE_RO = 0x00000002,
   VDS_LRM_SHARED_RO = 0x00000003,
   VDS_LRM_SHARED_RW = 0x00000004
 } VDS_LUN_RESERVE_MODE;

VDS_LRM_NONE:  The disk has no assigned sharing mode.

VDS_LRM_EXCLUSIVE_RW:  The disk is reserved for exclusive access.

VDS_LRM_EXCLUSIVE_RO:  The disk is available for read access.

VDS_LRM_SHARED_RO:  The disk is available for shared read access.

VDS_LRM_SHARED_RW:  The disk is available for shared read/write access.