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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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