RESIZE_VIRTUAL_DISK_FLAG enumeration
Enumerates the available flags for the ResizeVirtualDisk function.
Syntax
typedef enum _RESIZE_VIRTUAL_DISK_FLAG { RESIZE_VIRTUAL_DISK_FLAG_NONE = 0x0, RESIZE_VIRTUAL_DISK_FLAG_ALLOW_UNSAFE_VIRTUAL_SIZE = 0x1, RESIZE_VIRTUAL_DISK_FLAG_RESIZE_TO_SMALLEST_SAFE_VIRTUAL_SIZE = 0x2 } RESIZE_VIRTUAL_DISK_FLAG;
Constants
- RESIZE_VIRTUAL_DISK_FLAG_NONE
-
No flags are specified.
- RESIZE_VIRTUAL_DISK_FLAG_ALLOW_UNSAFE_VIRTUAL_SIZE
-
If this flag is set, skip checking the virtual disk's partition table to ensure that this truncation is safe. Setting this flag can cause unrecoverable data loss; use with care.
- RESIZE_VIRTUAL_DISK_FLAG_RESIZE_TO_SMALLEST_SAFE_VIRTUAL_SIZE
-
If this flag is set, resize the disk to the smallest virtual size possible without truncating past any existing partitions. If this is set, the NewSize member in the RESIZE_VIRTUAL_DISK_PARAMETERS structure must be zero.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012
