# C1.Util.DX.DXGI.Output

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DXGI_Output" data-uid="C1.Util.DX.DXGI.Output" class="text-break">Output Class
</h1>
  <div class="markdown level0 summary"><p>IDXGIOutput</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><a class="xref" href="C1.Util.DX.DXGI.DXGIObject.html">DXGIObject</a></div>
    <div class="level5"><span class="xref">Output</span></div>
      <div class="level6"><a class="xref" href="C1.Util.DX.DXGI.Output1.html">Output1</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.DXGI.html">C1.Util.DX.DXGI</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_DXGI_Output_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;ae02eedb-c735-4690-8d52-5a8dc20213aa&quot;)]
public class Output : DXGIObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;ae02eedb-c735-4690-8d52-5a8dc20213aa&quot;)&gt;
Public Class Output
    Inherits DXGIObject
    Implements IDisposable, IUnknown</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DXGI_Output__ctor_System_IntPtr_" data-uid="C1.Util.DX.DXGI.Output.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DXGI.Output.-ctor.html#C1_Util_DX_DXGI_Output__ctor_System_IntPtr_">Output(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DXGI.Output.html">Output</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_Description" data-uid="C1.Util.DX.DXGI.Output.Description">
          <a class="xref" href="C1.Util.DX.DXGI.Output.Description.html#C1_Util_DX_DXGI_Output_Description">Description</a>
        </td>
        <td class="markdown level1 summary"><p>GetDescription</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_CopyDisplaySurfaceTo_C1_Util_DX_DXGI_Surface_" data-uid="C1.Util.DX.DXGI.Output.CopyDisplaySurfaceTo(C1.Util.DX.DXGI.Surface)">
          <a class="xref" href="C1.Util.DX.DXGI.Output.CopyDisplaySurfaceTo.html#C1_Util_DX_DXGI_Output_CopyDisplaySurfaceTo_C1_Util_DX_DXGI_Surface_">CopyDisplaySurfaceTo(Surface)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIOutput::GetDisplaySurfaceData([In] IDXGISurface* pDestination)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_FindClosestMatchingMode_C1_Util_DX_DXGI_ModeDescription__C1_Util_DX_DXGI_ModeDescription__C1_Util_DX_ComObject_" data-uid="C1.Util.DX.DXGI.Output.FindClosestMatchingMode(C1.Util.DX.DXGI.ModeDescription@,C1.Util.DX.DXGI.ModeDescription@,C1.Util.DX.ComObject)">
          <a class="xref" href="C1.Util.DX.DXGI.Output.FindClosestMatchingMode.html#C1_Util_DX_DXGI_Output_FindClosestMatchingMode_C1_Util_DX_DXGI_ModeDescription__C1_Util_DX_DXGI_ModeDescription__C1_Util_DX_ComObject_">FindClosestMatchingMode(ref ModeDescription, out ModeDescription, ComObject)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIOutput::FindClosestMatchingMode([In] const DXGI_MODE_DESC* pModeToMatch,[Out] DXGI_MODE_DESC* pClosestMatch,[In, Optional] IUnknown* pConcernedDevice)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_GetClosestMatchingMode_C1_Util_DX_ComObject_C1_Util_DX_DXGI_ModeDescription_C1_Util_DX_DXGI_ModeDescription__" data-uid="C1.Util.DX.DXGI.Output.GetClosestMatchingMode(C1.Util.DX.ComObject,C1.Util.DX.DXGI.ModeDescription,C1.Util.DX.DXGI.ModeDescription@)">
          <a class="xref" href="C1.Util.DX.DXGI.Output.GetClosestMatchingMode.html#C1_Util_DX_DXGI_Output_GetClosestMatchingMode_C1_Util_DX_ComObject_C1_Util_DX_DXGI_ModeDescription_C1_Util_DX_DXGI_ModeDescription__">GetClosestMatchingMode(ComObject, ModeDescription, out ModeDescription)</a>
        </td>
        <td class="markdown level1 summary"><p>Find the display mode that most closely matches the requested display mode.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_GetDescription_C1_Util_DX_DXGI_OutputDescription__" data-uid="C1.Util.DX.DXGI.Output.GetDescription(C1.Util.DX.DXGI.OutputDescription@)">
          <a class="xref" href="C1.Util.DX.DXGI.Output.GetDescription.html#C1_Util_DX_DXGI_Output_GetDescription_C1_Util_DX_DXGI_OutputDescription__">GetDescription(out OutputDescription)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIOutput::GetDesc([Out] DXGI_OUTPUT_DESC* pDesc)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_GetDisplayModeList_C1_Util_DX_DXGI_Format_C1_Util_DX_DXGI_DisplayModeEnumerationFlags_" data-uid="C1.Util.DX.DXGI.Output.GetDisplayModeList(C1.Util.DX.DXGI.Format,C1.Util.DX.DXGI.DisplayModeEnumerationFlags)">
          <a class="xref" href="C1.Util.DX.DXGI.Output.GetDisplayModeList.html#C1_Util_DX_DXGI_Output_GetDisplayModeList_C1_Util_DX_DXGI_Format_C1_Util_DX_DXGI_DisplayModeEnumerationFlags_">GetDisplayModeList(Format, DisplayModeEnumerationFlags)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the display modes that match the requested format and other input options.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_GetDisplayModeList_C1_Util_DX_DXGI_Format_System_Int32_System_Int32__C1_Util_DX_DXGI_ModeDescription___" data-uid="C1.Util.DX.DXGI.Output.GetDisplayModeList(C1.Util.DX.DXGI.Format,System.Int32,System.Int32@,C1.Util.DX.DXGI.ModeDescription[])">
          <a class="xref" href="C1.Util.DX.DXGI.Output.GetDisplayModeList.html#C1_Util_DX_DXGI_Output_GetDisplayModeList_C1_Util_DX_DXGI_Format_System_Int32_System_Int32__C1_Util_DX_DXGI_ModeDescription___">GetDisplayModeList(Format, int, ref int, ModeDescription[])</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIOutput::GetDisplayModeList([In] DXGI_FORMAT EnumFormat,[In] unsigned int Flags,[InOut] unsigned int* pNumModes,[Out, Buffer, Optional] DXGI_MODE_DESC* pDesc)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_GetFrameStatistics_C1_Util_DX_DXGI_FrameStatistics__" data-uid="C1.Util.DX.DXGI.Output.GetFrameStatistics(C1.Util.DX.DXGI.FrameStatistics@)">
          <a class="xref" href="C1.Util.DX.DXGI.Output.GetFrameStatistics.html#C1_Util_DX_DXGI_Output_GetFrameStatistics_C1_Util_DX_DXGI_FrameStatistics__">GetFrameStatistics(out FrameStatistics)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIOutput::GetFrameStatistics([Out] DXGI_FRAME_STATISTICS* pStats)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_ReleaseOwnership" data-uid="C1.Util.DX.DXGI.Output.ReleaseOwnership">
          <a class="xref" href="C1.Util.DX.DXGI.Output.ReleaseOwnership.html#C1_Util_DX_DXGI_Output_ReleaseOwnership">ReleaseOwnership()</a>
        </td>
        <td class="markdown level1 summary"><p>void IDXGIOutput::ReleaseOwnership()</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_SetDisplaySurface_C1_Util_DX_DXGI_Surface_" data-uid="C1.Util.DX.DXGI.Output.SetDisplaySurface(C1.Util.DX.DXGI.Surface)">
          <a class="xref" href="C1.Util.DX.DXGI.Output.SetDisplaySurface.html#C1_Util_DX_DXGI_Output_SetDisplaySurface_C1_Util_DX_DXGI_Surface_">SetDisplaySurface(Surface)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIOutput::SetDisplaySurface([In] IDXGISurface* pScanoutSurface)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_TakeOwnership_C1_Util_DX_ComObject_C1_Util_DX_Bool_" data-uid="C1.Util.DX.DXGI.Output.TakeOwnership(C1.Util.DX.ComObject,C1.Util.DX.Bool)">
          <a class="xref" href="C1.Util.DX.DXGI.Output.TakeOwnership.html#C1_Util_DX_DXGI_Output_TakeOwnership_C1_Util_DX_ComObject_C1_Util_DX_Bool_">TakeOwnership(ComObject, Bool)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIOutput::TakeOwnership([In] IUnknown* pDevice,[In] BOOL Exclusive)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_WaitForVBlank" data-uid="C1.Util.DX.DXGI.Output.WaitForVBlank">
          <a class="xref" href="C1.Util.DX.DXGI.Output.WaitForVBlank.html#C1_Util_DX_DXGI_Output_WaitForVBlank">WaitForVBlank()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIOutput::WaitForVBlank()</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DXGI_Output_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_Output" data-uid="C1.Util.DX.DXGI.Output.op_Explicit(System.IntPtr)~C1.Util.DX.DXGI.Output">
          <a class="xref" href="C1.Util.DX.DXGI.Output.op_Explicit.html#C1_Util_DX_DXGI_Output_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_Output">explicit operator Output(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a> to <a class="xref" href="C1.Util.DX.DXGI.Output.html">Output</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
