Skip to content

Switch to Microsoft.Windows.CsWin32 #85

@virzak

Description

@virzak

Consider switching to Microsoft.Windows.CsWin32. The related PR is #84

The main benefit of generated P/Invoke methods is that the project contains less code and instead relies on the generated building block. This will result in:

  • Ease of implementing future controls
  • Standardized constant, method, and enumeration names, guaranteed to be identical to Win32
  • Codesharing across the projects and ease of adoption
  • Less error-prone code, since there is no opportunity to get it wrong

Previously recommended approach dotnet/pinvoke is currently recommends Microsoft.Windows.CsWin32 source generators

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions