[Mingw-w64-public] [PATCH] headers: add missing enum values and interfaces in mfobjects.idl

2020-04-10 Thread Biswapriyo Nath
... From 14d3f5615f24b253ade70ecd4c7dfcec25469743 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 10 Apr 2020 21:31:09 +0530 Subject: [PATCH] headers: add missing enum values and interfaces in mfobjects.idl remove the WINVER conditions in between enums as explained in previous commit s

Re: [Mingw-w64-public] [PATCH 3/6] winpthreads: always return 0 in pthread_check() if the thread ended is 0

2020-04-10 Thread Steve Lhomme
Hi (agin) On 2020-04-09 15:49, Liu Hao wrote: 在 2020/4/8 23:14, Steve Lhomme 写道: The code does the same but in a cleaner way, making room for the next patch. --- mingw-w64-libraries/winpthreads/src/sched.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mingw-w64-li

Re: [Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-10 Thread Jacek Caban
Hi Steve, Yeah, winrt IDLs in mingw-w64 are a mess right now. They are invalid and they required hacked widl version to generate. Long term solution is finishing winrt support in upstream widl (I did some work on that, but more is needed) and rewrite those IDLs. If you need a quicker solution,

Re: [Mingw-w64-public] [PATCH 3/6] winpthreads: always return 0 in pthread_check() if the thread ended is 0

2020-04-10 Thread Steve Lhomme
Hi, On 2020-04-09 15:49, Liu Hao wrote: 在 2020/4/8 23:14, Steve Lhomme 写道: The code does the same but in a cleaner way, making room for the next patch. --- mingw-w64-libraries/winpthreads/src/sched.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mingw-w64-librarie

Re: [Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-10 Thread Steve Lhomme
I had a lot of trouble generating the .h The widl I'm using would not recognize the declarations in namespaces. So I put the declerations outside and it kinda worked. Using the proper namespace and removing a few things works. But then the COBJMACRO API calls are quite different (and ugly) fr

Re: [Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-10 Thread Liu Hao
在 2020/4/10 0:48, Biswapriyo Nath 写道: > enum AsyncStatus is present in AsyncInfo.idl file in Windows SDK which is > not present in mingw-w64-headers. > > It's on line 32 in 'windows.foundation.idl'. But for some unknown reason WIDL doesn't recognize this typedef. -- Best regards, LH_Mouse

[Mingw-w64-public] [PATCH 2/5] crt: use consistent end of line (LF) in api-ms-win-*.def files

2020-04-10 Thread Steve Lhomme
--- .../api-ms-win-core-console-l1-1-0.def| 36 +-- .../lib32/api-ms-win-core-console-l1-1-0.def | 36 +-- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/mingw-w64-crt/lib-common/api-ms-win-core-console-l1-1-0.def b/mingw-w64-crt/lib-comm

[Mingw-w64-public] [PATCH 5/5] crt: add new found API entries api-ms-win-*.def

2020-04-10 Thread Steve Lhomme
The parameters size in lib32 were generated from values found in other .def files of lib32. --- .../lib-common/api-ms-win-core-com-l1-1-1.def | 15 + .../api-ms-win-core-datetime-l1-1-1.def | 4 ++ .../api-ms-win-core-datetime-l1-1-2.def | 6 ++ .../api-ms-win-core-debug-l1-1-1.d

[Mingw-w64-public] [PATCH 4/5] crt: remove GetFileVersionInfoSizeW/GetFileVersionInfoW from version-l1-1-1

2020-04-10 Thread Steve Lhomme
This function doesn't exist on my system and is not listed in the mincore doc: https://docs.microsoft.com/en-us/windows/win32/apiindex/windows-81-api-sets Only the xxxEx variants exist --- mingw-w64-crt/lib-common/api-ms-win-core-version-l1-1-1.def | 2 -- mingw-w64-crt/lib32/api-ms-win-core-vers

[Mingw-w64-public] [PATCH 3/5] crt: reorder api-ms-win-*.def files in alphanumerical order

2020-04-10 Thread Steve Lhomme
--- .../api-ms-win-core-file-ansi-l2-1-0.def | 2 +- .../api-ms-win-core-file-l1-2-1.def | 22 +-- .../lib-common/api-ms-win-core-io-l1-1-1.def | 4 ++-- .../api-ms-win-core-processthreads-l1-1-0.def | 2 +- .../lib-common/api-ms-win-crt-time-l1-1-0.def | 16

[Mingw-w64-public] [PATCH 1/5] crt: use consistent format for the library name in api-ms-win-*.def files

2020-04-10 Thread Steve Lhomme
--- mingw-w64-crt/lib-common/api-ms-win-core-comm-l1-1-0.def | 4 +++- mingw-w64-crt/lib-common/api-ms-win-core-console-l1-1-0.def | 4 +++- mingw-w64-crt/lib-common/api-ms-win-core-datetime-l1-1-0.def | 4 +++- .../lib-common/api-ms-win-core-psapi-ansi-l1-1-0.def | 2 +- mingw-w64-cr