MODIFY_VHDSET_PARAMETERS structure (virtdisk.h)

Contains VHD Set modification parameters, indicating how the VHD Set should be altered.

Syntax

typedef struct _MODIFY_VHDSET_PARAMETERS {
  MODIFY_VHDSET_VERSION Version;
  union {
    struct {
      GUID   SnapshotId;
      PCWSTR SnapshotFilePath;
    } SnapshotPath;
    GUID   SnapshotId;
    PCWSTR DefaultFilePath;
  };
} MODIFY_VHDSET_PARAMETERS, *PMODIFY_VHDSET_PARAMETERS;

Members

Version

A value from the MODIFY_VHDSET_VERSION enumeration that determines that is the discriminant for the union.

SnapshotPath

A structure with the following members.

SnapshotPath.SnapshotId

The Snapshot Id in GUID format indicating which snapshot is to have its path altered in the VHD Set.

SnapshotPath.SnapshotFilePath

The new file path for the Snapshot indicated by the SnapshotId field.

SnapshotId

The Snapshot Id in GUID format indicating which snapshot is to be removed from the VHD Set file.

DefaultFilePath

The file path for the default Snapshot of the Vhd Set.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header virtdisk.h