<h1 dir="auto">Description of the new feature/enhancement</h1>

<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 18363,418
Windows Terminal version (if applicable):

Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 18363,418
Windows Terminal version (if applicable):

Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Call <code class="notranslate">ResizePseudoConsole</code> with negative values stored in the passed <code class="notranslate">COORD</code> structure.</p>

<h1 dir="auto">Expected behavior</h1>
<p dir="auto">returned HRESULT should indicate failure since a pty cannot have a negative size</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">returned HRESULT indicates success.</p>