Skip to content
/ CsWin32 Public
forked from microsoft/CsWin32

A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.

License

Notifications You must be signed in to change notification settings

0x5bfa/CsWin32

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

C#/Win32 P/Invoke Source Generator

A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.

NuGet (prerelease) NuGet (daily)

Build Status

Features

  • Rapidly add P/Invoke methods and supporting types to your C# project.
  • No bulky assemblies to ship alongside your application.
  • SafeHandle-types automatically generated.
  • Generates xml documentation based on and links back to learn.microsoft.com

Animation demonstrating p/invoke code generation

Usage

Check out our product documentation.

About

A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 92.8%
  • PowerShell 7.2%