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 N/A
MAX_FS_NAME_SIZE 8
INVALID_MEMBER_IDX 0xFFFFFFFF
GPT_PARTITION_NAME_LENGTH 36
MAX_PATH 260

 

VDS 參考