microsoft / CsWin32

A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.
MIT License
2k stars 84 forks source link

How to work with types like __CHAR_260? #991

Closed LegendaryB closed 1 year ago

LegendaryB commented 1 year ago

Hey,

pretty new to this package and was wondering how I get a string representation of for example CHAR_260? I'm calling Module32First and want to read/parse some values which are for example __CHAR_260 and CHAR_256. Any tips/hints? Sorry If this was asked before.

Kind Regards

AArnott commented 1 year ago

Please review https://github.com/microsoft/CsWin32/discussions/635 and join the discussion there if necessary.