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
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
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