]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/winapi/include/boost/detail/winapi/apc.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / winapi / include / boost / detail / winapi / apc.hpp
1 // apc.hpp --------------------------------------------------------------//
2
3 // Copyright 2010 Vicente J. Botet Escriba
4 // Copyright 2015 Andrey Semashev
5
6 // Distributed under the Boost Software License, Version 1.0.
7 // See http://www.boost.org/LICENSE_1_0.txt
8
9
10 #ifndef BOOST_DETAIL_WINAPI_APC_HPP
11 #define BOOST_DETAIL_WINAPI_APC_HPP
12
13 #include <boost/detail/winapi/config.hpp>
14
15 #ifdef BOOST_HAS_PRAGMA_ONCE
16 #pragma once
17 #endif
18
19 #if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4
20
21 #include <boost/detail/winapi/basic_types.hpp>
22
23 #if !defined( BOOST_USE_WINDOWS_H )
24 extern "C" {
25 typedef boost::detail::winapi::VOID_
26 (NTAPI *PAPCFUNC)(boost::detail::winapi::ULONG_PTR_ Parameter);
27
28 BOOST_SYMBOL_IMPORT boost::detail::winapi::DWORD_ WINAPI
29 QueueUserAPC(
30 PAPCFUNC pfnAPC,
31 boost::detail::winapi::HANDLE_ hThread,
32 boost::detail::winapi::ULONG_PTR_ dwData);
33 }
34 #endif
35
36 namespace boost {
37 namespace detail {
38 namespace winapi {
39 typedef ::PAPCFUNC PAPCFUNC_;
40 using ::QueueUserAPC;
41 }
42 }
43 }
44
45 #endif // BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4
46
47 #endif // BOOST_DETAIL_WINAPI_APC_HPP