Edit

Share via


virtdisk.h header

This header is used by multiple technologies. For more information, see:

virtdisk.h contains the following programming interfaces:

Functions

 
AddVirtualDiskParent

Attaches a parent to a virtual disk opened with the OPEN_VIRTUAL_DISK_FLAG_CUSTOM_DIFF_CHAIN flag.
ApplySnapshotVhdSet

Applies a snapshot of the current virtual disk for VHD Set files.
AttachVirtualDisk

Attaches a virtual hard disk (VHD) or CD or DVD image file (ISO) by locating an appropriate VHD provider to accomplish the attachment.
BreakMirrorVirtualDisk

Breaks a previously initiated mirror operation and sets the mirror to be the active virtual disk.
CompactVirtualDisk

Reduces the size of a virtual hard disk (VHD) backing store file.
CreateVirtualDisk

Creates a virtual hard disk (VHD) image file, either using default parameters or using an existing virtual disk or physical disk.
DeleteSnapshotVhdSet

Deletes a snapshot from a VHD Set file.
DeleteVirtualDiskMetadata

Deletes metadata from a virtual disk.
DetachVirtualDisk

Detaches a virtual hard disk (VHD) or CD or DVD image file (ISO) by locating an appropriate virtual disk provider to accomplish the operation.
EnumerateVirtualDiskMetadata

Enumerates the metadata associated with a virtual disk.
ExpandVirtualDisk

Increases the size of a fixed or dynamically expandable virtual hard disk (VHD).
GetStorageDependencyInformation

Returns the relationships between virtual hard disks (VHDs) or CD or DVD image file (ISO) or the volumes contained within those disks and their parent disk or volume.
GetVirtualDiskInformation

Retrieves information about a VHD.
GetVirtualDiskMetadata

Retrieves the specified metadata from the virtual disk.
GetVirtualDiskOperationProgress

Checks the progress of an asynchronous virtual hard disk (VHD) operation.
GetVirtualDiskPhysicalPath

Retrieves the path to the physical device object that contains a virtual hard disk (VHD) or CD or DVD image file (ISO).
MergeVirtualDisk

Merges a child virtual hard disk (VHD) in a differencing chain with one or more parent virtual disks in the chain.
MirrorVirtualDisk

Initiates a mirror operation for a virtual disk.
ModifyVhdSet

Modifies the internal contents of a virtual disk file. Can be used to set the active leaf, or to fix up snapshot entries.
OpenVirtualDisk

Opens a virtual hard disk (VHD) or CD or DVD image file (ISO) for use.
QueryChangesVirtualDisk

Retrieves information about changes to the specified areas of a virtual hard disk (VHD) that are tracked by resilient change tracking (RCT).
RawSCSIVirtualDisk

Issues an embedded SCSI request directly to a virtual hard disk.
ResizeVirtualDisk

Resizes a virtual disk.
SetVirtualDiskInformation

Sets information about a virtual hard disk (VHD).
SetVirtualDiskMetadata

Sets a metadata item for a virtual disk.
TakeSnapshotVhdSet

Creates a snapshot of the current virtual disk for VHD Set files.

Structures

 
APPLY_SNAPSHOT_VHDSET_PARAMETERS

Contains snapshot parameters, indicating information about the new snapshot to be applied.
ATTACH_VIRTUAL_DISK_PARAMETERS

Contains virtual hard disk (VHD) attach request parameters.
COMPACT_VIRTUAL_DISK_PARAMETERS

Contains virtual hard disk (VHD) compacting parameters.
CREATE_VIRTUAL_DISK_PARAMETERS

Contains virtual hard disk (VHD) creation parameters, providing control over, and information about, the newly created virtual disk.
DELETE_SNAPSHOT_VHDSET_PARAMETERS

Contains snapshot deletion parameters, designating which snapshot to delete from the VHD Set.
EXPAND_VIRTUAL_DISK_PARAMETERS

Contains virtual disk expansion request parameters.
GET_VIRTUAL_DISK_INFO

Contains virtual hard disk (VHD) information.
MERGE_VIRTUAL_DISK_PARAMETERS

Contains virtual hard disk (VHD) merge request parameters.
MIRROR_VIRTUAL_DISK_PARAMETERS

Contains virtual hard disk (VHD) mirror request parameters.
MODIFY_VHDSET_PARAMETERS

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

Contains virtual disk open request parameters.
QUERY_CHANGES_VIRTUAL_DISK_RANGE

Identifies an area on a virtual hard disk (VHD) that has changed as tracked by resilient change tracking (RCT).
RAW_SCSI_VIRTUAL_DISK_PARAMETERS

Contains raw SCSI virtual disk request parameters.
RAW_SCSI_VIRTUAL_DISK_RESPONSE

Contains raw SCSI virtual disk response parameters.
RESIZE_VIRTUAL_DISK_PARAMETERS

Contains the parameters for a ResizeVirtualDisk function.
SET_VIRTUAL_DISK_INFO

Contains virtual hard disk (VHD) information to use when you call the SetVirtualDiskInformation function to set VHD properties.
STORAGE_DEPENDENCY_INFO

Contains virtual hard disk (VHD) storage dependency information.
STORAGE_DEPENDENCY_INFO_TYPE_1

Contains virtual hard disk (VHD) storage dependency information for type 1.
STORAGE_DEPENDENCY_INFO_TYPE_2

