Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:58:05

0001 // Copyright (c) 2016 Klemens D. Morgenstern
0002 //
0003 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0005 #ifndef BOOST_PROCESS_WINDOWS_HPP_
0006 #define BOOST_PROCESS_WINDOWS_HPP_
0007 
0008 #include <boost/process/detail/windows/show_window.hpp>
0009 
0010 /** \file boost/process/windows.hpp
0011  *
0012  *    Header which provides the windows extensions.
0013 
0014 \xmlonly
0015 <programlisting>
0016 namespace boost {
0017   namespace process {
0018     namespace windows {
0019       <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::hide">hide</globalname>;
0020       <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::maximized">maximized</globalname>;
0021       <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::minimized">minimized</globalname>;
0022       <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::minimized_not_active">minimized_not_active</globalname>;
0023       <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::not_active">not_active</globalname>;
0024       <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::show">show</globalname>;
0025       <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::show_normal">show_normal</globalname>;
0026       <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::create_no_window">create_no_window</globalname>;
0027     }
0028   }
0029 }
0030 </programlisting>
0031  *  \endxmlonly
0032  *   \warning Only available on windows.
0033  *   See the parameter documentation of [ShowWindow](https://msdn.microsoft.com/en-us/library/windows/desktop/ms633548.aspx) for more details.
0034  */
0035 
0036 namespace boost { namespace process {
0037 
0038 ///Namespace containing the windows extensions.
0039 namespace windows {
0040 
0041 ///Hides the window and activates another window.
0042 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_HIDE_           > hide;
0043 ///Activates the window and displays it as a maximized window.
0044 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWMAXIMIZED_  > maximized;
0045 ///Activates the window and displays it as a minimized window.
0046 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWMINIMIZED_  > minimized;
0047 ///Displays the window as a minimized window. This value is similar to `minimized`, except the window is not activated.
0048 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWMINNOACTIVE_> minimized_not_active;
0049 ///Displays a window in its most recent size and position. This value is similar to show_normal`, except that the window is not activated.
0050 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWNOACTIVATE_ > not_active;
0051 ///Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
0052 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWNORMAL_     > show;
0053 ///Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
0054 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWNORMAL_     > show_normal;
0055 
0056 ///Adds the [CREATE_NO_WINDOW](https://msdn.microsoft.com/en-us/library/windows/desktop/ms684863(v=vs.85).aspx) flag.
0057 constexpr ::boost::process::detail::windows::create_no_window_ create_no_window;
0058 
0059 }}}
0060 
0061 #endif /* BOOST_PROCESS_WINDOWS_HPP_ */