On Wed Oct 2 12:22:02 2024 +0000, eric pouech wrote:
In that case, likely GetFileType(h) == FILE_TYPE_CHAR would be a clearer discrimination to call into console APIs
I don't know the details here (so ignore my comment if it doesn't make sense) but we had to switch to `VerifyConsoleIoHandle()` to properly detect console in msvcrt.