Vanara.PInvoke.VirtDisk
3.4.2
Prefix Reserved
See the version list below for details.
dotnet add package Vanara.PInvoke.VirtDisk --version 3.4.2
NuGet\Install-Package Vanara.PInvoke.VirtDisk -Version 3.4.2
<PackageReference Include="Vanara.PInvoke.VirtDisk" Version="3.4.2" />
paket add Vanara.PInvoke.VirtDisk --version 3.4.2
#r "nuget: Vanara.PInvoke.VirtDisk, 3.4.2"
// Install Vanara.PInvoke.VirtDisk as a Cake Addin #addin nuget:?package=Vanara.PInvoke.VirtDisk&version=3.4.2 // Install Vanara.PInvoke.VirtDisk as a Cake Tool #tool nuget:?package=Vanara.PInvoke.VirtDisk&version=3.4.2
Vanara.PInvoke.VirtDisk NuGet Package
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<br>ApplySnapshotVhdSet<br>AttachVirtualDisk<br>BreakMirrorVirtualDisk<br>CompactVirtualDisk<br>CreateVirtualDisk<br>DeleteSnapshotVhdSet<br>DeleteVirtualDiskMetadata<br>DetachVirtualDisk<br>EnumerateVirtualDiskMetadata<br>ExpandVirtualDisk<br>GetAllAttachedVirtualDiskPhysicalPaths<br>GetStorageDependencyInformation<br>GetVirtualDiskInformation<br>GetVirtualDiskMetadata<br>GetVirtualDiskOperationProgress<br>GetVirtualDiskPhysicalPath<br>MergeVirtualDisk<br>MirrorVirtualDisk<br>ModifyVhdSet<br>OpenVirtualDisk<br>QueryChangesVirtualDisk<br>RawSCSIVirtualDisk<br>ResizeVirtualDisk<br>SetVirtualDiskInformation<br>SetVirtualDiskMetadata<br>TakeSnapshotVhdSet<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | APPLY_SNAPSHOT_VHDSET_FLAG<br>APPLY_SNAPSHOT_VHDSET_VERSION<br>ATTACH_VIRTUAL_DISK_FLAG<br>ATTACH_VIRTUAL_DISK_VERSION<br>COMPACT_VIRTUAL_DISK_FLAG<br>COMPACT_VIRTUAL_DISK_VERSION<br>CREATE_VIRTUAL_DISK_FLAG<br>CREATE_VIRTUAL_DISK_VERSION<br>DELETE_SNAPSHOT_VHDSET_FLAG<br>DELETE_SNAPSHOT_VHDSET_VERSION<br>DEPENDENT_DISK_FLAG<br>DETACH_VIRTUAL_DISK_FLAG<br>EXPAND_VIRTUAL_DISK_FLAG<br>EXPAND_VIRTUAL_DISK_VERSION<br>GET_STORAGE_DEPENDENCY_FLAG<br>GET_VIRTUAL_DISK_INFO_VERSION<br>MERGE_VIRTUAL_DISK_FLAG<br>MERGE_VIRTUAL_DISK_VERSION<br>MIRROR_VIRTUAL_DISK_FLAG<br>MIRROR_VIRTUAL_DISK_VERSION<br>MODIFY_VHDSET_FLAG<br>MODIFY_VHDSET_VERSION<br>OPEN_VIRTUAL_DISK_FLAG<br>OPEN_VIRTUAL_DISK_VERSION<br>QUERY_CHANGES_VIRTUAL_DISK_FLAG<br>RAW_SCSI_VIRTUAL_DISK_FLAG<br>RAW_SCSI_VIRTUAL_DISK_VERSION<br>RESIZE_VIRTUAL_DISK_FLAG<br>RESIZE_VIRTUAL_DISK_VERSION<br>SET_VIRTUAL_DISK_INFO_VERSION<br>STORAGE_DEPENDENCY_INFO_VERSION<br>TAKE_SNAPSHOT_VHDSET_FLAG<br>TAKE_SNAPSHOT_VHDSET_VERSION<br>VIRTUAL_DISK_ACCESS_MASK<br>VIRTUAL_DISK_INFO_PROVIDER_SUBTYPE<br>VIRTUAL_STORAGE_TYPE_DEVICE_TYPE<br><br><br><br><br><br><br><br><br><br><br><br><br><br> | APPLY_SNAPSHOT_VHDSET_PARAMETERS<br>ATTACH_VIRTUAL_DISK_PARAMETERS<br>COMPACT_VIRTUAL_DISK_PARAMETERS<br>CREATE_VIRTUAL_DISK_PARAMETERS<br>DELETE_SNAPSHOT_VHDSET_PARAMETERS<br>EXPAND_VIRTUAL_DISK_PARAMETERS<br>GET_VIRTUAL_DISK_INFO<br>MERGE_VIRTUAL_DISK_PARAMETERS<br>MIRROR_VIRTUAL_DISK_PARAMETERS<br>MODIFY_VHDSET_PARAMETERS<br>QUERY_CHANGES_VIRTUAL_DISK_RANGE<br>RAW_SCSI_VIRTUAL_DISK_PARAMETERS<br>RAW_SCSI_VIRTUAL_DISK_RESPONSE<br>RESIZE_VIRTUAL_DISK_PARAMETERS<br>SET_VIRTUAL_DISK_INFO<br>STORAGE_DEPENDENCY_INFO<br>STORAGE_DEPENDENCY_INFO_TYPE_1<br>STORAGE_DEPENDENCY_INFO_TYPE_2<br>TAKE_SNAPSHOT_VHDSET_PARAMETERS<br>VIRTUAL_DISK_HANDLE<br>VIRTUAL_DISK_PROGRESS<br>VIRTUAL_STORAGE_TYPE<br>OPEN_VIRTUAL_DISK_PARAMETERS<br>APPLY_SNAPSHOT_VHDSET_PARAMETERS_Version1<br>ATTACH_VIRTUAL_DISK_PARAMETERS_Version1<br>COMPACT_VIRTUAL_DISK_PARAMETERS_Version1<br>CREATE_VIRTUAL_DISK_PARAMETERS_Version1<br>CREATE_VIRTUAL_DISK_PARAMETERS_Version2<br>CREATE_VIRTUAL_DISK_PARAMETERS_Version3<br>DELETE_SNAPSHOT_VHDSET_PARAMETERS_Version1<br>EXPAND_VIRTUAL_DISK_PARAMETERS_Version1<br>GET_VIRTUAL_DISK_INFO_ChangeTrackingState<br>GET_VIRTUAL_DISK_INFO_ParentLocation<br>GET_VIRTUAL_DISK_INFO_PhysicalDisk<br>GET_VIRTUAL_DISK_INFO_Size<br>MERGE_VIRTUAL_DISK_PARAMETERS_V1<br>MERGE_VIRTUAL_DISK_PARAMETERS_V2<br>MIRROR_VIRTUAL_DISK_PARAMETERS_Version1<br>MODIFY_VHDSET_PARAMETERS_Version1<br>MODIFY_VHDSET_PARAMETERS_Version1_SnapshotPath<br>RAW_SCSI_VIRTUAL_DISK_PARAMETERS_Version1<br>RAW_SCSI_VIRTUAL_DISK_RESPONSE_Version1<br>RESIZE_VIRTUAL_DISK_PARAMETERS_Version1<br>SET_VIRTUAL_DISK_INFO_ParentLocator<br>SET_VIRTUAL_DISK_INFO_ParentPathWithDepthInfo<br>TAKE_SNAPSHOT_VHDSET_PARAMETERS_Version1<br>OPEN_VIRTUAL_DISK_PARAMETERS_Version1<br>OPEN_VIRTUAL_DISK_PARAMETERS_Version2<br>OPEN_VIRTUAL_DISK_PARAMETERS_Version3<br> |
Product | Versions 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. |
-
.NETCoreApp 3.1
- Vanara.Core (>= 3.4.2)
- Vanara.PInvoke.Kernel32 (>= 3.4.2)
- Vanara.PInvoke.Shared (>= 3.4.2)
-
.NETFramework 4.5
- Vanara.Core (>= 3.4.2)
- Vanara.PInvoke.Kernel32 (>= 3.4.2)
- Vanara.PInvoke.Shared (>= 3.4.2)
-
.NETFramework 4.8
- Vanara.Core (>= 3.4.2)
- Vanara.PInvoke.Kernel32 (>= 3.4.2)
- Vanara.PInvoke.Shared (>= 3.4.2)
-
.NETStandard 2.0
- Vanara.Core (>= 3.4.2)
- Vanara.PInvoke.Kernel32 (>= 3.4.2)
- Vanara.PInvoke.Shared (>= 3.4.2)
-
net5.0
- Vanara.Core (>= 3.4.2)
- Vanara.PInvoke.Kernel32 (>= 3.4.2)
- Vanara.PInvoke.Shared (>= 3.4.2)
-
net6.0
- Vanara.Core (>= 3.4.2)
- Vanara.PInvoke.Kernel32 (>= 3.4.2)
- Vanara.PInvoke.Shared (>= 3.4.2)
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 | 326 | 9/13/2024 |
4.0.3 | 176 | 8/5/2024 |
4.0.2 | 220 | 6/24/2024 |
4.0.1 | 377 | 4/30/2024 |
4.0.0 | 180 | 3/29/2024 |
4.0.0-beta2 | 210 | 1/22/2024 |
4.0.0-beta | 142 | 11/20/2023 |
3.4.17 | 514 | 10/18/2023 |
3.4.16 | 360 | 8/7/2023 |
3.4.15 | 310 | 5/18/2023 |
3.4.14 | 451 | 4/15/2023 |
3.4.13 | 697 | 2/4/2023 |
3.4.12 | 693 | 1/15/2023 |
3.4.11 | 822 | 11/15/2022 |
3.4.10 | 935 | 10/25/2022 |
3.4.9 | 1,007 | 10/3/2022 |
3.4.8 | 1,046 | 9/16/2022 |
3.4.7 | 1,042 | 9/3/2022 |
3.4.6 | 1,086 | 8/7/2022 |
3.4.5 | 1,128 | 7/17/2022 |
3.4.4 | 1,105 | 7/5/2022 |
3.4.3 | 1,171 | 6/14/2022 |
3.4.2 | 1,159 | 5/13/2022 |
3.4.1 | 1,141 | 5/5/2022 |
3.4.0 | 1,208 | 3/14/2022 |
3.3.15 | 684 | 12/27/2021 |
3.3.14 | 796 | 10/26/2021 |
3.3.13 | 765 | 9/30/2021 |
3.3.12 | 766 | 8/30/2021 |
3.3.11 | 807 | 7/22/2021 |
3.3.10 | 829 | 6/4/2021 |
3.3.9 | 780 | 5/7/2021 |
3.3.8 | 816 | 4/7/2021 |
3.3.7 | 808 | 3/24/2021 |
3.3.6 | 719 | 3/19/2021 |
3.3.5 | 746 | 3/1/2021 |
3.3.4 | 723 | 2/11/2021 |
3.3.3 | 765 | 2/3/2021 |
3.3.2 | 841 | 1/21/2021 |
3.3.1 | 841 | 1/20/2021 |
3.3.0 | 935 | 11/20/2020 |
3.2.21 | 795 | 11/13/2020 |
3.2.20 | 973 | 11/8/2020 |
3.2.19 | 866 | 10/23/2020 |
3.2.18 | 878 | 10/21/2020 |
3.2.17 | 984 | 9/20/2020 |
3.2.16 | 879 | 9/7/2020 |
3.2.15 | 1,107 | 8/30/2020 |
3.2.14 | 1,054 | 8/20/2020 |
3.2.13 | 1,131 | 7/27/2020 |
3.2.12 | 1,062 | 7/13/2020 |
3.2.11 | 1,119 | 6/28/2020 |
3.2.10 | 1,212 | 6/14/2020 |
3.2.9 | 1,139 | 6/3/2020 |
3.2.7 | 1,149 | 5/4/2020 |
3.2.6 | 1,079 | 4/21/2020 |
3.2.5 | 1,095 | 4/15/2020 |
3.2.4 | 1,148 | 4/12/2020 |
3.2.3 | 1,106 | 4/1/2020 |
3.2.2 | 1,059 | 3/24/2020 |
3.2.1 | 1,101 | 3/17/2020 |
3.2.0 | 1,385 | 2/27/2020 |
3.1.9 | 1,153 | 1/17/2020 |
3.1.8 | 1,185 | 1/13/2020 |
3.1.7 | 1,185 | 1/6/2020 |
3.1.6 | 1,162 | 12/12/2019 |
3.1.5 | 1,290 | 11/26/2019 |
3.1.4 | 1,178 | 11/25/2019 |
3.1.3 | 1,313 | 11/8/2019 |
3.1.2 | 1,202 | 11/4/2019 |
3.1.1 | 1,177 | 10/17/2019 |
3.1.0 | 1,013 | 10/3/2019 |
3.0.1 | 1,072 | 9/20/2019 |
3.0.0 | 898 | 8/27/2019 |
2.3.11 | 965 | 6/9/2019 |
2.3.10 | 894 | 6/5/2019 |
2.3.9 | 908 | 5/26/2019 |
2.3.8 | 851 | 5/13/2019 |
2.3.7 | 852 | 4/24/2019 |
2.3.6 | 897 | 4/17/2019 |
2.3.5 | 870 | 4/10/2019 |
2.3.4 | 860 | 3/9/2019 |
2.3.3 | 865 | 3/8/2019 |
2.3.2 | 936 | 2/28/2019 |
2.3.1 | 914 | 2/25/2019 |
2.3.0 | 911 | 2/22/2019 |
2.2.1 | 911 | 2/12/2019 |
2.2.0 | 905 | 2/1/2019 |
2.1.2 | 1,197 | 1/14/2019 |
2.1.0 | 1,146 | 12/15/2018 |
2.0.1 | 988 | 12/7/2018 |
2.0.0 | 1,012 | 11/28/2018 |
1.1.0 | 1,107 | 9/10/2018 |
1.0.18 | 1,148 | 8/10/2018 |
1.0.17 | 1,112 | 7/30/2018 |
1.0.16 | 1,215 | 6/29/2018 |
1.0.15 | 1,081 | 6/27/2018 |
1.0.14 | 1,202 | 6/8/2018 |
1.0.13 | 1,193 | 6/6/2018 |
1.0.12 | 1,170 | 4/5/2018 |
1.0.11 | 1,231 | 4/4/2018 |
1.0.10 | 1,178 | 3/27/2018 |
1.0.9 | 1,183 | 3/26/2018 |
1.0.8 | 1,221 | 2/7/2018 |
1.0.7 | 1,195 | 1/27/2018 |
1.0.6 | 1,241 | 1/8/2018 |
1.0.5 | 1,300 | 12/28/2017 |
1.0.4 | 1,268 | 12/15/2017 |
1.0.3 | 1,283 | 12/8/2017 |
1.0.2 | 1,174 | 11/30/2017 |
1.0.1 | 1,158 | 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