Contains VHD or ISO storage dependency information for type 2.
TAKE_SNAPSHOT_VHDSET_PARAMETERS

Contains snapshot parameters, indicating information about the new snapshot to be created.
VIRTUAL_DISK_PROGRESS

Contains the progress and result data for the current virtual hard disk (VHD) operation, used by the GetVirtualDiskOperationProgress function.
VIRTUAL_STORAGE_TYPE

Contains the type and provider (vendor) of the virtual storage device.

Enumerations

 
APPLY_SNAPSHOT_VHDSET_FLAG

Contains flags affecting the behavior of the ApplySnapshotVhdSet function.
APPLY_SNAPSHOT_VHDSET_VERSION

Enumerates the possible versions for parameters for the ApplySnapshotVhdSet function.
ATTACH_VIRTUAL_DISK_FLAG

Contains virtual disk attach request flags.
ATTACH_VIRTUAL_DISK_VERSION

Contains the version of the virtual hard disk (VHD) ATTACH_VIRTUAL_DISK_PARAMETERS structure to use in calls to VHD functions.
COMPACT_VIRTUAL_DISK_FLAG

Contains virtual disk compact request flags.
COMPACT_VIRTUAL_DISK_VERSION

Contains the version of the virtual hard disk (VHD) COMPACT_VIRTUAL_DISK_PARAMETERS structure to use in calls to VHD functions.
CREATE_VIRTUAL_DISK_FLAG

Contains virtual hard disk (VHD) creation flags.
CREATE_VIRTUAL_DISK_VERSION

Contains the version of the virtual disk CREATE_VIRTUAL_DISK_PARAMETERS structure to use in calls to virtual disk functions.
DELETE_SNAPSHOT_VHDSET_FLAG

Contains flags affecting the behavior of the DeleteSnapshotVhdSet function.
DELETE_SNAPSHOT_VHDSET_VERSION

Contains the version of the DELETE_SNAPHSOT_VHDSET_PARAMETERS structure to use in calls to virtual disk functions.
DEPENDENT_DISK_FLAG

Contains virtual hard disk (VHD) dependency information flags.
DETACH_VIRTUAL_DISK_FLAG

Contains virtual disk detach request flags.
EXPAND_VIRTUAL_DISK_FLAG

Contains virtual hard disk (VHD) expand request flags.
EXPAND_VIRTUAL_DISK_VERSION

Contains the version of the virtual disk EXPAND_VIRTUAL_DISK_PARAMETERS structure to use in calls to virtual disk functions.
GET_STORAGE_DEPENDENCY_FLAG

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

Contains the kinds of virtual hard disk (VHD) information that you can retrieve.
MERGE_VIRTUAL_DISK_FLAG

Contains virtual hard disk (VHD) merge request flags.
MERGE_VIRTUAL_DISK_VERSION

Contains the version of the virtual hard disk (VHD) MERGE_VIRTUAL_DISK_PARAMETERS structure to use in calls to VHD functions.
MIRROR_VIRTUAL_DISK_FLAG

Contains virtual hard disk (VHD) mirror request flags.
MIRROR_VIRTUAL_DISK_VERSION

Contains the version of the virtual disk MIRROR_VIRTUAL_DISK_PARAMETERS structure used by the MirrorVirtualDisk function.
MODIFY_VHDSET_FLAG

Contains flags affecting the behavior of the ModifyVhdSet function.
MODIFY_VHDSET_VERSION

Contains the version of the MODIFY_VHDSET_PARAMETERS structure to use in calls to virtual disk functions.
OPEN_VIRTUAL_DISK_FLAG

Contains virtual hard disk (VHD) or CD or DVD image file (ISO) open request flags.
OPEN_VIRTUAL_DISK_VERSION

Contains the version of the virtual disk OPEN_VIRTUAL_DISK_PARAMETERS structure to use in calls to virtual disk functions.
RAW_SCSI_VIRTUAL_DISK_FLAG

Contains flags affecting the behavior of the RawSCSIVirtualDisk function.
RAW_SCSI_VIRTUAL_DISK_VERSION

Contains the version of the RAW_SCSI_VIRTUAL_DISK_PARAMETERS structure to use in calls to virtual disk functions.
RESIZE_VIRTUAL_DISK_FLAG

Enumerates the available flags for the ResizeVirtualDisk function.
RESIZE_VIRTUAL_DISK_VERSION

Enumerates the possible versions for parameters for the ResizeVirtualDisk function.
SET_VIRTUAL_DISK_INFO_VERSION

Contains the version of the virtual disk SET_VIRTUAL_DISK_INFO structure to use in calls to VHD functions.
STORAGE_DEPENDENCY_INFO_VERSION

Contains the version of the virtual hard disk (VHD) STORAGE_DEPENDENCY_INFO structure to use in calls to VHD functions.
TAKE_SNAPSHOT_VHDSET_FLAG

Contains flags affecting the behavior of the TakeSnapshotVhdSet function.
TAKE_SNAPSHOT_VHDSET_VERSION

Enumerates the possible versions for parameters for the TakeSnapshotVhdSet function.
VIRTUAL_DISK_ACCESS_MASK

VIRTUAL_DISK_ACCESS_MASK contains the bitmask for specifying access rights to a virtual hard disk (VHD) or CD or DVD image file (ISO).