Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/boost/process/v1/detail/windows/close_in.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Copyright (c) 2006, 2007 Julio M. Merino Vidal
0002 // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
0003 // Copyright (c) 2009 Boris Schaeling
0004 // Copyright (c) 2010 Felipe Tanus, Boris Schaeling
0005 // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0008 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0009 
0010 #ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_IN_HPP
0011 #define BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_IN_HPP
0012 
0013 #include <boost/process/v1/detail/config.hpp>
0014 #include <boost/process/v1/detail/handler_base.hpp>
0015 #include <boost/winapi/process.hpp>
0016 #include <boost/winapi/handles.hpp>
0017 
0018 namespace boost { namespace process { BOOST_PROCESS_V1_INLINE namespace v1 { namespace detail { namespace windows {
0019 
0020 struct close_in : public ::boost::process::v1::detail::handler_base
0021 {
0022     template <class WindowsExecutor>
0023     void on_setup(WindowsExecutor &e) const
0024     {
0025         e.startup_info.hStdInput = boost::winapi::INVALID_HANDLE_VALUE_;
0026         e.startup_info.dwFlags  |= boost::winapi::STARTF_USESTDHANDLES_;
0027     }
0028 };
0029 
0030 }}}}}
0031 
0032 #endif