]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/process/windows.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / process / windows.hpp
1 // Copyright (c) 2016 Klemens D. Morgenstern
2 //
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 #ifndef BOOST_PROCESS_WINDOWS_HPP_
6 #define BOOST_PROCESS_WINDOWS_HPP_
7
8 #include <boost/process/detail/windows/show_window.hpp>
9
10 /** \file boost/process/windows.hpp
11 *
12 * Header which provides the windows extensions.
13
14 \xmlonly
15 <programlisting>
16 namespace boost {
17 namespace process {
18 namespace windows {
19 <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::hide">hide</globalname>;
20 <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::maximized">maximized</globalname>;
21 <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::minimized">minimized</globalname>;
22 <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::minimized_not_active">minimized_not_active</globalname>;
23 <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::not_active">not_active</globalname>;
24 <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::show">show</globalname>;
25 <emphasis>unspecified</emphasis> <globalname alt="boost::process::windows::show_normal">show_normal</globalname>;
26 }
27 }
28 }
29 </programlisting>
30 * \endxmlonly
31 * \warning Only available on windows.
32 * See the parameter documentation of [ShowWindow](https://msdn.microsoft.com/en-us/library/windows/desktop/ms633548.aspx) for more details.
33 */
34
35 namespace boost { namespace process {
36
37 ///Namespace containing the windows exensions.
38 namespace windows {
39
40 ///Hides the window and activates another window.
41 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_HIDE_ > hide;
42 ///Activates the window and displays it as a maximized window.
43 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWMAXIMIZED_ > maximized;
44 ///Activates the window and displays it as a minimized window.
45 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWMINIMIZED_ > minimized;
46 ///Displays the window as a minimized window. This value is similar to `minimized`, except the window is not activated.
47 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWMINNOACTIVE_> minimized_not_active;
48 ///Displays a window in its most recent size and position. This value is similar to show_normal`, except that the window is not activated.
49 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWNOACTIVATE_ > not_active;
50 ///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.
51 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWNORMAL_ > show;
52 ///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.
53 constexpr ::boost::process::detail::windows::show_window<::boost::winapi::SW_SHOWNORMAL_ > show_normal;
54
55
56 }}}
57
58 #endif /* BOOST_PROCESS_WINDOWS_HPP_ */