File indexing completed on 2025-01-18 09:53:44
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_WINAPI_APC_HPP_INCLUDED_
0010 #define BOOST_WINAPI_APC_HPP_INCLUDED_
0011
0012 #include <boost/winapi/config.hpp>
0013
0014 #ifdef BOOST_HAS_PRAGMA_ONCE
0015 #pragma once
0016 #endif
0017
0018 #if BOOST_WINAPI_PARTITION_APP_SYSTEM
0019 #if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_NT4
0020 #include <boost/winapi/basic_types.hpp>
0021
0022 #include <boost/winapi/detail/header.hpp>
0023
0024 #if !defined( BOOST_USE_WINDOWS_H )
0025 extern "C" {
0026 typedef boost::winapi::VOID_ (BOOST_WINAPI_NTAPI_CC *PAPCFUNC)(boost::winapi::ULONG_PTR_ Parameter);
0027
0028 BOOST_WINAPI_IMPORT boost::winapi::DWORD_ BOOST_WINAPI_WINAPI_CC
0029 QueueUserAPC(
0030 PAPCFUNC pfnAPC,
0031 boost::winapi::HANDLE_ hThread,
0032 boost::winapi::ULONG_PTR_ dwData);
0033 }
0034 #endif
0035
0036 namespace boost {
0037 namespace winapi {
0038 typedef ::PAPCFUNC PAPCFUNC_;
0039 using ::QueueUserAPC;
0040 }
0041 }
0042
0043 #include <boost/winapi/detail/footer.hpp>
0044
0045 #endif
0046 #endif
0047 #endif