# C1.Util.Win.Win32.EnumFontFamiliesEx

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_Win_Win32_EnumFontFamiliesEx_" data-uid="C1.Util.Win.Win32.EnumFontFamiliesEx*">EnumFontFamiliesEx Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_Win_Win32_EnumFontFamiliesEx_" data-uid="C1.Util.Win.Win32.EnumFontFamiliesEx*"></a>
<h4 id="C1_Util_Win_Win32_EnumFontFamiliesEx_System_IntPtr_C1_Util_Win_Win32_LOGFONT_UNMANAGED__C1_Util_Win_Win32_EnumFontExDelegate_System_IntPtr_System_UInt32_" data-uid="C1.Util.Win.Win32.EnumFontFamiliesEx(System.IntPtr,C1.Util.Win.Win32.LOGFONT_UNMANAGED@,C1.Util.Win.Win32.EnumFontExDelegate,System.IntPtr,System.UInt32)">EnumFontFamiliesEx(nint, ref LOGFONT_UNMANAGED, EnumFontExDelegate, nint, uint)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static extern int EnumFontFamiliesEx(nint hdc, ref Win32.LOGFONT_UNMANAGED lpLogfont, Win32.EnumFontExDelegate lpEnumFontFamExProc, nint lParam, uint dwFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function EnumFontFamiliesEx(hdc As IntPtr, ByRef lpLogfont As Win32.LOGFONT_UNMANAGED, lpEnumFontFamExProc As Win32.EnumFontExDelegate, lParam As IntPtr, dwFlags As UInteger) As Integer</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="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">hdc</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.LOGFONT_UNMANAGED.html">LOGFONT_UNMANAGED</a></td>
      <td><span class="parametername">lpLogfont</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.EnumFontExDelegate.html">EnumFontExDelegate</a></td>
      <td><span class="parametername">lpEnumFontFamExProc</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">lParam</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
      <td><span class="parametername">dwFlags</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_Win_Win32_EnumFontFamiliesEx_" data-uid="C1.Util.Win.Win32.EnumFontFamiliesEx*"></a>
<h4 id="C1_Util_Win_Win32_EnumFontFamiliesEx_System_IntPtr_C1_Util_Win_Win32_LOGFONT_C1_Util_Win_Win32_EnumFontExDelegate_System_IntPtr_System_UInt32_" data-uid="C1.Util.Win.Win32.EnumFontFamiliesEx(System.IntPtr,C1.Util.Win.Win32.LOGFONT,C1.Util.Win.Win32.EnumFontExDelegate,System.IntPtr,System.UInt32)">EnumFontFamiliesEx(nint, LOGFONT, EnumFontExDelegate, nint, uint)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static extern int EnumFontFamiliesEx(nint hdc, Win32.LOGFONT lpLogfont, Win32.EnumFontExDelegate lpEnumFontFamExProc, nint lParam, uint dwFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function EnumFontFamiliesEx(hdc As IntPtr, lpLogfont As Win32.LOGFONT, lpEnumFontFamExProc As Win32.EnumFontExDelegate, lParam As IntPtr, dwFlags As UInteger) As Integer</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="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">hdc</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.LOGFONT.html">LOGFONT</a></td>
      <td><span class="parametername">lpLogfont</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.EnumFontExDelegate.html">EnumFontExDelegate</a></td>
      <td><span class="parametername">lpEnumFontFamExProc</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">lParam</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
      <td><span class="parametername">dwFlags</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_Win_Win32_EnumFontFamiliesEx_" data-uid="C1.Util.Win.Win32.EnumFontFamiliesEx*"></a>
<h4 id="C1_Util_Win_Win32_EnumFontFamiliesEx_System_IntPtr_System_IntPtr_C1_Util_Win_Win32_EnumFontExDelegate_System_IntPtr_System_UInt32_" data-uid="C1.Util.Win.Win32.EnumFontFamiliesEx(System.IntPtr,System.IntPtr,C1.Util.Win.Win32.EnumFontExDelegate,System.IntPtr,System.UInt32)">EnumFontFamiliesEx(nint, nint, EnumFontExDelegate, nint, uint)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static extern int EnumFontFamiliesEx(nint hdc, nint lpLogfont, Win32.EnumFontExDelegate lpEnumFontFamExProc, nint lParam, uint dwFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function EnumFontFamiliesEx(hdc As IntPtr, lpLogfont As IntPtr, lpEnumFontFamExProc As Win32.EnumFontExDelegate, lParam As IntPtr, dwFlags As UInteger) As Integer</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="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">hdc</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">lpLogfont</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.EnumFontExDelegate.html">EnumFontExDelegate</a></td>
      <td><span class="parametername">lpEnumFontFamExProc</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">lParam</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
      <td><span class="parametername">dwFlags</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_Win_Win32_EnumFontFamiliesEx_" data-uid="C1.Util.Win.Win32.EnumFontFamiliesEx*"></a>
<h4 id="C1_Util_Win_Win32_EnumFontFamiliesEx_System_IntPtr_C1_Util_Win_Win32_LOGFONT_C1_Util_Win_Win32_EnumFontExDelegate2_System_IntPtr_System_UInt32_" data-uid="C1.Util.Win.Win32.EnumFontFamiliesEx(System.IntPtr,C1.Util.Win.Win32.LOGFONT,C1.Util.Win.Win32.EnumFontExDelegate2,System.IntPtr,System.UInt32)">EnumFontFamiliesEx(nint, LOGFONT, EnumFontExDelegate2, nint, uint)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static extern int EnumFontFamiliesEx(nint hdc, Win32.LOGFONT lpLogfont, Win32.EnumFontExDelegate2 lpEnumFontFamExProc, nint lParam, uint dwFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function EnumFontFamiliesEx(hdc As IntPtr, lpLogfont As Win32.LOGFONT, lpEnumFontFamExProc As Win32.EnumFontExDelegate2, lParam As IntPtr, dwFlags As UInteger) As Integer</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="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">hdc</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.LOGFONT.html">LOGFONT</a></td>
      <td><span class="parametername">lpLogfont</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.EnumFontExDelegate2.html">EnumFontExDelegate2</a></td>
      <td><span class="parametername">lpEnumFontFamExProc</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">lParam</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
      <td><span class="parametername">dwFlags</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
