It's allowed
https://docs.microsoft.com/en-us/windows/win32/api/threadpoolapiset/nf-threadpoolapiset-createthreadpool
---
 mingw-w64-headers/include/threadpoolapiset.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-headers/include/threadpoolapiset.h 
b/mingw-w64-headers/include/threadpoolapiset.h
index ba7e0a52..bdff00a6 100644
--- a/mingw-w64-headers/include/threadpoolapiset.h
+++ b/mingw-w64-headers/include/threadpoolapiset.h
@@ -14,7 +14,7 @@
 extern "C" {
 #endif
 
-#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
+#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
   typedef VOID (WINAPI *PTP_WIN32_IO_CALLBACK) (PTP_CALLBACK_INSTANCE 
Instance, PVOID Context, PVOID Overlapped, ULONG IoResult, ULONG_PTR 
NumberOfBytesTransferred, PTP_IO Io);
 
 #if _WIN32_WINNT >= 0x0600
-- 
2.17.1



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

Reply via email to