Re: [Mingw-w64-public] [PATCH] headers: enable GetVolumePathNameW in Win10 UWP builds

2023-05-30 Thread LIU Hao
在 2023/5/30 14:41, Steve Lhomme 写道: Indeed, here I have it in DESKTOP since 19041. So that's still a Windows 10 SDK (20H1), the latest being 19045 [1]. The API is not hidden by a NTDDI_VERSION check, so it should apply to all Windows 10 versions. And since the Windows App Certification doesn't

Re: [Mingw-w64-public] [PATCH] headers: enable GetVolumePathNameW in Win10 UWP builds

2023-05-30 Thread Steve Lhomme
Hi, On 2023-05-28 10:51, LIU Hao wrote: 在 2023-05-27 18:05, Steve Lhomme 写道: The documentation doesn't say it's allowed, but the WIndows SDK allow it and the Windows App Certification as well. The official page for allowed API's also doesn't say it's allowed [1] but the DLL that contains it

[Mingw-w64-public] [PATCH] winstorecompat: remove _beginthread() from windowsappcompat

2023-05-30 Thread Steve Lhomme
It's allowed now in Windows 10. Keep it forbidden in winstorecompat (Win8) as it's forbidden there [1]. Win10 UWP builds will use the version in api-ms-win-crt-runtime-l1-1-0.dll via windowsapp. [1]

[Mingw-w64-public] [PATCH 3/3] winstorecompat: remove GetModuleHandle() from windowsappcompat

2023-05-30 Thread Steve Lhomme
It's allowed now in Windows 10. Keep it forbidden in winstorecompat (Win8). --- mingw-w64-libraries/winstorecompat/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/mingw-w64-libraries/winstorecompat/Makefile.am b/mingw-w64-libraries/winstorecompat/Makefile.am index

[Mingw-w64-public] [PATCH 1/3] headers: enable more module API in Win10 UWP builds

2023-05-30 Thread Steve Lhomme
The documentation doesn't say they're allowed, but the WIndows SDK allow it since 22000 and the Windows App Certification as well. It is not restricted to Win11 in both cases but applies when targeting Win10 as well. --- mingw-w64-headers/include/libloaderapi.h | 51 ++-- 1

[Mingw-w64-public] [PATCH 2/3] headers: enable GET_MODULE_HANDLE_EX_xxx defines in UWP builds

2023-05-30 Thread Steve Lhomme
It's available in the Windows 11 SDK for all builds targeting FAMILY_APP and more. --- mingw-w64-headers/include/libloaderapi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-w64-headers/include/libloaderapi.h b/mingw-w64-headers/include/libloaderapi.h index 288e78d9f..b74d8775a

[Mingw-w64-public] [PATCH 1/2] headers: enable some Registry API calls in UWP 8.1+ builds

2023-05-30 Thread Steve Lhomme
The documentation doesn't say it's allowed, but the WIndows SDK allow it since 22000 and the Windows App Certification as well. It is not restricted to Win11 in both cases. It's even allowed for 8.1 in api-ms-win-core-registry-l1-1-0.dll. --- mingw-w64-headers/include/winreg.h | 92

[Mingw-w64-public] [PATCH 2/2] add api-ms-core-registry-* def files

2023-05-30 Thread Steve Lhomme
These are needed to enable the registry API calls available in UWP. --- mingw-w64-crt/Makefile.am | 4 ++ .../api-ms-win-core-registry-l1-1-0.def | 47 +++ .../api-ms-win-core-registry-l2-1-0.def | 37 +++