aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/error_8hpp.html
diff options
context:
space:
mode:
authoregor-tensin <Egor.Tensin@gmail.com>2023-07-04 00:48:00 +0000
committeregor-tensin <Egor.Tensin@gmail.com>2023-07-04 00:48:00 +0000
commitdef5c50960eea4c112647f88361a3ae7155901a8 (patch)
tree9c058d72325a778aed7d0df0b50f0f33d1fba607 /error_8hpp.html
downloadwinapi-common-gh-pages.tar.gz
winapi-common-gh-pages.zip
Deploying to gh-pages from @ egor-tensin/winapi-common@0c196cbe8b4927c78c02b2c7312fc69a507db845 🚀gh-pages
Diffstat (limited to 'error_8hpp.html')
-rw-r--r--error_8hpp.html146
1 files changed, 146 insertions, 0 deletions
diff --git a/error_8hpp.html b/error_8hpp.html
new file mode 100644
index 0000000..bd24502
--- /dev/null
+++ b/error_8hpp.html
@@ -0,0 +1,146 @@
+<!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/error.hpp File 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"><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="summary">
+<a href="#nested-classes">Classes</a> &#124;
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">error.hpp File Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p>Make <code>std::system_error</code> work with <code>GetLastError()</code>.
+<a href="#details">More...</a></p>
+
+<p><a href="error_8hpp_source.html">Go to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Classes</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwinapi_1_1error_1_1CategoryWindows.html">winapi::error::CategoryWindows</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:adaacba2bcf006c5932c1cc5f75c6275f"><td class="memItemLeft" align="right" valign="top"><a id="adaacba2bcf006c5932c1cc5f75c6275f"></a>
+const CategoryWindows &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>winapi::error::category_windows</b> ()</td></tr>
+<tr class="separator:adaacba2bcf006c5932c1cc5f75c6275f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a70c25be1dfd40860d125203f27e664ce"><td class="memItemLeft" align="right" valign="top">std::system_error&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="error_8hpp.html#a70c25be1dfd40860d125203f27e664ce">winapi::error::windows</a> (DWORD code, const char *function)</td></tr>
+<tr class="separator:a70c25be1dfd40860d125203f27e664ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ab8f073a737dc23231845e6276d336126"><td class="memTemplParams" colspan="2"><a id="ab8f073a737dc23231845e6276d336126"></a>
+template&lt;typename Ret &gt; </td></tr>
+<tr class="memitem:ab8f073a737dc23231845e6276d336126"><td class="memTemplItemLeft" align="right" valign="top">std::runtime_error&#160;</td><td class="memTemplItemRight" valign="bottom"><b>winapi::error::custom</b> (Ret ret, const char *function)</td></tr>
+<tr class="separator:ab8f073a737dc23231845e6276d336126"><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>Make <code>std::system_error</code> work with <code>GetLastError()</code>. </p>
+
+<p class="definition">Definition in file <a class="el" href="error_8hpp_source.html">error.hpp</a>.</p>
+</div><h2 class="groupheader">Function Documentation</h2>
+<a id="a70c25be1dfd40860d125203f27e664ce"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a70c25be1dfd40860d125203f27e664ce">&#9670;&nbsp;</a></span>windows()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::system_error winapi::error::windows </td>
+ <td>(</td>
+ <td class="paramtype">DWORD&#160;</td>
+ <td class="paramname"><em>code</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const char *&#160;</td>
+ <td class="paramname"><em>function</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>Build a <code>std::system_error</code> from the value of <code>GetLastError()</code>. </p><dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">code</td><td>Value of <code>GetLastError()</code>. </td></tr>
+ <tr><td class="paramname">function</td><td>Name of the function that failed, like "CreateFile". </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p class="definition">Definition at line <a class="el" href="error_8cpp_source.html#l00061">61</a> of file <a class="el" href="error_8cpp_source.html">error.cpp</a>.</p>
+
+</div>
+</div>
+</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>