1 // GetLastError.hpp --------------------------------------------------------------//
3 // Copyright 2010 Vicente J. Botet Escriba
5 // Distributed under the Boost Software License, Version 1.0.
6 // See http://www.boost.org/LICENSE_1_0.txt
9 #ifndef BOOST_DETAIL_WINAPI_GETLASTERROR_HPP
10 #define BOOST_DETAIL_WINAPI_GETLASTERROR_HPP
12 #include <boost/detail/winapi/basic_types.hpp>
14 #ifdef BOOST_HAS_PRAGMA_ONCE
21 #if defined( BOOST_USE_WINDOWS_H )
24 extern "C" __declspec(dllimport) DWORD_ WINAPI
31 #endif // BOOST_DETAIL_WINAPI_GETLASTERROR_HPP