On Tue, 27 Jun 2023, LIU Hao wrote:
在 2023-06-27 20:24, Steve Lhomme 写道:
They're allowed by the WACK and available in windowsapp.lib since 19H1.
They're not allowed by the Windows SDK headers.
These functions can be found in api-ms-win-core-localization-l1-2-0.
---
mingw-w64-headers/include/winnls.h | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Are there any reasons why we should declare it while Microsoft do not? Are
there any projects that use them?
If Windows SDK headers do not declare these functions, then people shouldn't
use them in that scenario, even they seem to pass WACK.
My 2 cents here is that I think we could allow it for pragmatic reasons,
even if the WinSDK doesn't allow it, if it is allowed on a technical level
(WACK and windowsapp.lib), since it most probably helps porting software
that otherwise is a much larger effort to port - even if it wouldn't be
buildable in the same configuration with current WinSDK (it might be fixed
in future SDKs?).
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public