# C1.Util.DX.DXGI.Output1.GetDisplayModeList1

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DXGI_Output1_GetDisplayModeList1_" data-uid="C1.Util.DX.DXGI.Output1.GetDisplayModeList1*">GetDisplayModeList1 Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DXGI_Output1_GetDisplayModeList1_" data-uid="C1.Util.DX.DXGI.Output1.GetDisplayModeList1*"></a>
<h4 id="C1_Util_DX_DXGI_Output1_GetDisplayModeList1_C1_Util_DX_DXGI_Format_C1_Util_DX_DXGI_DisplayModeEnumerationFlags_" data-uid="C1.Util.DX.DXGI.Output1.GetDisplayModeList1(C1.Util.DX.DXGI.Format,C1.Util.DX.DXGI.DisplayModeEnumerationFlags)">GetDisplayModeList1(Format, DisplayModeEnumerationFlags)</h4>
<div class="markdown level1 summary"><p>Gets the display modes that match the requested format and other input options.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ModeDescription1[] GetDisplayModeList1(Format enumFormat, DisplayModeEnumerationFlags flags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetDisplayModeList1(enumFormat As Format, flags As DisplayModeEnumerationFlags) As ModeDescription1()</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.Format.html">Format</a></td>
      <td><span class="parametername">enumFormat</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DXGI.DisplayModeEnumerationFlags.html">DisplayModeEnumerationFlags</a></td>
      <td><span class="parametername">flags</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DXGI.ModeDescription1.html">ModeDescription1</a>[]</td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_DXGI_Output1_GetDisplayModeList1_" data-uid="C1.Util.DX.DXGI.Output1.GetDisplayModeList1*"></a>
<h4 id="C1_Util_DX_DXGI_Output1_GetDisplayModeList1_C1_Util_DX_DXGI_Format_System_Int32_System_Int32__C1_Util_DX_DXGI_ModeDescription1___" data-uid="C1.Util.DX.DXGI.Output1.GetDisplayModeList1(C1.Util.DX.DXGI.Format,System.Int32,System.Int32@,C1.Util.DX.DXGI.ModeDescription1[])">GetDisplayModeList1(Format, int, ref int, ModeDescription1[])</h4>
<div class="markdown level1 summary"><p>HRESULT IDXGIOutput1::GetDisplayModeList1([In] DXGI_FORMAT EnumFormat,[In] unsigned int Flags,[InOut] unsigned int* pNumModes,[Out, Buffer, Optional] DXGI_MODE_DESC1* pDesc)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void GetDisplayModeList1(Format enumFormat, int flags, ref int numModesRef, ModeDescription1[] descRef)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub GetDisplayModeList1(enumFormat As Format, flags As Integer, ByRef numModesRef As Integer, descRef As ModeDescription1())</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.Format.html">Format</a></td>
      <td><span class="parametername">enumFormat</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">flags</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">numModesRef</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DXGI.ModeDescription1.html">ModeDescription1</a>[]</td>
      <td><span class="parametername">descRef</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
