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