STORAGE_DEPENDENCY_INFO_TYPE_2 structure

Contains VHD or ISO storage dependency information for type 2.

Syntax


typedef struct _STORAGE_DEPENDENCY_INFO_TYPE_2 {
  DEPENDENT_DISK_FLAG  DependencyTypeFlags;
  ULONG                ProviderSpecificFlags;
  VIRTUAL_STORAGE_TYPE VirtualStorageType;
  ULONG                AncestorLevel;
  PWSTR                DependencyDeviceName;
  PWSTR                HostVolumeName;
  PWSTR                DependentVolumeName;
  PWSTR                DependentVolumeRelativePath;
} STORAGE_DEPENDENCY_INFO_TYPE_2, *PSTORAGE_DEPENDENCY_INFO_TYPE_2;

Members

DependencyTypeFlags

A DEPENDENT_DISK_FLAG enumeration.

ProviderSpecificFlags

Flags specific to the VHD provider.

VirtualStorageType

A VIRTUAL_STORAGE_TYPE structure.

AncestorLevel

The ancestor level.

DependencyDeviceName

The device name of the dependent device. If the device is a virtual hard drive then this will be in the form \\.\PhysicalDriveN. If the device is a virtual CD or DVD drive (ISO) then this will be in the form \\.\CDRomN. In either case N is an integer that represents a unique identifier for the caller's host system.

HostVolumeName

The host disk volume name in the form \\?\Volume{GUID}\ where GUID is the GUID that identifies the volume.

DependentVolumeName

The name of the dependent volume, if any, in the form \\?\Volume{GUID}\ where GUID is the GUID that identifies the volume.

DependentVolumeRelativePath

The relative path to the dependent volume.

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: