Vanara.PInvoke.VirtDisk 3.4.6

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.VirtDisk --version 3.4.6                
NuGet\Install-Package Vanara.PInvoke.VirtDisk -Version 3.4.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.VirtDisk" Version="3.4.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.VirtDisk --version 3.4.6                
#r "nuget: Vanara.PInvoke.VirtDisk, 3.4.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.VirtDisk as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.VirtDisk&version=3.4.6

// Install Vanara.PInvoke.VirtDisk as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.VirtDisk&version=3.4.6                

Vanara

Vanara.PInvoke.VirtDisk NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows VirtDisk.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.VirtDisk

Functions Enumerations Structures
AddVirtualDiskParent ApplySnapshotVhdSet AttachVirtualDisk BreakMirrorVirtualDisk CompactVirtualDisk CreateVirtualDisk DeleteSnapshotVhdSet DeleteVirtualDiskMetadata DetachVirtualDisk EnumerateVirtualDiskMetadata ExpandVirtualDisk GetAllAttachedVirtualDiskPhysicalPaths GetStorageDependencyInformation GetVirtualDiskInformation GetVirtualDiskMetadata GetVirtualDiskOperationProgress GetVirtualDiskPhysicalPath MergeVirtualDisk MirrorVirtualDisk ModifyVhdSet OpenVirtualDisk QueryChangesVirtualDisk RawSCSIVirtualDisk ResizeVirtualDisk SetVirtualDiskInformation SetVirtualDiskMetadata TakeSnapshotVhdSet APPLY_SNAPSHOT_VHDSET_FLAG APPLY_SNAPSHOT_VHDSET_VERSION ATTACH_VIRTUAL_DISK_FLAG ATTACH_VIRTUAL_DISK_VERSION COMPACT_VIRTUAL_DISK_FLAG COMPACT_VIRTUAL_DISK_VERSION CREATE_VIRTUAL_DISK_FLAG CREATE_VIRTUAL_DISK_VERSION DELETE_SNAPSHOT_VHDSET_FLAG DELETE_SNAPSHOT_VHDSET_VERSION DEPENDENT_DISK_FLAG DETACH_VIRTUAL_DISK_FLAG EXPAND_VIRTUAL_DISK_FLAG EXPAND_VIRTUAL_DISK_VERSION GET_STORAGE_DEPENDENCY_FLAG GET_VIRTUAL_DISK_INFO_VERSION MERGE_VIRTUAL_DISK_FLAG MERGE_VIRTUAL_DISK_VERSION MIRROR_VIRTUAL_DISK_FLAG MIRROR_VIRTUAL_DISK_VERSION MODIFY_VHDSET_FLAG MODIFY_VHDSET_VERSION OPEN_VIRTUAL_DISK_FLAG OPEN_VIRTUAL_DISK_VERSION QUERY_CHANGES_VIRTUAL_DISK_FLAG RAW_SCSI_VIRTUAL_DISK_FLAG RAW_SCSI_VIRTUAL_DISK_VERSION RESIZE_VIRTUAL_DISK_FLAG RESIZE_VIRTUAL_DISK_VERSION SET_VIRTUAL_DISK_INFO_VERSION STORAGE_DEPENDENCY_INFO_VERSION TAKE_SNAPSHOT_VHDSET_FLAG TAKE_SNAPSHOT_VHDSET_VERSION VIRTUAL_DISK_ACCESS_MASK VIRTUAL_DISK_INFO_PROVIDER_SUBTYPE VIRTUAL_STORAGE_TYPE_DEVICE_TYPE APPLY_SNAPSHOT_VHDSET_PARAMETERS ATTACH_VIRTUAL_DISK_PARAMETERS COMPACT_VIRTUAL_DISK_PARAMETERS CREATE_VIRTUAL_DISK_PARAMETERS DELETE_SNAPSHOT_VHDSET_PARAMETERS EXPAND_VIRTUAL_DISK_PARAMETERS GET_VIRTUAL_DISK_INFO MERGE_VIRTUAL_DISK_PARAMETERS MIRROR_VIRTUAL_DISK_PARAMETERS MODIFY_VHDSET_PARAMETERS QUERY_CHANGES_VIRTUAL_DISK_RANGE RAW_SCSI_VIRTUAL_DISK_PARAMETERS RAW_SCSI_VIRTUAL_DISK_RESPONSE RESIZE_VIRTUAL_DISK_PARAMETERS SET_VIRTUAL_DISK_INFO STORAGE_DEPENDENCY_INFO STORAGE_DEPENDENCY_INFO_TYPE_1 STORAGE_DEPENDENCY_INFO_TYPE_2 TAKE_SNAPSHOT_VHDSET_PARAMETERS VIRTUAL_DISK_HANDLE VIRTUAL_DISK_PROGRESS VIRTUAL_STORAGE_TYPE OPEN_VIRTUAL_DISK_PARAMETERS APPLY_SNAPSHOT_VHDSET_PARAMETERS_Version1 ATTACH_VIRTUAL_DISK_PARAMETERS_Version1 COMPACT_VIRTUAL_DISK_PARAMETERS_Version1 CREATE_VIRTUAL_DISK_PARAMETERS_Version1 CREATE_VIRTUAL_DISK_PARAMETERS_Version2 CREATE_VIRTUAL_DISK_PARAMETERS_Version3 DELETE_SNAPSHOT_VHDSET_PARAMETERS_Version1 EXPAND_VIRTUAL_DISK_PARAMETERS_Version1 GET_VIRTUAL_DISK_INFO_ChangeTrackingState GET_VIRTUAL_DISK_INFO_ParentLocation GET_VIRTUAL_DISK_INFO_PhysicalDisk GET_VIRTUAL_DISK_INFO_Size MERGE_VIRTUAL_DISK_PARAMETERS_V1 MERGE_VIRTUAL_DISK_PARAMETERS_V2 MIRROR_VIRTUAL_DISK_PARAMETERS_Version1 MODIFY_VHDSET_PARAMETERS_Version1 MODIFY_VHDSET_PARAMETERS_Version1_SnapshotPath RAW_SCSI_VIRTUAL_DISK_PARAMETERS_Version1 RAW_SCSI_VIRTUAL_DISK_RESPONSE_Version1 RESIZE_VIRTUAL_DISK_PARAMETERS_Version1 SET_VIRTUAL_DISK_INFO_ParentLocator SET_VIRTUAL_DISK_INFO_ParentPathWithDepthInfo TAKE_SNAPSHOT_VHDSET_PARAMETERS_Version1 OPEN_VIRTUAL_DISK_PARAMETERS_Version1 OPEN_VIRTUAL_DISK_PARAMETERS_Version2 OPEN_VIRTUAL_DISK_PARAMETERS_Version3
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Vanara.PInvoke.VirtDisk:

