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_PACK_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 pack object.

Syntax


typedef enum  { 
  VDS_PKF_FOREIGN       = 0x1,
  VDS_PKF_NOQUORUM      = 0x2,
  VDS_PKF_POLICY        = 0x4,
  VDS_PKF_CORRUPTED     = 0x8,
  VDS_PKF_ONLINE_ERROR  = 0x10
} VDS_PACK_FLAG;

Constants

VDS_PKF_FOREIGN

If set, an external pack is eligible for online status.

VDS_PKF_NOQUORUM

If set, a dynamic pack lacks the required quorum. A quorum is the minimum number of disks in a dynamic pack (n/2 + 1) required to enable online status. This flag prevents the caller from granting online status to the same pack on multiple computers.

VDS_PKF_POLICY

If set, the pack policy prevents online eligibility. This flag applies exclusively to packs managed by the Windows Server 2003 version of VDS, which allows only one pack at a time to maintain online status.

VDS_PKF_CORRUPTED

If set, a pack contains a disk with a corrupted database.

VDS_PKF_ONLINE_ERROR

If set, a pack with sufficient disk quorum failed to achieve online status due to an error.

Remarks

Pack flags apply to packs managed by the dynamic provider only. The provider sets these flags on offline packs to report the reason for the offline status.

This enumeration provides the values for the ulFlags member of the VDS_PACK_PROP structure.

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h

See also

VDS Enumerations
VDS_PACK_PROP

 

 

Community Additions

Show:
© 2015 Microsoft