EXPAND_VIRTUAL_DISK_PARAMETERS structure (virtdisk.h)

Contains virtual disk expansion request parameters.

Syntax

typedef struct _EXPAND_VIRTUAL_DISK_PARAMETERS {
  EXPAND_VIRTUAL_DISK_VERSION Version;
  union {
    struct {
      ULONGLONG NewSize;
    } Version1;
  };
} EXPAND_VIRTUAL_DISK_PARAMETERS, *PEXPAND_VIRTUAL_DISK_PARAMETERS;

Members

Version

An EXPAND_VIRTUAL_DISK_VERSION enumeration value that specifies the version of the EXPAND_VIRTUAL_DISK_PARAMETERS structure being passed to or from the virtual disk functions.

Version1

This structure is used if the Version member is EXPAND_VIRTUAL_DISK_VERSION_1 (1).

Version1.NewSize

New size, in bytes, for the expansion request.

Requirements

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

See also

About VHD

VHD Reference