Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_NONEValue: 0x00000000 No flags specified. |
GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMESValue: 0x00000001 Return information for volumes or disks hosting the volume specified. |
GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLEValue: 0x00000002 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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 |
| Minimum supported server | Windows Server 2008 R2 |
| Header | virtdisk.h |