# C1.Util.DX.DXGI.Output1.FindClosestMatchingMode1

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DXGI_Output1_FindClosestMatchingMode1_" data-uid="C1.Util.DX.DXGI.Output1.FindClosestMatchingMode1*">FindClosestMatchingMode1 Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DXGI_Output1_FindClosestMatchingMode1_" data-uid="C1.Util.DX.DXGI.Output1.FindClosestMatchingMode1*"></a>
<h4 id="C1_Util_DX_DXGI_Output1_FindClosestMatchingMode1_C1_Util_DX_DXGI_ModeDescription1__C1_Util_DX_DXGI_ModeDescription1__C1_Util_DX_ComObject_" data-uid="C1.Util.DX.DXGI.Output1.FindClosestMatchingMode1(C1.Util.DX.DXGI.ModeDescription1@,C1.Util.DX.DXGI.ModeDescription1@,C1.Util.DX.ComObject)">FindClosestMatchingMode1(ref ModeDescription1, out ModeDescription1, ComObject)</h4>
<div class="markdown level1 summary"><p>HRESULT IDXGIOutput1::FindClosestMatchingMode1([In] const DXGI_MODE_DESC1* pModeToMatch,[Out] DXGI_MODE_DESC1* pClosestMatch,[In, Optional] IUnknown* pConcernedDevice)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FindClosestMatchingMode1(ref ModeDescription1 modeToMatchRef, out ModeDescription1 closestMatchRef, ComObject concernedDeviceRef)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FindClosestMatchingMode1(ByRef modeToMatchRef As ModeDescription1, ByRef closestMatchRef As ModeDescription1, concernedDeviceRef As ComObject)</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="C1.Util.DX.DXGI.ModeDescription1.html">ModeDescription1</a></td>
      <td><span class="parametername">modeToMatchRef</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DXGI.ModeDescription1.html">ModeDescription1</a></td>
      <td><span class="parametername">closestMatchRef</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></td>
      <td><span class="parametername">concernedDeviceRef</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
