1 // apc.hpp --------------------------------------------------------------//
3 // Copyright 2010 Vicente J. Botet Escriba
4 // Copyright 2015 Andrey Semashev
6 // Distributed under the Boost Software License, Version 1.0.
7 // See http://www.boost.org/LICENSE_1_0.txt
10 #ifndef BOOST_DETAIL_WINAPI_APC_HPP
11 #define BOOST_DETAIL_WINAPI_APC_HPP
13 #include <boost/detail/winapi/config.hpp>
15 #ifdef BOOST_HAS_PRAGMA_ONCE
19 #if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4
21 #include <boost/detail/winapi/basic_types.hpp>
23 #if !defined( BOOST_USE_WINDOWS_H )
25 typedef boost::detail::winapi::VOID_
26 (NTAPI *PAPCFUNC)(boost::detail::winapi::ULONG_PTR_ Parameter);
28 BOOST_SYMBOL_IMPORT boost::detail::winapi::DWORD_ WINAPI
31 boost::detail::winapi::HANDLE_ hThread,
32 boost::detail::winapi::ULONG_PTR_ dwData);
39 typedef ::PAPCFUNC PAPCFUNC_;
45 #endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4
47 #endif // BOOST_DETAIL_WINAPI_APC_HPP