2 * Copyright 2010 Vicente J. Botet Escriba
3 * Copyright 2015 Andrey Semashev
5 * Distributed under the Boost Software License, Version 1.0.
6 * See http://www.boost.org/LICENSE_1_0.txt
9 #ifndef BOOST_WINAPI_GET_CURRENT_PROCESS_HPP_INCLUDED_
10 #define BOOST_WINAPI_GET_CURRENT_PROCESS_HPP_INCLUDED_
12 #include <boost/winapi/basic_types.hpp>
14 #ifdef BOOST_HAS_PRAGMA_ONCE
18 // Windows CE define GetCurrentProcess as an inline function in kfuncs.h
19 #if !defined( BOOST_USE_WINDOWS_H ) && !defined( UNDER_CE )
21 BOOST_SYMBOL_IMPORT boost::winapi::HANDLE_ WINAPI GetCurrentProcess(BOOST_WINAPI_DETAIL_VOID);
27 using ::GetCurrentProcess;
31 #endif // BOOST_WINAPI_GET_CURRENT_PROCESS_HPP_INCLUDED_