Edit

Share via


CREATE_VIRTUAL_DISK_VERSION enumeration (virtdisk.h)

Contains the version of the virtual disk CREATE_VIRTUAL_DISK_PARAMETERS structure to use in calls to virtual disk functions.

Syntax

typedef enum _CREATE_VIRTUAL_DISK_VERSION {
  CREATE_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0,
  CREATE_VIRTUAL_DISK_VERSION_1 = 1,
  CREATE_VIRTUAL_DISK_VERSION_2 = 2,
  CREATE_VIRTUAL_DISK_VERSION_3 = 3,
  CREATE_VIRTUAL_DISK_VERSION_4 = 4
} CREATE_VIRTUAL_DISK_VERSION;

Constants

 
CREATE_VIRTUAL_DISK_VERSION_UNSPECIFIED
Value: 0
Not supported.
CREATE_VIRTUAL_DISK_VERSION_1
Value: 1
The Version1 member structure will be used.
CREATE_VIRTUAL_DISK_VERSION_2
Value: 2
The Version2 member structure will be used.

Windows 7 and Windows Server 2008 R2:  This value is not supported until Windows 8 and Windows Server 2012.
CREATE_VIRTUAL_DISK_VERSION_3
Value: 3
CREATE_VIRTUAL_DISK_VERSION_4
Value: 4

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Header virtdisk.h

See also

About VHD

VHD Reference