This project contains various .NET assemblies that contain P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries. For example, Shlwapi.dll has all the exported functions from shlwapi.lib; Kernel32.dll has all for both kernel32.lib and kernelbase.lib. All assemblies are available via NuGet and provide builds against .NET 4.5, 4.8, 5.0, 6.0, .NET Standard 2.0, Core 3.1 and support SourceLink. Extensions are available for WinForms, WPF, and UWP projects. If you need support for other .NET versions, look to versions 3.3.15 and earlier. This project releases new versions every few weeks after sufficient testing. New releases are cataloged, along with release notes, in the Releases section and all NuGet packages are published to nuget.org. Each GitHub push triggers an AppVeyor build. The owners thank them for the free Open-Source account! The status of that build is in the header of this page.

Features

  • Look for the function you need in Microsoft documentation
  • Note which library or DLL the function is in
  • All functions that are imported from a single DLL should be placed into a single assembly that is named after the DLL
  • Where a structure is always passed by reference and where that structure needs to clean up memory allocations,
  • Look for the function you need in Microsoft documentation
  • All PInvoke calls are in assemblies prefixed by Vanara.PInvoke

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Vanara

Vanara Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Vanara!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

C#

Related Categories

C# Software Development Software, C# Frameworks

Registered

2022-09-19