[Mingw-w64-public] [PATCH] winstorecompat: fix CreateFileW mask for dwSecurityQosFlags

2022-03-07 Thread Steve Lhomme
The possible values are * SECURITY_ANONYMOUS which is 0<<16 aka 0x * SECURITY_IDENTIFICATION which is 1<<16 aka 0x0001 * SECURITY_IMPERSONATION which is 2<<16 aka 0x0002 * SECURITY_DELEGATION which is which is 3<<16 aka 0x0003 * SECURITY_CONTEXT_TRACKING which is 0x0004 *

Re: [Mingw-w64-public] Determining mingw runtime version

2022-03-07 Thread Stephen Kitt
Le 07/03/2022 13:34, sisyphus a écrit : On Mon, Mar 7, 2022 at 6:27 PM Gisle Vanem wrote: > A command that displays only the value of __MINGW64_VERSION_MAJOR would > probably suffice. Some .bat-file with: setlocal set %find=%WinDir%\system32\find.exe if %MINGW32%. == . set MINGW32=f:\MinGW32\

Re: [Mingw-w64-public] Need ConvertStringToBSTR and ConvertBSTRToString API for unrar

2022-03-07 Thread LIU Hao
在 2022-03-05 22:12, Biswapriyo Nath 写道: unrar project needs ConvertStringToBSTR and ConvertBSTRToString APIs which are implemented in comsupp library in MSVC. Can I add those APIs in mingw-w64? Will there be any license/legal issue? What could the potential issues be? There are a lot of thing

Re: [Mingw-w64-public] Determining mingw runtime version

2022-03-07 Thread sisyphus
On Mon, Mar 7, 2022 at 6:27 PM Gisle Vanem wrote: > > > A command that displays only the value of __MINGW64_VERSION_MAJOR would > > probably suffice. > > Some .bat-file with: > > setlocal > set %find=%WinDir%\system32\find.exe > if %MINGW32%. == . set MINGW32=f:\MinGW32\TDM-gcc > > type "%MINGW32