VDS_LUN_FLAG enumeration (vdshwprv.h)

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Defines the set of valid flags for a LUN object.

Syntax

typedef enum _VDS_LUN_FLAG {
  VDS_LF_LBN_REMAP_ENABLED,
  VDS_LF_READ_BACK_VERIFY_ENABLED,
  VDS_LF_WRITE_THROUGH_CACHING_ENABLED,
  VDS_LF_HARDWARE_CHECKSUM_ENABLED,
  VDS_LF_READ_CACHE_ENABLED,
  VDS_LF_WRITE_CACHE_ENABLED,
  VDS_LF_MEDIA_SCAN_ENABLED,
  VDS_LF_CONSISTENCY_CHECK_ENABLED,
  VDS_LF_SNAPSHOT
} VDS_LUN_FLAG, *PVDS_LUN_FLAG;

Constants

 
VDS_LF_LBN_REMAP_ENABLED
The provider remaps LUN extents to drive extents automatically.
VDS_LF_READ_BACK_VERIFY_ENABLED
The provider verifies writes by readback.
VDS_LF_WRITE_THROUGH_CACHING_ENABLED
The provider enables write-through caching on the LUN.
VDS_LF_HARDWARE_CHECKSUM_ENABLED
The provider verifies the integrity of the read and write data using a checksum.
VDS_LF_READ_CACHE_ENABLED
Read caching is enabled on the LUN.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LF_WRITE_CACHE_ENABLED
Write caching is enabled on the LUN.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LF_MEDIA_SCAN_ENABLED
Media scanning is enabled on the LUN.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LF_CONSISTENCY_CHECK_ENABLED
Consistency checking is enabled on the LUN.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LF_SNAPSHOT
The LUN is a volume shadow copy LUN.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.

Remarks

This enumeration provides the values for the ulFlags member of the VDS_LUN_PROP structure and provides the value for the VDS_LPF_LBN_REMAP_ENABLED enumerator in the VDS_LUN_PLEX_FLAG enumeration.

Note  Additional constants might be added to the VDS_LUN_FLAG enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_LUN_FLAG enumeration constant.
 

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header vdshwprv.h

See also

VDS Enumerations

VDS_LUN_PLEX_FLAG

VDS_LUN_PROP