VOOZH about

URL: https://www.nuget.org/packages/Vanara.PInvoke.VirtDisk/

⇱ NuGet Gallery | Vanara.PInvoke.VirtDisk 5.0.5




👁 Image
Vanara.PInvoke.VirtDisk 5.0.5

Prefix Reserved
dotnet add package Vanara.PInvoke.VirtDisk --version 5.0.5
 
 
NuGet\Install-Package Vanara.PInvoke.VirtDisk -Version 5.0.5
 
 
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="5.0.5" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.PInvoke.VirtDisk" Version="5.0.5" />
 
Directory.Packages.props
<PackageReference Include="Vanara.PInvoke.VirtDisk" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vanara.PInvoke.VirtDisk --version 5.0.5
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.PInvoke.VirtDisk, 5.0.5"
 
 
#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.
#:package Vanara.PInvoke.VirtDisk@5.0.5
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vanara.PInvoke.VirtDisk&version=5.0.5
 
Install as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.VirtDisk&version=5.0.5
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

👁 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 MyGet 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_PROGRESS<br>VIRTUAL_STORAGE_TYPE<br>OPEN_VIRTUAL_DISK_PARAMETERS<br>VIRTUAL_DISK_HANDLE<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 net5.0 is compatible.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 is compatible.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net8.0-windows7.0 net8.0-windows7.0 is compatible.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net9.0-windows7.0 net9.0-windows7.0 is compatible.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed.  net10.0-windows7.0 net10.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 is compatible. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 is compatible.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.Library

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

Vanara.VirtualDisk

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.5 569 5/16/2026
5.0.4 588 4/15/2026
5.0.3 230 4/9/2026
5.0.1 260 3/11/2026
5.0.0 395 1/12/2026
4.2.1 2,101 9/9/2025
4.2.0 330 8/25/2025
4.1.6 339 6/20/2025
4.1.5 309 6/20/2025
4.1.4 332 6/7/2025
4.1.3 397 4/24/2025
4.1.2 418 4/16/2025
4.1.1 524 3/7/2025
4.1.0 434 3/7/2025
4.0.6 346 2/24/2025
4.0.5 364 2/8/2025
4.0.4 845 9/13/2024
4.0.3 366 8/5/2024
4.0.2 424 6/24/2024
4.0.1 761 4/30/2024
Loading failed

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