A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS. A collection of libraries intended to contain all P/Invoke method signatures for popular operating systems. Think of it as https://pinvoke.net, but proven to compile and work properly, and often with sample usage in the form of unit tests. A unique C# project wraps each native library. The C# project may multi-target in order to support many versions of .NET Framework, .NET Core and .NET Standard. Win32 APIs for all Windows versions are welcome. Special Windows Store targeted assemblies omit p/invoke signatures to banned APIs so your Store apps can depend on these libraries without getting rejected by the Store certification process. Provide a slightly higher than lowest level API for P/Invoke signatures.

Features

  • This library should be available on NuGet for easy consumption by your projects
  • You may also copy and paste the P/Invoke signatures you need directly into your projects if desired
  • Check out the P/Invoke coverage we have for each library
  • Cast any uint to specific enum type and pass as parameter
  • Install the NuGet package(s) for the DLLs you want to P/Invoke into
  • A unique C# project wraps each native library

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow P/Invoke

P/Invoke Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of P/Invoke!

Additional Project Details

Programming Language

C#

Related Categories

C# Frameworks

Registered

2022-09-15