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.
MIT License
2.12k stars 222 forks source link

Fix Kernel32.ReadConsole method signature #525

Closed AArnott closed 4 years ago

AArnott commented 4 years ago

It was missing the out modifier on the lpNumberOfCharsRead parameter. While fixing it, I went ahead and renovated the entire signature to make it easier to use.

Fixes #523