Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:47

0001 /*
0002  * Copyright 2010 Vicente J. Botet Escriba
0003  * Copyright 2015 Andrey Semashev
0004  *
0005  * Distributed under the Boost Software License, Version 1.0.
0006  * See http://www.boost.org/LICENSE_1_0.txt
0007  */
0008 
0009 #ifndef BOOST_WINAPI_GET_CURRENT_PROCESS_HPP_INCLUDED_
0010 #define BOOST_WINAPI_GET_CURRENT_PROCESS_HPP_INCLUDED_
0011 
0012 #include <boost/winapi/basic_types.hpp>
0013 #include <boost/winapi/detail/header.hpp>
0014 
0015 #ifdef BOOST_HAS_PRAGMA_ONCE
0016 #pragma once
0017 #endif
0018 
0019 // Windows CE define GetCurrentProcess as an inline function in kfuncs.h
0020 #if !defined( BOOST_USE_WINDOWS_H ) && !defined( UNDER_CE )
0021 extern "C" {
0022 BOOST_WINAPI_IMPORT boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC GetCurrentProcess(BOOST_WINAPI_DETAIL_VOID);
0023 }
0024 #endif
0025 
0026 namespace boost {
0027 namespace winapi {
0028 using ::GetCurrentProcess;
0029 }
0030 }
0031 
0032 #include <boost/winapi/detail/footer.hpp>
0033 
0034 #endif // BOOST_WINAPI_GET_CURRENT_PROCESS_HPP_INCLUDED_