Discussion:
[Mingw-w64-public] [PATCH] winbase.h: WaitForMultipleObjects is available on UWP
Hugo Beauzée-Luyssen
2017-06-27 15:44:48 UTC
Permalink
---
mingw-w64-headers/include/winbase.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/mingw-w64-headers/include/winbase.h b/mingw-w64-headers/include/winbase.h
index 74bc512c..be050cc6 100644
--- a/mingw-w64-headers/include/winbase.h
+++ b/mingw-w64-headers/include/winbase.h
@@ -1265,6 +1265,10 @@ extern "C" {
#define CRITICAL_SECTION_NO_DEBUG_INFO RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO
#endif

+#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || _WIN32_WINNT >= _WIN32_WINNT_WIN10
+ WINBASEAPI DWORD WINAPI WaitForMultipleObjects (DWORD nCount, CONST HANDLE *lpHandles, WINBOOL bWaitAll, DWORD dwMilliseconds);
+#endif
+
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
typedef enum _DEP_SYSTEM_POLICY_TYPE {
DEPPolicyAlwaysOff = 0,
@@ -1286,7 +1290,6 @@ extern "C" {
#define SET_TAPE_DRIVE_INFORMATION 1

WINBASEAPI WINBOOL WINAPI PulseEvent (HANDLE hEvent);
- WINBASEAPI DWORD WINAPI WaitForMultipleObjects (DWORD nCount, CONST HANDLE *lpHandles, WINBOOL bWaitAll, DWORD dwMilliseconds);
WINBASEAPI ATOM WINAPI GlobalDeleteAtom (ATOM nAtom);
WINBASEAPI WINBOOL WINAPI InitAtomTable (DWORD nSize);
WINBASEAPI ATOM WINAPI DeleteAtom (ATOM nAtom);
--
2.11.0
Hugo Beauzée-Luyssen
2017-07-10 15:06:02 UTC
Permalink
Post by Hugo Beauzée-Luyssen
---
mingw-w64-headers/include/winbase.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/mingw-w64-headers/include/winbase.h
b/mingw-w64-headers/include/winbase.h
index 74bc512c..be050cc6 100644
--- a/mingw-w64-headers/include/winbase.h
+++ b/mingw-w64-headers/include/winbase.h
@@ -1265,6 +1265,10 @@ extern "C" {
#define CRITICAL_SECTION_NO_DEBUG_INFO
RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO
#endif
+#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || _WIN32_WINNT
Post by Hugo Beauzée-Luyssen
= _WIN32_WINNT_WIN10
+ WINBASEAPI DWORD WINAPI WaitForMultipleObjects (DWORD nCount, CONST
HANDLE *lpHandles, WINBOOL bWaitAll, DWORD dwMilliseconds);
+#endif
+
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
typedef enum _DEP_SYSTEM_POLICY_TYPE {
DEPPolicyAlwaysOff = 0,
@@ -1286,7 +1290,6 @@ extern "C" {
#define SET_TAPE_DRIVE_INFORMATION 1
WINBASEAPI WINBOOL WINAPI PulseEvent (HANDLE hEvent);
- WINBASEAPI DWORD WINAPI WaitForMultipleObjects (DWORD nCount, CONST
HANDLE *lpHandles, WINBOOL bWaitAll, DWORD dwMilliseconds);
WINBASEAPI ATOM WINAPI GlobalDeleteAtom (ATOM nAtom);
WINBASEAPI WINBOOL WINAPI InitAtomTable (DWORD nSize);
WINBASEAPI ATOM WINAPI DeleteAtom (ATOM nAtom);
--
2.11.0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Ping for review :)

Regards,
--
Hugo Beauzée-Luyssen
***@beauzee.fr
Loading...