14 #include <boost/system/error_code.hpp>
25 if (!::CreatePipe(&handles[0], &handles[1], NULL, 0))
27 BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR(
"CreatePipe() failed");
36 if (!::CreatePipe(&handles[0], &handles[1], NULL, 0))
38 BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec);