Re: [Mingw-w64-public] [PATCH] include/netfw: add INetFwRule2 and INetFwRule3 interfaces

2019-10-27 Thread Biswapriyo Nath
Update 1. From bc5513d7b725afe9be405cefacb7c1e63031af01 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 28 Oct 2019 10:39:23 +0530 Subject: [PATCH] include/netfw: add INetFwRule2 and INetFwRule3 interfaces Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/netfw.idl | 58 +++

Re: [Mingw-w64-public] Issue with DDK inlines

2019-10-27 Thread Liu Hao
在 2019/10/27 22:03, Maarten Verhage 写道: > Dear list members, > > I'm experimenting a bit with the native API of Windows. In > "x86_64-8.1.0-release-win32-seh-rt_v6-rev0" you offer DDK include files from > ReactOS. Are these also suitable to work with Windows? > > At this moment just including n

Re: [Mingw-w64-public] [PATCH] stdio/mingw_wvfscanf.c: Fix segmentation fault when a char or string format (without malloc option) is used.

2019-10-27 Thread Liu Hao
在 2019/10/28 5:09, Martin Storsjö 写道: > LGTM. > > Maybe clarify the commit message as "This is an exact copy of > 72d60c1a06490ec5937e6c620956b167bf0bf329, but applied on > mingw_wvfscanf.c insted of mingw_vfscanf.c." - otherwise the > interpretation (if you don't look up the commit) can be "oh, w

Re: [Mingw-w64-public] [PATCH] include/netfw: add INetFwRule2 and INetFwRule3 interfaces

2019-10-27 Thread Liu Hao
在 2019/10/28 3:25, Biswapriyo Nath 写道: > ... > > > > +interface INetFwProduct; > +interface INetFwProducts; > + > +[ > +uuid(2C5BC43E-3369-4C33-AB0C-BE9469677AF4) > +] > +coclass NetFwRule > +{ > +[default] interface INetFwRule; > +} Seems this hun

Re: [Mingw-w64-public] high DPI scaling APIs

2019-10-27 Thread Randy Eckman
If I use the official Windows SDK, how do I set up proper linking against that? On Sun, Oct 27, 2019 at 08:45 Biswapriyo Nath wrote: > How one can get the APIs in shcore.mri? > > 1. Get it from MSDN docs. > 2. Get it from actual Windows SDK lib file. > > _

[Mingw-w64-public] [PATCH] headers: Add _beginthread_proc_type and _beginthreadex_proc_type typedefs

2019-10-27 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-headers/crt/process.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mingw-w64-headers/crt/process.h b/mingw-w64-headers/crt/process.h index 907754826..d96be28cc 100644 --- a/mingw-w64-headers/crt/process.h +++ b/mingw-w64-he

Re: [Mingw-w64-public] [PATCH] stdio/mingw_wvfscanf.c: Return `EOF` on failure rather than `WEOF`.

2019-10-27 Thread Martin Storsjö
On Sun, 27 Oct 2019, Liu Hao wrote: The C standard says `EOF` shall be returned in this case, which is negative. On Windows `WEOF` expands to `65535`, which is positive. Testcase: ``` #define __USE_MINGW_ANSI_STDIO 1 #include #include int main(void) { int unused; int ngot =

Re: [Mingw-w64-public] [PATCH] stdio/mingw_wvfscanf.c: Fix segmentation fault when a char or string format (without malloc option) is used.

2019-10-27 Thread Martin Storsjö
On Sat, 26 Oct 2019, Liu Hao wrote: This is an exact copy of 72d60c1a06490ec5937e6c620956b167bf0bf329. Testcase: ``` #define __USE_MINGW_ANSI_STDIO 1 #include #include int main(void) { char res[10]; int cnt = swscanf(L"abcdefg", L"%5s", res); printf("res = %s, cnt = %d

[Mingw-w64-public] [PATCH] include/netfw: add INetFwRule2 and INetFwRule3 interfaces

2019-10-27 Thread Biswapriyo Nath
... From f460ea9ffec270e63b4fdcf6d12b3d400f756309 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 28 Oct 2019 00:50:45 +0530 Subject: [PATCH] include/netfw: add INetFwRule2 and INetFwRule3 interfaces Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/netfw.idl | 66 +

[Mingw-w64-public] Issue with DDK inlines

2019-10-27 Thread Maarten Verhage
Dear list members, I'm experimenting a bit with the native API of Windows. In "x86_64-8.1.0-release-win32-seh-rt_v6-rev0" you offer DDK include files from ReactOS. Are these also suitable to work with Windows? At this moment just including ntddk.h goes wrong. I've nothing modified in my x86_64

Re: [Mingw-w64-public] high DPI scaling APIs

2019-10-27 Thread Biswapriyo Nath
How one can get the APIs in shcore.mri? 1. Get it from MSDN docs. 2. Get it from actual Windows SDK lib file. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] crt/shcore: move shcore to lib-common

2019-10-27 Thread Liu Hao
在 2019/10/27 15:28, Biswapriyo Nath 写道: > ... > > Thanks. Pushed. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net

[Mingw-w64-public] [PATCH] crt/shcore: move shcore to lib-common

2019-10-27 Thread Biswapriyo Nath
... From 574cab70b96a6518eaafeb567b273ccac2718faf Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 27 Oct 2019 12:53:16 +0530 Subject: [PATCH] crt/shcore: move shcore to lib-common Signed-off-by: Biswapriyo Nath --- .../{libarm32 => lib-common}/shcore.def | 109 +++---