# C1.Util.DX.Direct3D11.DeviceChild

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Direct3D11_DeviceChild" data-uid="C1.Util.DX.Direct3D11.DeviceChild" class="text-break">DeviceChild Class
</h1>
  <div class="markdown level0 summary"><p>ID3D11DeviceChild</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">DeviceChild</span></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.Asynchronous.html">Asynchronous</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.BlendState.html">BlendState</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.html">ClassInstance</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.ClassLinkage.html">ClassLinkage</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.CommandList.html">CommandList</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.ComputeShader.html">ComputeShader</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilState.html">DepthStencilState</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.DeviceContext.html">DeviceContext</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.DeviceContextState.html">DeviceContextState</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.DomainShader.html">DomainShader</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.GeometryShader.html">GeometryShader</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.HullShader.html">HullShader</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.InputLayout.html">InputLayout</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.PixelShader.html">PixelShader</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.RasterizerState.html">RasterizerState</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.Resource.html">Resource</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.ResourceView.html">ResourceView</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.SamplerState.html">SamplerState</a></div>
      <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.VertexShader.html">VertexShader</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.Direct3D11.html">C1.Util.DX.Direct3D11</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_Direct3D11_DeviceChild_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;1841e5c8-16b0-489b-bcc8-44cfb0d5deae&quot;)]
public class DeviceChild : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;1841e5c8-16b0-489b-bcc8-44cfb0d5deae&quot;)&gt;
Public Class DeviceChild
    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_Direct3D11_DeviceChild__ctor_System_IntPtr_" data-uid="C1.Util.DX.Direct3D11.DeviceChild.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.-ctor.html#C1_Util_DX_Direct3D11_DeviceChild__ctor_System_IntPtr_">DeviceChild(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.html">DeviceChild</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_Direct3D11_DeviceChild_DebugName" data-uid="C1.Util.DX.Direct3D11.DeviceChild.DebugName">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.DebugName.html#C1_Util_DX_Direct3D11_DeviceChild_DebugName">DebugName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the debug-name for this object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_DeviceChild_Device" data-uid="C1.Util.DX.Direct3D11.DeviceChild.Device">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.Device.html#C1_Util_DX_Direct3D11_DeviceChild_Device">Device</a>
        </td>
        <td class="markdown level1 summary"><p>GetDevice</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_Direct3D11_DeviceChild_Dispose_System_Boolean_" data-uid="C1.Util.DX.Direct3D11.DeviceChild.Dispose(System.Boolean)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.Dispose.html#C1_Util_DX_Direct3D11_DeviceChild_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_DeviceChild_GetDevice_C1_Util_DX_Direct3D11_Device__" data-uid="C1.Util.DX.Direct3D11.DeviceChild.GetDevice(C1.Util.DX.Direct3D11.Device@)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.GetDevice.html#C1_Util_DX_Direct3D11_DeviceChild_GetDevice_C1_Util_DX_Direct3D11_Device__">GetDevice(out Device)</a>
        </td>
        <td class="markdown level1 summary"><p>void ID3D11DeviceChild::GetDevice([Out] ID3D11Device** ppDevice)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_DeviceChild_GetPrivateData_System_Guid_System_Int32__System_IntPtr_" data-uid="C1.Util.DX.Direct3D11.DeviceChild.GetPrivateData(System.Guid,System.Int32@,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.GetPrivateData.html#C1_Util_DX_Direct3D11_DeviceChild_GetPrivateData_System_Guid_System_Int32__System_IntPtr_">GetPrivateData(Guid, ref int, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ID3D11DeviceChild::GetPrivateData([In] const GUID&amp; guid,[InOut] unsigned int* pDataSize,[Out, Buffer, Optional] void* pData)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_DeviceChild_NativePointerUpdated_System_IntPtr_" data-uid="C1.Util.DX.Direct3D11.DeviceChild.NativePointerUpdated(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.NativePointerUpdated.html#C1_Util_DX_Direct3D11_DeviceChild_NativePointerUpdated_System_IntPtr_">NativePointerUpdated(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Method called when the <a class="xref" href="C1.Util.DX.CppObject.NativePointer.html#C1_Util_DX_CppObject_NativePointer">NativePointer</a> is updated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_DeviceChild_SetPrivateData_System_Guid_System_Int32_System_IntPtr_" data-uid="C1.Util.DX.Direct3D11.DeviceChild.SetPrivateData(System.Guid,System.Int32,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.SetPrivateData.html#C1_Util_DX_Direct3D11_DeviceChild_SetPrivateData_System_Guid_System_Int32_System_IntPtr_">SetPrivateData(Guid, int, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ID3D11DeviceChild::SetPrivateData([In] const GUID&amp; guid,[In] unsigned int DataSize,[In, Buffer, Optional] const void* pData)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_DeviceChild_SetPrivateDataInterface_System_Guid_C1_Util_DX_ComObject_" data-uid="C1.Util.DX.Direct3D11.DeviceChild.SetPrivateDataInterface(System.Guid,C1.Util.DX.ComObject)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.SetPrivateDataInterface.html#C1_Util_DX_Direct3D11_DeviceChild_SetPrivateDataInterface_System_Guid_C1_Util_DX_ComObject_">SetPrivateDataInterface(Guid, ComObject)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ID3D11DeviceChild::SetPrivateDataInterface([In] const GUID&amp; guid,[In, Optional] const IUnknown* pData)</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_Direct3D11_DeviceChild_op_Explicit_System_IntPtr__C1_Util_DX_Direct3D11_DeviceChild" data-uid="C1.Util.DX.Direct3D11.DeviceChild.op_Explicit(System.IntPtr)~C1.Util.DX.Direct3D11.DeviceChild">
          <a class="xref" href="C1.Util.DX.Direct3D11.DeviceChild.op_Explicit.html#C1_Util_DX_Direct3D11_DeviceChild_op_Explicit_System_IntPtr__C1_Util_DX_Direct3D11_DeviceChild">explicit operator DeviceChild(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.Direct3D11.DeviceChild.html">DeviceChild</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