Package Downloads
Vanara.VirtualDisk

.NET classes to manage Windows Virtual Storage (VHD and VHDX) using P/Invoke functions from VirtDisk.dll.

Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.4 312 9/13/2024
4.0.3 173 8/5/2024
4.0.2 216 6/24/2024
4.0.1 370 4/30/2024
4.0.0 177 3/29/2024
4.0.0-beta2 207 1/22/2024
4.0.0-beta 139 11/20/2023
3.4.17 510 10/18/2023
3.4.16 357 8/7/2023
3.4.15 307 5/18/2023
3.4.14 448 4/15/2023
3.4.13 693 2/4/2023
3.4.12 690 1/15/2023
3.4.11 819 11/15/2022
3.4.10 932 10/25/2022
3.4.9 1,004 10/3/2022
3.4.8 1,043 9/16/2022
3.4.7 1,039 9/3/2022
3.4.6 1,083 8/7/2022
3.4.5 1,125 7/17/2022
3.4.4 1,102 7/5/2022
3.4.3 1,168 6/14/2022
3.4.2 1,156 5/13/2022
3.4.1 1,138 5/5/2022
3.4.0 1,205 3/14/2022
3.3.15 681 12/27/2021
3.3.14 793 10/26/2021
3.3.13 762 9/30/2021
3.3.12 763 8/30/2021
3.3.11 804 7/22/2021
3.3.10 826 6/4/2021
3.3.9 777 5/7/2021
3.3.8 813 4/7/2021
3.3.7 805 3/24/2021
3.3.6 716 3/19/2021
3.3.5 743 3/1/2021
3.3.4 720 2/11/2021
3.3.3 762 2/3/2021
3.3.2 838 1/21/2021
3.3.1 838 1/20/2021
3.3.0 932 11/20/2020
3.2.21 792 11/13/2020
3.2.20 970 11/8/2020
3.2.19 863 10/23/2020
3.2.18 875 10/21/2020
3.2.17 981 9/20/2020
3.2.16 876 9/7/2020
3.2.15 1,104 8/30/2020
3.2.14 1,051 8/20/2020
3.2.13 1,128 7/27/2020
3.2.12 1,059 7/13/2020
3.2.11 1,116 6/28/2020
3.2.10 1,209 6/14/2020
3.2.9 1,136 6/3/2020
3.2.7 1,146 5/4/2020
3.2.6 1,076 4/21/2020
3.2.5 1,092 4/15/2020
3.2.4 1,145 4/12/2020
3.2.3 1,103 4/1/2020
3.2.2 1,056 3/24/2020
3.2.1 1,098 3/17/2020
3.2.0 1,382 2/27/2020
3.1.9 1,150 1/17/2020
3.1.8 1,182 1/13/2020
3.1.7 1,182 1/6/2020
3.1.6 1,159 12/12/2019
3.1.5 1,287 11/26/2019
3.1.4 1,175 11/25/2019
3.1.3 1,310 11/8/2019
3.1.2 1,199 11/4/2019
3.1.1 1,174 10/17/2019
3.1.0 1,010 10/3/2019
3.0.1 1,069 9/20/2019
3.0.0 895 8/27/2019
2.3.11 962 6/9/2019
2.3.10 891 6/5/2019
2.3.9 905 5/26/2019
2.3.8 846 5/13/2019
2.3.7 849 4/24/2019
2.3.6 894 4/17/2019
2.3.5 867 4/10/2019
2.3.4 857 3/9/2019
2.3.3 862 3/8/2019
2.3.2 933 2/28/2019
2.3.1 911 2/25/2019
2.3.0 905 2/22/2019
2.2.1 908 2/12/2019
2.2.0 902 2/1/2019
2.1.2 1,194 1/14/2019
2.1.0 1,143 12/15/2018
2.0.1 985 12/7/2018
2.0.0 1,009 11/28/2018
1.1.0 1,104 9/10/2018
1.0.18 1,145 8/10/2018
1.0.17 1,109 7/30/2018
1.0.16 1,212 6/29/2018
1.0.15 1,078 6/27/2018
1.0.14 1,199 6/8/2018
1.0.13 1,190 6/6/2018
1.0.12 1,167 4/5/2018
1.0.11 1,228 4/4/2018
1.0.10 1,175 3/27/2018
1.0.9 1,180 3/26/2018
1.0.8 1,218 2/7/2018
1.0.7 1,192 1/27/2018
1.0.6 1,238 1/8/2018
1.0.5 1,297 12/28/2017
1.0.4 1,265 12/15/2017
1.0.3 1,280 12/8/2017
1.0.2 1,171 11/30/2017
1.0.1 1,155 11/28/2017

