# C1.Util.DX.DXGI.KeyedMutex

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DXGI_KeyedMutex" data-uid="C1.Util.DX.DXGI.KeyedMutex" class="text-break">KeyedMutex Class
</h1>
  <div class="markdown level0 summary"><p>IDXGIKeyedMutex</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"><a class="xref" href="C1.Util.DX.DXGI.DeviceChild.html">DeviceChild</a></div>
    <div class="level6"><span class="xref">KeyedMutex</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.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_DXGI_KeyedMutex_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;9d8e1289-d7b3-465f-8126-250e349af85d&quot;)]
public class KeyedMutex : DeviceChild, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;9d8e1289-d7b3-465f-8126-250e349af85d&quot;)&gt;
Public Class KeyedMutex
    Inherits DeviceChild
    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_KeyedMutex__ctor_System_IntPtr_" data-uid="C1.Util.DX.DXGI.KeyedMutex.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DXGI.KeyedMutex.-ctor.html#C1_Util_DX_DXGI_KeyedMutex__ctor_System_IntPtr_">KeyedMutex(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DXGI.KeyedMutex.html">KeyedMutex</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_KeyedMutex_Acquire_System_Int64_System_Int32_" data-uid="C1.Util.DX.DXGI.KeyedMutex.Acquire(System.Int64,System.Int32)">
          <a class="xref" href="C1.Util.DX.DXGI.KeyedMutex.Acquire.html#C1_Util_DX_DXGI_KeyedMutex_Acquire_System_Int64_System_Int32_">Acquire(long, int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIKeyedMutex::AcquireSync([In] unsigned longlong Key,[In] unsigned int dwMilliseconds)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_KeyedMutex_Release_System_Int64_" data-uid="C1.Util.DX.DXGI.KeyedMutex.Release(System.Int64)">
          <a class="xref" href="C1.Util.DX.DXGI.KeyedMutex.Release.html#C1_Util_DX_DXGI_KeyedMutex_Release_System_Int64_">Release(long)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGIKeyedMutex::ReleaseSync([In] unsigned longlong Key)</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_KeyedMutex_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_KeyedMutex" data-uid="C1.Util.DX.DXGI.KeyedMutex.op_Explicit(System.IntPtr)~C1.Util.DX.DXGI.KeyedMutex">
          <a class="xref" href="C1.Util.DX.DXGI.KeyedMutex.op_Explicit.html#C1_Util_DX_DXGI_KeyedMutex_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_KeyedMutex">explicit operator KeyedMutex(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.KeyedMutex.html">KeyedMutex</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
