aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/classwinapi_1_1Handle.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--classwinapi_1_1Handle.html434
1 files changed, 434 insertions, 0 deletions
diff --git a/classwinapi_1_1Handle.html b/classwinapi_1_1Handle.html
new file mode 100644
index 0000000..1bea063
--- /dev/null
+++ b/classwinapi_1_1Handle.html
@@ -0,0 +1,434 @@
+<!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: winapi::Handle Class Reference</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&amp;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&amp;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"><b>winapi</b></li><li class="navelem"><a class="el" href="classwinapi_1_1Handle.html">Handle</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#nested-classes">Classes</a> &#124;
+<a href="#pub-methods">Public Member Functions</a> &#124;
+<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
+<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
+<a href="classwinapi_1_1Handle-members.html">List of all members</a> </div>
+ <div class="headertitle">
+<div class="title">winapi::Handle Class Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p>HANDLE wrapper.
+ <a href="classwinapi_1_1Handle.html#details">More...</a></p>
+<div class="dynheader">
+Inheritance diagram for winapi::Handle:</div>
+<div class="dyncontent">
+ <div class="center">
+ <img src="classwinapi_1_1Handle.png" usemap="#winapi::Handle_map" alt=""/>
+ <map id="winapi::Handle_map" name="winapi::Handle_map">
+<area href="classwinapi_1_1File.html" title="File I/O." alt="winapi::File" shape="rect" coords="0,56,94,80"/>
+ </map>
+</div></div>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
+Public Member Functions</h2></td></tr>
+<tr class="memitem:aa005a3f927fab2a3bc5ca930ca22f61f"><td class="memItemLeft" align="right" valign="top"><a id="aa005a3f927fab2a3bc5ca930ca22f61f"></a>
+&#160;</td><td class="memItemRight" valign="bottom"><b>Handle</b> (HANDLE)</td></tr>
+<tr class="separator:aa005a3f927fab2a3bc5ca930ca22f61f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aafd8ce44149f5f2c8e7aeb4d34225ef3"><td class="memItemLeft" align="right" valign="top"><a id="aafd8ce44149f5f2c8e7aeb4d34225ef3"></a>
+HANDLE&#160;</td><td class="memItemRight" valign="bottom"><b>get</b> () const</td></tr>
+<tr class="separator:aafd8ce44149f5f2c8e7aeb4d34225ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a97d591e2b27613360af81e058a2f527c"><td class="memItemLeft" align="right" valign="top"><a id="a97d591e2b27613360af81e058a2f527c"></a>
+HANDLE&#160;</td><td class="memItemRight" valign="bottom"><b>ptr</b> () const</td></tr>
+<tr class="separator:a97d591e2b27613360af81e058a2f527c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2309dd0b3fe0dfe25c5dd1cec30f6e7b"><td class="memItemLeft" align="right" valign="top"><a id="a2309dd0b3fe0dfe25c5dd1cec30f6e7b"></a>
+&#160;</td><td class="memItemRight" valign="bottom"><b>operator HANDLE</b> () const</td></tr>
+<tr class="separator:a2309dd0b3fe0dfe25c5dd1cec30f6e7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0aae8a719302767f7f186f22195a40e6"><td class="memItemLeft" align="right" valign="top"><a id="a0aae8a719302767f7f186f22195a40e6"></a>
+bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_valid</b> () const</td></tr>
+<tr class="separator:a0aae8a719302767f7f186f22195a40e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a6f28cc73ae2e3e447251cef0160e3555"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#a6f28cc73ae2e3e447251cef0160e3555">close</a> ()</td></tr>
+<tr class="separator:a6f28cc73ae2e3e447251cef0160e3555"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:acc001a0f466d9c92cf7f2ef62896afc5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#acc001a0f466d9c92cf7f2ef62896afc5">is_std</a> () const</td></tr>
+<tr class="separator:acc001a0f466d9c92cf7f2ef62896afc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae340b095569654f8b709614f23577f2e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwinapi_1_1Buffer.html">Buffer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#ae340b095569654f8b709614f23577f2e">read</a> () const</td></tr>
+<tr class="separator:ae340b095569654f8b709614f23577f2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a31c8440493e29cdd9b6fc40ffe8c06f1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#a31c8440493e29cdd9b6fc40ffe8c06f1">read_chunk</a> (<a class="el" href="classwinapi_1_1Buffer.html">Buffer</a> &amp;read_chunk) const</td></tr>
+<tr class="separator:a31c8440493e29cdd9b6fc40ffe8c06f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:afbfe1b7de229eb5656504e05acf9bbcc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#afbfe1b7de229eb5656504e05acf9bbcc">write</a> (const void *data, std::size_t nb) const</td></tr>
+<tr class="separator:afbfe1b7de229eb5656504e05acf9bbcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aee2ff37831d686a8140403c10d7ebadd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#aee2ff37831d686a8140403c10d7ebadd">write</a> (const <a class="el" href="classwinapi_1_1Buffer.html">Buffer</a> &amp;buffer) const</td></tr>
+<tr class="separator:aee2ff37831d686a8140403c10d7ebadd"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ab78fab4796ef5ec3f9576f19b54cfd04"><td class="memTemplParams" colspan="2">template&lt;typename CharT &gt; </td></tr>
+<tr class="memitem:ab78fab4796ef5ec3f9576f19b54cfd04"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#ab78fab4796ef5ec3f9576f19b54cfd04">write</a> (const std::basic_string&lt; CharT &gt; &amp;src) const</td></tr>
+<tr class="separator:ab78fab4796ef5ec3f9576f19b54cfd04"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a630b9ee6bb6d1669af11005d2fc3c582"><td class="memItemLeft" align="right" valign="top"><a id="a630b9ee6bb6d1669af11005d2fc3c582"></a>
+void&#160;</td><td class="memItemRight" valign="bottom"><b>inherit</b> (bool yes=true) const</td></tr>
+<tr class="separator:a630b9ee6bb6d1669af11005d2fc3c582"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2c4844b0bb53e30ace8ad17f5edde50b"><td class="memItemLeft" align="right" valign="top"><a id="a2c4844b0bb53e30ace8ad17f5edde50b"></a>
+void&#160;</td><td class="memItemRight" valign="bottom"><b>dont_inherit</b> () const</td></tr>
+<tr class="separator:a2c4844b0bb53e30ace8ad17f5edde50b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
+Static Public Member Functions</h2></td></tr>
+<tr class="memitem:a9c98cce78725c975bfd1f87614c2eaee"><td class="memItemLeft" align="right" valign="top"><a id="a9c98cce78725c975bfd1f87614c2eaee"></a>
+static bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_valid</b> (HANDLE)</td></tr>
+<tr class="separator:a9c98cce78725c975bfd1f87614c2eaee"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1817fdf127291cf5f47d6429d8f468cd"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwinapi_1_1Handle.html">Handle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#a1817fdf127291cf5f47d6429d8f468cd">std_in</a> ()</td></tr>
+<tr class="separator:a1817fdf127291cf5f47d6429d8f468cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a76e96327afd0b943d996c90289f2883e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwinapi_1_1Handle.html">Handle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#a76e96327afd0b943d996c90289f2883e">std_out</a> ()</td></tr>
+<tr class="separator:a76e96327afd0b943d996c90289f2883e"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a894d880e1241c9516889a7a63a0c1750"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwinapi_1_1Handle.html">Handle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1Handle.html#a894d880e1241c9516889a7a63a0c1750">std_err</a> ()</td></tr>
+<tr class="separator:a894d880e1241c9516889a7a63a0c1750"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
+Static Public Attributes</h2></td></tr>
+<tr class="memitem:a6c822b6e0b886e2200e6c7d9dc3e6604"><td class="memItemLeft" align="right" valign="top"><a id="a6c822b6e0b886e2200e6c7d9dc3e6604"></a>
+static constexpr std::size_t&#160;</td><td class="memItemRight" valign="bottom"><b>max_chunk_size</b> = 16 * 1024</td></tr>
+<tr class="separator:a6c822b6e0b886e2200e6c7d9dc3e6604"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>HANDLE wrapper. </p>
+<p>This class wraps HANDLE, allowing for painless reads and writes from a random handle. </p>
+
+<p class="definition">Definition at line <a class="el" href="handle_8hpp_source.html#l00025">25</a> of file <a class="el" href="handle_8hpp_source.html">handle.hpp</a>.</p>
+</div><h2 class="groupheader">Member Function Documentation</h2>
+<a id="a6f28cc73ae2e3e447251cef0160e3555"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a6f28cc73ae2e3e447251cef0160e3555">&#9670;&nbsp;</a></span>close()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void winapi::Handle::close </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Close this handle. </p>
+
+<p class="definition">Definition at line <a class="el" href="handle_8cpp_source.html#l00047">47</a> of file <a class="el" href="handle_8cpp_source.html">handle.cpp</a>.</p>
+
+</div>
+</div>
+<a id="acc001a0f466d9c92cf7f2ef62896afc5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#acc001a0f466d9c92cf7f2ef62896afc5">&#9670;&nbsp;</a></span>is_std()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool winapi::Handle::is_std </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Check if this is a standard console handle. </p>
+
+<p class="definition">Definition at line <a class="el" href="handle_8cpp_source.html#l00051">51</a> of file <a class="el" href="handle_8cpp_source.html">handle.cpp</a>.</p>
+
+</div>
+</div>
+<a id="a1817fdf127291cf5f47d6429d8f468cd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1817fdf127291cf5f47d6429d8f468cd">&#9670;&nbsp;</a></span>std_in()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classwinapi_1_1Handle.html">Handle</a> winapi::Handle::std_in </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+<p>Check if this is the stdin handle. </p>
+
+<p class="definition">Definition at line <a class="el" href="handle_8cpp_source.html#l00055">55</a> of file <a class="el" href="handle_8cpp_source.html">handle.cpp</a>.</p>
+
+</div>
+</div>
+<a id="a76e96327afd0b943d996c90289f2883e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a76e96327afd0b943d996c90289f2883e">&#9670;&nbsp;</a></span>std_out()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classwinapi_1_1Handle.html">Handle</a> winapi::Handle::std_out </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+<p>Check if this is the stdout handle. </p>
+
+<p class="definition">Definition at line <a class="el" href="handle_8cpp_source.html#l00059">59</a> of file <a class="el" href="handle_8cpp_source.html">handle.cpp</a>.</p>
+
+</div>
+</div>
+<a id="a894d880e1241c9516889a7a63a0c1750"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a894d880e1241c9516889a7a63a0c1750">&#9670;&nbsp;</a></span>std_err()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classwinapi_1_1Handle.html">Handle</a> winapi::Handle::std_err </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+<p>Check if this is the stderr handle. </p>
+
+<p class="definition">Definition at line <a class="el" href="handle_8cpp_source.html#l00063">63</a> of file <a class="el" href="handle_8cpp_source.html">handle.cpp</a>.</p>
+
+</div>
+</div>
+<a id="ae340b095569654f8b709614f23577f2e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ae340b095569654f8b709614f23577f2e">&#9670;&nbsp;</a></span>read()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classwinapi_1_1Buffer.html">Buffer</a> winapi::Handle::read </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Read everything from this handle. </p>
+
+<p class="definition">Definition at line <a class="el" href="handle_8cpp_source.html#l00093">93</a> of file <a class="el" href="handle_8cpp_source.html">handle.cpp</a>.</p>
+
+</div>
+</div>
+<a id="a31c8440493e29cdd9b6fc40ffe8c06f1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a31c8440493e29cdd9b6fc40ffe8c06f1">&#9670;&nbsp;</a></span>read_chunk()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool winapi::Handle::read_chunk </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classwinapi_1_1Buffer.html">Buffer</a> &amp;&#160;</td>
+ <td class="paramname"><em>read_chunk</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Read a chunk from this handle. </p><dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">read_chunk</td><td>Receives the data read. </td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd><code>true</code> if there's more data, <code>false</code> otherwise. </dd></dl>
+
+<p class="definition">Definition at line <a class="el" href="handle_8cpp_source.html#l00067">67</a> of file <a class="el" href="handle_8cpp_source.html">handle.cpp</a>.</p>
+
+</div>
+</div>
+<a id="afbfe1b7de229eb5656504e05acf9bbcc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afbfe1b7de229eb5656504e05acf9bbcc">&#9670;&nbsp;</a></span>write() <span class="overload">[1/3]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void winapi::Handle::write </td>
+ <td>(</td>
+ <td class="paramtype">const void *&#160;</td>
+ <td class="paramname"><em>data</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">std::size_t&#160;</td>
+ <td class="paramname"><em>nb</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Write data to this handle. </p><dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">data</td><td>Pointer to binary data. </td></tr>
+ <tr><td class="paramname">nb</td><td>Data size. </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p class="definition">Definition at line <a class="el" href="handle_8cpp_source.html#l00109">109</a> of file <a class="el" href="handle_8cpp_source.html">handle.cpp</a>.</p>
+
+</div>
+</div>
+<a id="aee2ff37831d686a8140403c10d7ebadd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aee2ff37831d686a8140403c10d7ebadd">&#9670;&nbsp;</a></span>write() <span class="overload">[2/3]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void winapi::Handle::write </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classwinapi_1_1Buffer.html">Buffer</a> &amp;&#160;</td>
+ <td class="paramname"><em>buffer</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Write data to this handle. </p><dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">buffer</td><td>Binary data to write. </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p class="definition">Definition at line <a class="el" href="handle_8cpp_source.html#l00125">125</a> of file <a class="el" href="handle_8cpp_source.html">handle.cpp</a>.</p>
+
+</div>
+</div>
+<a id="ab78fab4796ef5ec3f9576f19b54cfd04"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab78fab4796ef5ec3f9576f19b54cfd04">&#9670;&nbsp;</a></span>write() <span class="overload">[3/3]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+<div class="memtemplate">
+template&lt;typename CharT &gt; </div>
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">void winapi::Handle::write </td>
+ <td>(</td>
+ <td class="paramtype">const std::basic_string&lt; CharT &gt; &amp;&#160;</td>
+ <td class="paramname"><em>src</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+<p>Write data to this handle. </p><dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">src</td><td>Binary data to write. </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p class="definition">Definition at line <a class="el" href="handle_8hpp_source.html#l00078">78</a> of file <a class="el" href="handle_8hpp_source.html">handle.hpp</a>.</p>
+
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following files:<ul>
+<li>include/winapi/<a class="el" href="handle_8hpp_source.html">handle.hpp</a></li>
+<li>src/<a class="el" href="handle_8cpp_source.html">handle.cpp</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by&#160;<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>