Currently implements:

Functions
AddVirtualDiskParent ApplySnapshotVhdSet AttachVirtualDisk BreakMirrorVirtualDisk CompactVirtualDisk CreateVirtualDisk DeleteSnapshotVhdSet DeleteVirtualDiskMetadata DetachVirtualDisk EnumerateVirtualDiskMetadata ExpandVirtualDisk GetAllAttachedVirtualDiskPhysicalPaths GetStorageDependencyInformation GetVirtualDiskInformation GetVirtualDiskMetadata GetVirtualDiskOperationProgress GetVirtualDiskPhysicalPath MergeVirtualDisk MirrorVirtualDisk ModifyVhdSet OpenVirtualDisk QueryChangesVirtualDisk RawSCSIVirtualDisk ResizeVirtualDisk SetVirtualDiskInformation SetVirtualDiskMetadata TakeSnapshotVhdSet

Structures
APPLY_SNAPSHOT_VHDSET_PARAMETERS APPLY_SNAPSHOT_VHDSET_PARAMETERS_Version1 ATTACH_VIRTUAL_DISK_PARAMETERS ATTACH_VIRTUAL_DISK_PARAMETERS_Version1 COMPACT_VIRTUAL_DISK_PARAMETERS COMPACT_VIRTUAL_DISK_PARAMETERS_Version1 CREATE_VIRTUAL_DISK_PARAMETERS CREATE_VIRTUAL_DISK_PARAMETERS_Version1 CREATE_VIRTUAL_DISK_PARAMETERS_Version2 CREATE_VIRTUAL_DISK_PARAMETERS_Version3 DELETE_SNAPSHOT_VHDSET_PARAMETERS DELETE_SNAPSHOT_VHDSET_PARAMETERS_Version1 EXPAND_VIRTUAL_DISK_PARAMETERS EXPAND_VIRTUAL_DISK_PARAMETERS_Version1 GET_VIRTUAL_DISK_INFO GET_VIRTUAL_DISK_INFO_ChangeTrackingState GET_VIRTUAL_DISK_INFO_ParentLocation GET_VIRTUAL_DISK_INFO_PhysicalDisk GET_VIRTUAL_DISK_INFO_Size MERGE_VIRTUAL_DISK_PARAMETERS MERGE_VIRTUAL_DISK_PARAMETERS_V1 MERGE_VIRTUAL_DISK_PARAMETERS_V2 MIRROR_VIRTUAL_DISK_PARAMETERS MIRROR_VIRTUAL_DISK_PARAMETERS_Version1 MODIFY_VHDSET_PARAMETERS MODIFY_VHDSET_PARAMETERS_Version1 MODIFY_VHDSET_PARAMETERS_Version1_SnapshotPath OPEN_VIRTUAL_DISK_PARAMETERS OPEN_VIRTUAL_DISK_PARAMETERS_Version1 OPEN_VIRTUAL_DISK_PARAMETERS_Version2 OPEN_VIRTUAL_DISK_PARAMETERS_Version3 QUERY_CHANGES_VIRTUAL_DISK_RANGE RAW_SCSI_VIRTUAL_DISK_PARAMETERS RAW_SCSI_VIRTUAL_DISK_PARAMETERS_Version1 RAW_SCSI_VIRTUAL_DISK_RESPONSE RAW_SCSI_VIRTUAL_DISK_RESPONSE_Version1 RESIZE_VIRTUAL_DISK_PARAMETERS RESIZE_VIRTUAL_DISK_PARAMETERS_Version1 SET_VIRTUAL_DISK_INFO SET_VIRTUAL_DISK_INFO_ParentLocator SET_VIRTUAL_DISK_INFO_ParentPathWithDepthInfo STORAGE_DEPENDENCY_INFO STORAGE_DEPENDENCY_INFO_TYPE_1 STORAGE_DEPENDENCY_INFO_TYPE_2 TAKE_SNAPSHOT_VHDSET_PARAMETERS TAKE_SNAPSHOT_VHDSET_PARAMETERS_Version1 VIRTUAL_DISK_HANDLE VIRTUAL_DISK_PROGRESS VIRTUAL_STORAGE_TYPE