OPEN_VIRTUAL_DISK_VERSION enumeration

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;

Constants

OPEN_VIRTUAL_DISK_VERSION_UNSPECIFIED

Not supported.

OPEN_VIRTUAL_DISK_VERSION_1

The Version1 member structure will be used.

OPEN_VIRTUAL_DISK_VERSION_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.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Header

VirtDisk.h (include Windows.h)

See also

About VHD
VHD Reference

 

 

Show: