SET_VIRTUAL_DISK_INFO_VERSION enumeration

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

Syntax


typedef enum _SET_VIRTUAL_DISK_INFO_VERSION { 
  SET_VIRTUAL_DISK_INFO_UNSPECIFIED             = 0,
  SET_VIRTUAL_DISK_INFO_PARENT_PATH             = 1,
  SET_VIRTUAL_DISK_INFO_IDENTIFIER              = 2,
  SET_VIRTUAL_DISK_INFO_PARENT_PATH_WITH_DEPTH  = 3,
  SET_VIRTUAL_DISK_INFO_PHYSICAL_SECTOR_SIZE    = 4
} SET_VIRTUAL_DISK_INFO_VERSION;

Constants

SET_VIRTUAL_DISK_INFO_UNSPECIFIED

Not used. Will fail the operation.

SET_VIRTUAL_DISK_INFO_PARENT_PATH

Parent information is being set.

SET_VIRTUAL_DISK_INFO_IDENTIFIER

A unique identifier is being set.

Note  If the VHD's unique identifier changes as a result of the SET_VIRTUAL_DISK_INFO_IDENTIFIER operation, it will break any existing differencing chains on the VHD.

SET_VIRTUAL_DISK_INFO_PARENT_PATH_WITH_DEPTH

Sets the parent file path and the child depth.

Windows 7 and Windows Server 2008 R2:  This value is not supported before Windows 8 and Windows Server 2012.
SET_VIRTUAL_DISK_INFO_PHYSICAL_SECTOR_SIZE

Sets the physical sector size reported by the VHD.

Windows 7 and Windows Server 2008 R2:  This value is not supported before 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

 

 

Build date: 10/26/2012

Community Additions

ADD
Show:
© 2014 Microsoft