VDS Constants
[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]
VDS constants are categorized as follows:
Object Status Constants
Constant | Value |
---|---|
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 Constants
Constant | Value |
---|---|
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 |
Miscellaneous Constants
Constant | Value |
---|---|
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 |
Related topics