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