RESIZE_VIRTUAL_DISK_PARAMETERS structure (virtdisk.h)

Contains the parameters for a ResizeVirtualDisk function.

Syntax

typedef struct _RESIZE_VIRTUAL_DISK_PARAMETERS {
  RESIZE_VIRTUAL_DISK_VERSION Version;
  union {
    struct {
      ULONGLONG NewSize;
    } Version1;
  };
} RESIZE_VIRTUAL_DISK_PARAMETERS, *PRESIZE_VIRTUAL_DISK_PARAMETERS;

Members

Version

Discriminant for the union containing a value enumerated from the RESIZE_VIRTUAL_DISK_VERSION enumeration.

Version1

If the Version member is RESIZE_VIRTUAL_DISK_VERSION_1 (1), this structure is used.

Version1.NewSize

Contains the new size of the virtual disk.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header virtdisk.h (include Windows.h)

See also

RESIZE_VIRTUAL_DISK_VERSION

ResizeVirtualDisk

VHD Functions