OPEN_VIRTUAL_DISK_VERSION enumeration (virtdisk.h)

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

Syntax

typedef enum _OPEN_VIRTUAL_DISK_VERSION {
  OPEN_VIRTUAL_DISK_VERSION_UNSPECIFIED = 0,
  OPEN_VIRTUAL_DISK_VERSION_1 = 1,
  OPEN_VIRTUAL_DISK_VERSION_2 = 2,
  OPEN_VIRTUAL_DISK_VERSION_3 = 3
} OPEN_VIRTUAL_DISK_VERSION;

Constants

 
OPEN_VIRTUAL_DISK_VERSION_UNSPECIFIED
Value: 0
Not supported.
OPEN_VIRTUAL_DISK_VERSION_1
Value: 1
The Version1 member structure will be used.
OPEN_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.
OPEN_VIRTUAL_DISK_VERSION_3
Value: 3

Requirements

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

See also

About VHD

VHD Reference