Skip to content

Commit

Permalink
deploy: c610059
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 28, 2025
1 parent 258618f commit e61d9a1
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions rtlsetlastwin32errorandntstatusfromntstatus.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,30 @@ <h1 class="ntdoc-title">
</span><span class="ntdoc-code-links"><hr><a target="_blank" href="https://github.com/winsiderss/systeminformer/blob/c0cead879f6b128213460da58a75914c3eb4f8b9/phnt/include/ntrtl.h#L6477">View code on GitHub</a></span></code></pre></div>
</div>
<div class="ntdoc-description">
<div class="ntdoc-description-none">
<p>No description available.</p>
</div>
<p>Converts the <a href="ntstatus" title="typedef _Return_type_success_(return &gt;= 0) long NTSTATUS;">NTSTATUS</a> to a DOS error code and then sets the error code to the current thread.</p>

<h1 id="parameters">Parameters</h1>

<ul>
<li><code>Status</code> - the <a href="ntstatus" title="typedef _Return_type_success_(return &gt;= 0) long NTSTATUS;">NTSTATUS</a> that will be converted to DOS Error Code</li>
</ul>

<h1 id="related-win32-api">Related Win32 API</h1>

<ul>
<li><a rel="noopener" target="_blank" href="https://learn.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-setlasterror"><code>SetLastError</code></a></li>
<li><a rel="noopener" target="_blank" href="https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setlasterrorex"><code>SetLastErrorEx</code></a></li>
</ul>

<h1 id="see-also">See also</h1>

<ul>
<li><code><a href="rtlntstatustodoserror" title="_When_(Status &lt; 0, _Out_range_(&gt;, 0))&#10;_When_(Status &gt;= 0, _Out_range_(==, 0))&#10;NTSYSAPI&#10;ULONG&#10;NTAPI&#10;RtlNtStatusToDosError(&#10; _In_ NTSTATUS Status&#10; );">RtlNtStatusToDosError</a></code></li>
<li><code><a href="rtlntstatustodoserrornoteb" title="_When_(Status &lt; 0, _Out_range_(&gt;, 0))&#10;_When_(Status &gt;= 0, _Out_range_(==, 0))&#10;NTSYSAPI&#10;ULONG&#10;NTAPI&#10;RtlNtStatusToDosErrorNoTeb(&#10; _In_ NTSTATUS Status&#10; );">RtlNtStatusToDosErrorNoTeb</a></code></li>
<li><code><a href="rtlsetlastwin32error" title="NTSYSAPI&#10;VOID&#10;NTAPI&#10;RtlSetLastWin32Error(&#10; _In_ LONG Win32Error&#10; );">RtlSetLastWin32Error</a></code></li>
<li><code><a href="rtlgetlastwin32error" title="NTSYSAPI&#10;LONG&#10;NTAPI&#10;RtlGetLastWin32Error(&#10; VOID&#10; );">RtlGetLastWin32Error</a></code></li>
<li><code><a href="rtlrestorelastwin32error" title="NTSYSAPI&#10;VOID&#10;NTAPI&#10;RtlRestoreLastWin32Error(&#10; _In_ LONG Win32Error&#10; );">RtlRestoreLastWin32Error</a></code></li>
</ul>
</div>
<div class="ntdoc-description-links">
<a target="_blank" href="https://github.com/m417z/ntdoc/blob/main/descriptions/rtlsetlastwin32errorandntstatusfromntstatus.md">Edit description on GitHub</a>
Expand Down

0 comments on commit e61d9a1

Please sign in to comment.