# C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D" class="text-break">ISurfaceImageSourceNativeWithD2D Class
</h1>
  <div class="markdown level0 summary"><p>ISurfaceImageSourceNativeWithD2D</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">ISurfaceImageSourceNativeWithD2D</span></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_ISurfaceImageSourceNativeWithD2D_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;54298223-41e1-4a41-9c08-02e8256864a1&quot;)]
public class ISurfaceImageSourceNativeWithD2D : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;54298223-41e1-4a41-9c08-02e8256864a1&quot;)&gt;
Public Class ISurfaceImageSourceNativeWithD2D
    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_ISurfaceImageSourceNativeWithD2D__ctor_System_IntPtr_" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.-ctor.html#C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D__ctor_System_IntPtr_">ISurfaceImageSourceNativeWithD2D(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.html">ISurfaceImageSourceNativeWithD2D</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_ISurfaceImageSourceNativeWithD2D_BeginDraw_C1_Util_DX_RectL_System_Guid_System_IntPtr__C1_Util_DX_Point2L__" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.BeginDraw(C1.Util.DX.RectL,System.Guid,System.IntPtr@,C1.Util.DX.Point2L@)">
          <a class="xref" href="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.BeginDraw.html#C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_BeginDraw_C1_Util_DX_RectL_System_Guid_System_IntPtr__C1_Util_DX_Point2L__">BeginDraw(RectL, Guid, out IntPtr, out Point2L)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ISurfaceImageSourceNativeWithD2D::BeginDraw([In] const RECT&amp; updateRect,[In] const GUID&amp; iid,[Out] void** updateObject,[Out] POINT* offset)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_EndDraw" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.EndDraw">
          <a class="xref" href="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.EndDraw.html#C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_EndDraw">EndDraw()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ISurfaceImageSourceNativeWithD2D::EndDraw()</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_ResumeDraw" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.ResumeDraw">
          <a class="xref" href="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.ResumeDraw.html#C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_ResumeDraw">ResumeDraw()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ISurfaceImageSourceNativeWithD2D::ResumeDraw()</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_SetDevice_C1_Util_DX_ComObject_" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.SetDevice(C1.Util.DX.ComObject)">
          <a class="xref" href="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.SetDevice.html#C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_SetDevice_C1_Util_DX_ComObject_">SetDevice(ComObject)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ISurfaceImageSourceNativeWithD2D::SetDevice([In] IUnknown* device)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_SuspendDraw" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.SuspendDraw">
          <a class="xref" href="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.SuspendDraw.html#C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_SuspendDraw">SuspendDraw()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ISurfaceImageSourceNativeWithD2D::SuspendDraw()</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_ISurfaceImageSourceNativeWithD2D_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.op_Explicit(System.IntPtr)~C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D">
          <a class="xref" href="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.op_Explicit.html#C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D">explicit operator ISurfaceImageSourceNativeWithD2D(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.ISurfaceImageSourceNativeWithD2D.html">ISurfaceImageSourceNativeWithD2D</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
