00001 // 00002 // Boost.Process 00003 // ~~~~~~~~~~~~~ 00004 // 00005 // Copyright (c) 2006, 2007 Julio M. Merino Vidal 00006 // Copyright (c) 2008 Boris Schaeling 00007 // 00008 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00009 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00010 // 00011 00018 #ifndef BOOST_PROCESS_WIN32_CONTEXT_HPP 00019 #define BOOST_PROCESS_WIN32_CONTEXT_HPP 00020 00021 #include <boost/process/context.hpp> 00022 #include <string> 00023 #include <windows.h> 00024 00025 namespace boost { 00026 namespace process { 00027 00035 template <class String> 00036 class win32_basic_context : public basic_context<String> 00037 { 00038 public: 00042 win32_basic_context() 00043 : startupinfo(NULL) 00044 { 00045 } 00046 00050 STARTUPINFOA *startupinfo; 00051 }; 00052 00056 typedef win32_basic_context<std::string> win32_context; 00057 00058 } 00059 } 00060 00061 #endif