Re: [Mingw-w64-public] [PATCH] Add missed functions to retrieve pseudo-handles

2018-09-27 Thread Liu Hao
在 2018/9/28 0:59, Ruslan Garipov 写道: >> Then these functions should be placed in an `#if ... #endif` block, >> whose condition is `_WIN32_WINNT >= 0x0602`. > > They are already ``there''; I have added these functions into > **existed** define-guard with condition you specified. Here, this is the

Re: [Mingw-w64-public] [PATCH] Add missed functions to retrieve pseudo-handles

2018-09-27 Thread Ruslan Garipov
Then these functions should be placed in an `#if ... #endif` block, whose condition is `_WIN32_WINNT >= 0x0602`. They are already ``there''; I have added these functions into **existed** define-guard with condition you specified. Here, this is the original file before my changes (with line num

[Mingw-w64-public] [PATCH] include/wincon.h: Add new console mode flags.

2018-09-27 Thread Liu Hao
在 2018/9/27 23:33, Biswapriyo Nath 写道: > When I complie with mingw-w64 toolchain in msys2, gcc shows the console > modes are not present (for example ENABLE_VIRTUAL_TERMINAL_INPUT and > DISABLEFNEWLINE_AUTO_RETURN). > The patch attached should suffice. -- Best regards, LH_Mouse From 6514be5c25

[Mingw-w64-public] Add new console modes in wincon.h

2018-09-27 Thread Biswapriyo Nath
When I complie with mingw-w64 toolchain in msys2, gcc shows the console modes are not present (for example ENABLE_VIRTUAL_TERMINAL_INPUT and DISABLEFNEWLINE_AUTO_RETURN). Windows 10 adds new console modes which can be found here: https://docs.microsoft.com/en-us/windows/console/setconsolemode. __

Re: [Mingw-w64-public] [PATCH] Add missed functions to retrieve pseudo-handles

2018-09-27 Thread Liu Hao
在 2018/9/27 16:41, Ruslan Garipov 写道: > This patch adds functions to retrieve pseudo-handles of process or/and > threads used to specify their tokens. > > The functions are missed in the mingw-w64's headers but exist in headers > of Microsoft Windows SDK v10.0.14393.0 and later. According to the >

[Mingw-w64-public] [PATCH] Add missed functions to retrieve pseudo-handles

2018-09-27 Thread Ruslan Garipov
This patch adds functions to retrieve pseudo-handles of process or/and threads used to specify their tokens. The functions are missed in the mingw-w64's headers but exist in headers of Microsoft Windows SDK v10.0.14393.0 and later. According to the original (Windows SDK's) file ``processthreadsap