It is not allowed in older SDK. It won't compile or won't link. The target DLL
will likely not have the function, so it should not be used when targetting
older
Windows 10 versions in UWP mode.
---
mingw-w64-headers/include/systemtopologyapi.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mingw-w64-headers/include/systemtopologyapi.h
b/mingw-w64-headers/include/systemtopologyapi.h
index d94e42fe6..c83548b61 100644
--- a/mingw-w64-headers/include/systemtopologyapi.h
+++ b/mingw-w64-headers/include/systemtopologyapi.h
@@ -14,9 +14,11 @@
extern "C" {
#endif
-#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
+#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || NTDDI_VERSION >=
NTDDI_WIN10_19H1
WINBASEAPI WINBOOL WINAPI GetNumaHighestNodeNumber (PULONG
HighestNodeNumber);
+#endif
+#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
#if _WIN32_WINNT >= 0x0601
WINBASEAPI WINBOOL WINAPI GetNumaNodeProcessorMaskEx (USHORT Node,
PGROUP_AFFINITY ProcessorMask);
#endif
--
2.39.2
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public