# C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.BeginDraw

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_BeginDraw_" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.BeginDraw*">BeginDraw Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DXGI_ISurfaceImageSourceNativeWithD2D_BeginDraw_" data-uid="C1.Util.DX.DXGI.ISurfaceImageSourceNativeWithD2D.BeginDraw*"></a>
<h4 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@)">BeginDraw(RectL, Guid, out IntPtr, out Point2L)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void BeginDraw(RectL updateRect, Guid iid, out IntPtr updateObject, out Point2L offset)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub BeginDraw(updateRect As RectL, iid As Guid, ByRef updateObject As IntPtr, ByRef offset As Point2L)</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.RectL.html">RectL</a></td>
      <td><span class="parametername">updateRect</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></td>
      <td><span class="parametername">iid</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a></td>
      <td><span class="parametername">updateObject</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Point2L.html">Point2L</a></td>
      <td><span class="parametername">offset</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
