mirror of
https://github.com/boostorg/detail.git
synced 2025-08-01 05:14:28 +02:00
Removed RegisterWaitForSingleObjectEx as it is not present in all Windows SDK versions.
[SVN r86474]
This commit is contained in:
@@ -15,6 +15,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
namespace detail
|
namespace detail
|
||||||
@@ -27,7 +29,6 @@ typedef ::WAITORTIMERCALLBACKFUNC WAITORTIMERCALLBACKFUNC_;
|
|||||||
typedef ::WAITORTIMERCALLBACK WAITORTIMERCALLBACK_;
|
typedef ::WAITORTIMERCALLBACK WAITORTIMERCALLBACK_;
|
||||||
|
|
||||||
using ::RegisterWaitForSingleObject;
|
using ::RegisterWaitForSingleObject;
|
||||||
using ::RegisterWaitForSingleObjectEx;
|
|
||||||
using ::UnregisterWait;
|
using ::UnregisterWait;
|
||||||
using ::UnregisterWaitEx;
|
using ::UnregisterWaitEx;
|
||||||
|
|
||||||
@@ -64,15 +65,6 @@ __declspec(dllimport) BOOL_ WINAPI RegisterWaitForSingleObject
|
|||||||
ULONG_ dwFlags
|
ULONG_ dwFlags
|
||||||
);
|
);
|
||||||
|
|
||||||
__declspec(dllimport) HANDLE_ WINAPI RegisterWaitForSingleObjectEx
|
|
||||||
(
|
|
||||||
HANDLE_ hObject,
|
|
||||||
WAITORTIMERCALLBACK_ Callback,
|
|
||||||
PVOID_ Context,
|
|
||||||
ULONG_ dwMilliseconds,
|
|
||||||
ULONG_ dwFlags
|
|
||||||
);
|
|
||||||
|
|
||||||
__declspec(dllimport) BOOL_ WINAPI UnregisterWait(HANDLE_ WaitHandle);
|
__declspec(dllimport) BOOL_ WINAPI UnregisterWait(HANDLE_ WaitHandle);
|
||||||
__declspec(dllimport) BOOL_ WINAPI UnregisterWaitEx(HANDLE_ WaitHandle, HANDLE_ CompletionEvent);
|
__declspec(dllimport) BOOL_ WINAPI UnregisterWaitEx(HANDLE_ WaitHandle, HANDLE_ CompletionEvent);
|
||||||
|
|
||||||
@@ -99,4 +91,6 @@ inline ULONG_ wt_set_max_threadpool_threads(ULONG_ flags, ULONG_ limit)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN2K
|
||||||
|
|
||||||
#endif // BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
|
#endif // BOOST_DETAIL_WINAPI_THREAD_POOL_HPP
|
||||||
|
Reference in New Issue
Block a user