blob: a7e9a14f2587cc41228fa6d612a05f7f75333960 (
plain) (
tree)
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>winapi_common: include/winapi/process.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">winapi_common
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_f1714771db42b7b5a0cd2ebe6e9736ed.html">winapi</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">process.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com></span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// This file is part of the "winapi-common" project.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// For details, see https://github.com/egor-tensin/winapi-common.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Distributed under the MIT License.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "cmd_line.hpp"</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "handle.hpp"</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "process_io.hpp"</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "resource.hpp"</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <boost/optional.hpp></span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <windows.h></span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <cstdint></span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <string></span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <utility></span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">namespace </span>winapi {</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structwinapi_1_1ProcessParameters.html"> 24</a></span> <span class="keyword">struct </span><a class="code" href="structwinapi_1_1ProcessParameters.html">ProcessParameters</a> {</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">enum</span> ConsoleCreationMode {</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  ConsoleNone,</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  ConsoleInherit,</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  ConsoleNew,</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  };</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">explicit</span> <a class="code" href="structwinapi_1_1ProcessParameters.html">ProcessParameters</a>(<span class="keyword">const</span> <a class="code" href="classwinapi_1_1CommandLine.html">CommandLine</a>& cmd_line) : cmd_line{cmd_line} {}</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="classwinapi_1_1CommandLine.html">CommandLine</a> cmd_line;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  boost::optional<process::IO> io;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  ConsoleCreationMode console_mode = ConsoleNew;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> };</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structwinapi_1_1ShellParameters.html"> 39</a></span> <span class="keyword">struct </span><a class="code" href="structwinapi_1_1ShellParameters.html">ShellParameters</a> : <a class="code" href="structwinapi_1_1ProcessParameters.html">ProcessParameters</a> {</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">static</span> <a class="code" href="structwinapi_1_1ShellParameters.html">ShellParameters</a> runas(<span class="keyword">const</span> <a class="code" href="classwinapi_1_1CommandLine.html">CommandLine</a>& cmd_line) {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="structwinapi_1_1ShellParameters.html">ShellParameters</a> params{cmd_line};</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  params.verb = <span class="stringliteral">"runas"</span>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">return</span> params;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">explicit</span> <a class="code" href="structwinapi_1_1ShellParameters.html">ShellParameters</a>(<span class="keyword">const</span> <a class="code" href="classwinapi_1_1CommandLine.html">CommandLine</a>& cmd_line) : <a class="code" href="structwinapi_1_1ProcessParameters.html">ProcessParameters</a>{cmd_line} {}</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  boost::optional<std::string> verb;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> };</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classwinapi_1_1Process.html"> 54</a></span> <span class="keyword">class </span><a class="code" href="classwinapi_1_1Process.html">Process</a> {</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">using</span> ID = DWORD;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">static</span> <a class="code" href="classwinapi_1_1Process.html">Process</a> <a class="code" href="classwinapi_1_1Process.html#a6ef0ce275ef09ed6ef1e115afeee7e6a">create</a>(<a class="code" href="structwinapi_1_1ProcessParameters.html">ProcessParameters</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">static</span> <a class="code" href="classwinapi_1_1Process.html">Process</a> <a class="code" href="classwinapi_1_1Process.html#a6ef0ce275ef09ed6ef1e115afeee7e6a">create</a>(<span class="keyword">const</span> <a class="code" href="classwinapi_1_1CommandLine.html">CommandLine</a>&);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">static</span> <a class="code" href="classwinapi_1_1Process.html">Process</a> <a class="code" href="classwinapi_1_1Process.html#a6ef0ce275ef09ed6ef1e115afeee7e6a">create</a>(<span class="keyword">const</span> <a class="code" href="classwinapi_1_1CommandLine.html">CommandLine</a>&, <a class="code" href="structwinapi_1_1process_1_1IO.html">process::IO</a>);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">static</span> <a class="code" href="classwinapi_1_1Process.html">Process</a> <a class="code" href="classwinapi_1_1Process.html#aa9f7cbc9b0e5530f0746606aacc5584e">shell</a>(<span class="keyword">const</span> <a class="code" href="structwinapi_1_1ShellParameters.html">ShellParameters</a>&);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">static</span> <a class="code" href="classwinapi_1_1Process.html">Process</a> <a class="code" href="classwinapi_1_1Process.html#aa9f7cbc9b0e5530f0746606aacc5584e">shell</a>(<span class="keyword">const</span> <a class="code" href="classwinapi_1_1CommandLine.html">CommandLine</a>&);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">static</span> <a class="code" href="classwinapi_1_1Process.html">Process</a> <a class="code" href="classwinapi_1_1Process.html#a4edc58e78ee81e5531af34fc4f806e24">current</a>();</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">static</span> <a class="code" href="classwinapi_1_1Process.html">Process</a> <a class="code" href="classwinapi_1_1Process.html#a48964bbb7968bd7b6796e8a3306d58d9">open</a>(ID <span class="keywordtype">id</span>, DWORD permissions = <a class="code" href="classwinapi_1_1Process.html#a4fffc3755642f3db56902106f1b96040">default_permissions</a>());</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">static</span> <a class="code" href="classwinapi_1_1Process.html">Process</a> <a class="code" href="classwinapi_1_1Process.html#af9d748078299957519ee67fd7f1e49b3">open_r</a>(ID);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">static</span> DWORD <a class="code" href="classwinapi_1_1Process.html#a4fffc3755642f3db56902106f1b96040">default_permissions</a>();</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">static</span> DWORD <a class="code" href="classwinapi_1_1Process.html#a4fc3ed404c1cf67dabb7867d0c9f638c">read_permissions</a>();</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classwinapi_1_1Process.html#aa44a8ca82178dfedd68865e4e47f7584"> 87</a></span>  ID <a class="code" href="classwinapi_1_1Process.html#aa44a8ca82178dfedd68865e4e47f7584">get_id</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_id; }</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classwinapi_1_1Process.html#a1b65a0f6dc25c1810161f2c5c9648249"> 89</a></span>  <span class="keyword">const</span> <a class="code" href="classwinapi_1_1Handle.html">Handle</a>& <a class="code" href="classwinapi_1_1Process.html#a1b65a0f6dc25c1810161f2c5c9648249">get_handle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_handle; }</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">bool</span> <a class="code" href="classwinapi_1_1Process.html#a5b02393edb57bd902e321037133c40eb">is_running</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">void</span> <a class="code" href="classwinapi_1_1Process.html#a273dcbc8cd69539d0f9fd4d1e09e67a7">wait</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">void</span> <a class="code" href="classwinapi_1_1Process.html#a155aefb272a151126fe2a65d583be880">terminate</a>(<span class="keywordtype">int</span> ec = 0) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">void</span> <a class="code" href="classwinapi_1_1Process.html#a1aedc4814dd9c154b6e03e572d873755">shut_down</a>(<span class="keywordtype">int</span> ec = 0) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">int</span> <a class="code" href="classwinapi_1_1Process.html#a359c11337c7e50370cd5375efa841131">get_exit_code</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  std::string <a class="code" href="classwinapi_1_1Process.html#a86cea0dd87e63ef93f6575d601ab31f5">get_exe_path</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">static</span> <a class="code" href="structwinapi_1_1Resource.html">Resource</a> <a class="code" href="classwinapi_1_1Process.html#a4ddbc4be71879ea7f91b05ad7f44435c">get_resource</a>(uint32_t <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">static</span> std::string <a class="code" href="classwinapi_1_1Process.html#ac700bc836a720384bed52a032628aaeb">get_resource_string</a>(uint32_t <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">explicit</span> <a class="code" href="classwinapi_1_1Process.html">Process</a>(<a class="code" href="classwinapi_1_1Handle.html">Handle</a>&& handle);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="classwinapi_1_1Process.html">Process</a>(ID, <a class="code" href="classwinapi_1_1Handle.html">Handle</a>&& handle);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">static</span> HMODULE get_exe_module();</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  ID m_id;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classwinapi_1_1Handle.html">Handle</a> m_handle;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> };</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  </div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> } <span class="comment">// namespace winapi</span></div>
<div class="ttc" id="aclasswinapi_1_1CommandLine_html"><div class="ttname"><a href="classwinapi_1_1CommandLine.html">winapi::CommandLine</a></div><div class="ttdoc">Command line for the current process or for launching new processes.</div><div class="ttdef"><b>Definition:</b> <a href="cmd__line_8hpp_source.html#l00021">cmd_line.hpp:21</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Handle_html"><div class="ttname"><a href="classwinapi_1_1Handle.html">winapi::Handle</a></div><div class="ttdoc">HANDLE wrapper.</div><div class="ttdef"><b>Definition:</b> <a href="handle_8hpp_source.html#l00025">handle.hpp:25</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html"><div class="ttname"><a href="classwinapi_1_1Process.html">winapi::Process</a></div><div class="ttdoc">Create a new process or open an existing process.</div><div class="ttdef"><b>Definition:</b> <a href="process_8hpp_source.html#l00054">process.hpp:54</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a155aefb272a151126fe2a65d583be880"><div class="ttname"><a href="classwinapi_1_1Process.html#a155aefb272a151126fe2a65d583be880">winapi::Process::terminate</a></div><div class="ttdeci">void terminate(int ec=0) const</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00315">process.cpp:315</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a1aedc4814dd9c154b6e03e572d873755"><div class="ttname"><a href="classwinapi_1_1Process.html#a1aedc4814dd9c154b6e03e572d873755">winapi::Process::shut_down</a></div><div class="ttdeci">void shut_down(int ec=0) const</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00321">process.cpp:321</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a1b65a0f6dc25c1810161f2c5c9648249"><div class="ttname"><a href="classwinapi_1_1Process.html#a1b65a0f6dc25c1810161f2c5c9648249">winapi::Process::get_handle</a></div><div class="ttdeci">const Handle & get_handle() const</div><div class="ttdef"><b>Definition:</b> <a href="process_8hpp_source.html#l00089">process.hpp:89</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a273dcbc8cd69539d0f9fd4d1e09e67a7"><div class="ttname"><a href="classwinapi_1_1Process.html#a273dcbc8cd69539d0f9fd4d1e09e67a7">winapi::Process::wait</a></div><div class="ttdeci">void wait() const</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00301">process.cpp:301</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a359c11337c7e50370cd5375efa841131"><div class="ttname"><a href="classwinapi_1_1Process.html#a359c11337c7e50370cd5375efa841131">winapi::Process::get_exit_code</a></div><div class="ttdeci">int get_exit_code() const</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00326">process.cpp:326</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a48964bbb7968bd7b6796e8a3306d58d9"><div class="ttname"><a href="classwinapi_1_1Process.html#a48964bbb7968bd7b6796e8a3306d58d9">winapi::Process::open</a></div><div class="ttdeci">static Process open(ID id, DWORD permissions=default_permissions())</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00269">process.cpp:269</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a4ddbc4be71879ea7f91b05ad7f44435c"><div class="ttname"><a href="classwinapi_1_1Process.html#a4ddbc4be71879ea7f91b05ad7f44435c">winapi::Process::get_resource</a></div><div class="ttdeci">static Resource get_resource(uint32_t id)</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00370">process.cpp:370</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a4edc58e78ee81e5531af34fc4f806e24"><div class="ttname"><a href="classwinapi_1_1Process.html#a4edc58e78ee81e5531af34fc4f806e24">winapi::Process::current</a></div><div class="ttdeci">static Process current()</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00265">process.cpp:265</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a4fc3ed404c1cf67dabb7867d0c9f638c"><div class="ttname"><a href="classwinapi_1_1Process.html#a4fc3ed404c1cf67dabb7867d0c9f638c">winapi::Process::read_permissions</a></div><div class="ttdeci">static DWORD read_permissions()</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00281">process.cpp:281</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a4fffc3755642f3db56902106f1b96040"><div class="ttname"><a href="classwinapi_1_1Process.html#a4fffc3755642f3db56902106f1b96040">winapi::Process::default_permissions</a></div><div class="ttdeci">static DWORD default_permissions()</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00277">process.cpp:277</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a5b02393edb57bd902e321037133c40eb"><div class="ttname"><a href="classwinapi_1_1Process.html#a5b02393edb57bd902e321037133c40eb">winapi::Process::is_running</a></div><div class="ttdeci">bool is_running() const</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00285">process.cpp:285</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a6ef0ce275ef09ed6ef1e115afeee7e6a"><div class="ttname"><a href="classwinapi_1_1Process.html#a6ef0ce275ef09ed6ef1e115afeee7e6a">winapi::Process::create</a></div><div class="ttdeci">static Process create(ProcessParameters)</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00241">process.cpp:241</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_a86cea0dd87e63ef93f6575d601ab31f5"><div class="ttname"><a href="classwinapi_1_1Process.html#a86cea0dd87e63ef93f6575d601ab31f5">winapi::Process::get_exe_path</a></div><div class="ttdeci">std::string get_exe_path() const</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00342">process.cpp:342</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_aa44a8ca82178dfedd68865e4e47f7584"><div class="ttname"><a href="classwinapi_1_1Process.html#aa44a8ca82178dfedd68865e4e47f7584">winapi::Process::get_id</a></div><div class="ttdeci">ID get_id() const</div><div class="ttdef"><b>Definition:</b> <a href="process_8hpp_source.html#l00087">process.hpp:87</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_aa9f7cbc9b0e5530f0746606aacc5584e"><div class="ttname"><a href="classwinapi_1_1Process.html#aa9f7cbc9b0e5530f0746606aacc5584e">winapi::Process::shell</a></div><div class="ttdeci">static Process shell(const ShellParameters &)</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00256">process.cpp:256</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_ac700bc836a720384bed52a032628aaeb"><div class="ttname"><a href="classwinapi_1_1Process.html#ac700bc836a720384bed52a032628aaeb">winapi::Process::get_resource_string</a></div><div class="ttdeci">static std::string get_resource_string(uint32_t id)</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00358">process.cpp:358</a></div></div>
<div class="ttc" id="aclasswinapi_1_1Process_html_af9d748078299957519ee67fd7f1e49b3"><div class="ttname"><a href="classwinapi_1_1Process.html#af9d748078299957519ee67fd7f1e49b3">winapi::Process::open_r</a></div><div class="ttdeci">static Process open_r(ID)</div><div class="ttdef"><b>Definition:</b> <a href="process_8cpp_source.html#l00273">process.cpp:273</a></div></div>
<div class="ttc" id="astructwinapi_1_1ProcessParameters_html"><div class="ttname"><a href="structwinapi_1_1ProcessParameters.html">winapi::ProcessParameters</a></div><div class="ttdoc">Process parameters for Process::create().</div><div class="ttdef"><b>Definition:</b> <a href="process_8hpp_source.html#l00024">process.hpp:24</a></div></div>
<div class="ttc" id="astructwinapi_1_1Resource_html"><div class="ttname"><a href="structwinapi_1_1Resource.html">winapi::Resource</a></div><div class="ttdoc">Resources embedded in a PE (Portable Executable).</div><div class="ttdef"><b>Definition:</b> <a href="resource_8hpp_source.html#l00015">resource.hpp:15</a></div></div>
<div class="ttc" id="astructwinapi_1_1ShellParameters_html"><div class="ttname"><a href="structwinapi_1_1ShellParameters.html">winapi::ShellParameters</a></div><div class="ttdoc">Process parameters for Process::shell().</div><div class="ttdef"><b>Definition:</b> <a href="process_8hpp_source.html#l00039">process.hpp:39</a></div></div>
<div class="ttc" id="astructwinapi_1_1process_1_1IO_html"><div class="ttname"><a href="structwinapi_1_1process_1_1IO.html">winapi::process::IO</a></div><div class="ttdoc">Child process IO settings.</div><div class="ttdef"><b>Definition:</b> <a href="process__io_8hpp_source.html#l00061">process_io.hpp:61</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
|