VDS 常量

[从 Windows 8 和 Windows Server 2012 开始,虚拟磁盘服务 COM 接口由 Windows 存储管理 API 取代。]

VDS 常量分类如下:

对象状态常量

返回的常量 “值”
STATUS_UNKNOWN 0
STATUS_ONLINE 1
STATUS_NOT_READY 2
STATUS_NO_MEDIA 3
STATUS_OFFLINE 4
STATUS_FAILED 5
STATUS_MISSING 6

 

Automagic Hints 常量

返回的常量 “值”
VDS_HINT_MOSTLYREADS 0x0002L
VDS_HINT_OPTIMIZEFORSEQUENTIALREADS 0x0004L
VDS_HINT_OPTIMIZEFORSEQUENTIALWRITES 0x0008L
VDS_HINT_REMAPENABLED 0x0020L
VDS_HINT_WRITETHROUGHCACHINGENABLED 0x0040L
VDS_HINT_HARDWARECHECKSUMENABLED 0x0080L
VDS_HINT_ISYANKABLE 0x0100L

 

其他常量

返回的常量 “值”
VDS_REBUILD_PRIORITY_MIN 0x0001L
VER_VDS_LUN_INFORMATION 1
MAX_COMPUTERNAME_LENGTH 15
MAX_PROVIDERNAME_LENGTH 200
MAX_VERSIONSTRING_LENGTH 16
DRIVE_LETTER_PROP 空值
MAX_FS_NAME_SIZE 8
INVALID_MEMBER_IDX 0xFFFFFFFF
GPT_PARTITION_NAME_LENGTH 36
MAX_PATH 260

 

VDS 参考