# C1.Util.DX.DXGI.DXGIObject

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DXGI_DXGIObject" data-uid="C1.Util.DX.DXGI.DXGIObject" class="text-break">DXGIObject Class
</h1>
  <div class="markdown level0 summary"><p>IDXGIObject</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"><span class="xref">DXGIObject</span></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.DXGI.Adapter.html">Adapter</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.DXGI.Device.html">Device</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.DXGI.DeviceChild.html">DeviceChild</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.DXGI.Factory.html">Factory</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.DXGI.Output.html">Output</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.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_DXGI_DXGIObject_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;aec22fb8-76f3-4639-9be0-28eb43a67a2e&quot;)]
public class DXGIObject : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;aec22fb8-76f3-4639-9be0-28eb43a67a2e&quot;)&gt;
Public Class DXGIObject
    Inherits ComObject
    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_DXGIObject__ctor_System_IntPtr_" data-uid="C1.Util.DX.DXGI.DXGIObject.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DXGI.DXGIObject.-ctor.html#C1_Util_DX_DXGI_DXGIObject__ctor_System_IntPtr_">DXGIObject(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DXGI.DXGIObject.html">DXGIObject</a> class.</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_DXGIObject_GetParent_System_Guid_" data-uid="C1.Util.DX.DXGI.DXGIObject.GetParent(System.Guid)">
          <a class="xref" href="C1.Util.DX.DXGI.DXGIObject.GetParent.html#C1_Util_DX_DXGI_DXGIObject_GetParent_System_Guid_">GetParent(Guid)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIObject::GetParent([In] const GUID&amp; riid,[Out] void** ppParent)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_DXGIObject_GetParent__1" data-uid="C1.Util.DX.DXGI.DXGIObject.GetParent``1">
          <a class="xref" href="C1.Util.DX.DXGI.DXGIObject.GetParent.html#C1_Util_DX_DXGI_DXGIObject_GetParent__1">GetParent&lt;T&gt;()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent of the object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_DXGIObject_GetPrivateData_System_Guid_System_Int32__System_IntPtr_" data-uid="C1.Util.DX.DXGI.DXGIObject.GetPrivateData(System.Guid,System.Int32@,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DXGI.DXGIObject.GetPrivateData.html#C1_Util_DX_DXGI_DXGIObject_GetPrivateData_System_Guid_System_Int32__System_IntPtr_">GetPrivateData(Guid, ref int, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIObject::GetPrivateData([In] const GUID&amp; Name,[InOut] unsigned int* pDataSize,[Out, Buffer] void* pData)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_DXGIObject_SetPrivateData_System_Guid_System_Int32_System_IntPtr_" data-uid="C1.Util.DX.DXGI.DXGIObject.SetPrivateData(System.Guid,System.Int32,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DXGI.DXGIObject.SetPrivateData.html#C1_Util_DX_DXGI_DXGIObject_SetPrivateData_System_Guid_System_Int32_System_IntPtr_">SetPrivateData(Guid, int, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIObject::SetPrivateData([In] const GUID&amp; Name,[In] unsigned int DataSize,[In, Buffer] const void* pData)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_DXGIObject_SetPrivateDataInterface_System_Guid_C1_Util_DX_ComObject_" data-uid="C1.Util.DX.DXGI.DXGIObject.SetPrivateDataInterface(System.Guid,C1.Util.DX.ComObject)">
          <a class="xref" href="C1.Util.DX.DXGI.DXGIObject.SetPrivateDataInterface.html#C1_Util_DX_DXGI_DXGIObject_SetPrivateDataInterface_System_Guid_C1_Util_DX_ComObject_">SetPrivateDataInterface(Guid, ComObject)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIObject::SetPrivateDataInterface([In] const GUID&amp; Name,[In] const IUnknown* pUnknown)</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_DXGIObject_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_DXGIObject" data-uid="C1.Util.DX.DXGI.DXGIObject.op_Explicit(System.IntPtr)~C1.Util.DX.DXGI.DXGIObject">
          <a class="xref" href="C1.Util.DX.DXGI.DXGIObject.op_Explicit.html#C1_Util_DX_DXGI_DXGIObject_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_DXGIObject">explicit operator DXGIObject(IntPtr)</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">IntPtr</a> to <a class="xref" href="C1.Util.DX.DXGI.DXGIObject.html">DXGIObject</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
