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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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