# C1.Util.Win.Win32.DwmExtendFrameIntoClientArea

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_Win_Win32_DwmExtendFrameIntoClientArea_" data-uid="C1.Util.Win.Win32.DwmExtendFrameIntoClientArea*">DwmExtendFrameIntoClientArea Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_Win_Win32_DwmExtendFrameIntoClientArea_" data-uid="C1.Util.Win.Win32.DwmExtendFrameIntoClientArea*"></a>
<h4 id="C1_Util_Win_Win32_DwmExtendFrameIntoClientArea_System_IntPtr_C1_Util_Win_Win32_MARGINS__" data-uid="C1.Util.Win.Win32.DwmExtendFrameIntoClientArea(System.IntPtr,C1.Util.Win.Win32.MARGINS@)">DwmExtendFrameIntoClientArea(nint, ref MARGINS)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static extern void DwmExtendFrameIntoClientArea(nint hWnd, ref Win32.MARGINS pMarInset)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub DwmExtendFrameIntoClientArea(hWnd As IntPtr, ByRef pMarInset As Win32.MARGINS)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">hWnd</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.MARGINS.html">MARGINS</a></td>
      <td><span class="parametername">pMarInset</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
