dotnet/pinvoke
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.
License & maintenance
MIT is a permissive license: free to use commercially with attribution.
Last code push 3 years ago. Archived: read-only, no further updates.