在 2023-06-06 21:26, Luca Bacci 写道:
Hi! Right, the Windows SDK defines FLS_MAXIMUM_AVAILABLE unconditionally, let's 
do the same here.

Sorry here was some confusion. As this value has been increased only since Windows 10, there really should be an `#if` check.

I was a bit uncertain about which macro to check: Conventionally it should be `_WIN32_WINNT`, however everything since Windows 10 is identified as `0x0A00`, including all versions prior to 19H1. Or, should we follow recent patches, do check for `NTDDI_VERSION >= NTDDI_WIN10_19H1`?

Additionally, I am curious how this macro is supposed to be useful? It's undocumented and unreferenced by any public headers.

--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to