GET_STORAGE_DEPENDENCY_FLAG enumeration

Contains virtual hard disk (VHD) storage dependency request flags.

Syntax


typedef enum _GET_STORAGE_DEPENDENCY_FLAG { 
  GET_STORAGE_DEPENDENCY_FLAG_NONE          = 0x00000000,
  GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES  = 0x00000001,
  GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE   = 0x00000002
} GET_STORAGE_DEPENDENCY_FLAG;

Constants

GET_STORAGE_DEPENDENCY_FLAG_NONE

No flags specified.

GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES

Return information for volumes or disks hosting the volume specified.

GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE

The handle provided is to a disk, not a volume or file.

Remarks

If the GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES flag is not set, the GetStorageDependencyInformation function returns information about the volumes or disks being hosted by the volume or disk specified. For example, if the VHD file C:\file.vhd defines the virtual drive D, setting the GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES flag will retrieve information about the C: volume. If not, information about the virtual D: volume will be retrieved.

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: