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

Add pseudo console APIs #479

Closed AArnott closed 4 years ago

AArnott commented 4 years ago

Closes #430

AArnott commented 4 years ago

@zoeyr do you want to review this? I'm still using SafeObjectHandle instead of SafeFileHandle because we still target netstandard1.1 (which goes away in #476). I may be able to "get this right" if that PR completes soon.

ZoeyR commented 4 years ago

Probably best to also have @zadjii-msft or @dhowett take a look as well.

AArnott commented 4 years ago

If it's not too hard, we can add unit tests for these p/invoke methods as well.