Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VDS_LUN_FLAG enumeration

[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_LF_LBN_REMAP_ENABLED              = 0x01,
  VDS_LF_READ_BACK_VERIFY_ENABLED       = 0x02,
  VDS_LF_WRITE_THROUGH_CACHING_ENABLED  = 0x04,
  VDS_LF_HARDWARE_CHECKSUM_ENABLED      = 0x08,
  VDS_LF_READ_CACHE_ENABLED             = 0x10,
  VDS_LF_WRITE_CACHE_ENABLED            = 0x20,
  VDS_LF_MEDIA_SCAN_ENABLED             = 0x40,
  VDS_LF_CONSISTENCY_CHECK_ENABLED      = 0x80,
  VDS_LF_SNAPSHOT                       = 0x100
} VDS_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

Vds.h;
VdsHwPrv.h (for hardware providers)

See also

VDS Enumerations
VDS_LUN_PROP
VDS_LUN_PLEX_FLAG

 

 

Show: