# C1.Util.Win.Win32.MONITORINFOEX.cbSize

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Util_Win_Win32_MONITORINFOEX_cbSize" data-uid="C1.Util.Win.Win32.MONITORINFOEX.cbSize" class="text-break">cbSize Field
</h1>
<div class="markdown level0 summary"><p>The size, in bytes, of the structure. Set this member to sizeof(MONITORINFOEX) (72) before calling the GetMonitorInfo function.
Doing so lets the function determine the type of structure you are passing to it.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.Win.html">C1.Util.Win</a></h6>
<h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
<h5 id="C1_Util_Win_Win32_MONITORINFOEX_cbSize_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int cbSize</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public cbSize As Integer</code></pre>
</div>
<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>The size, in bytes, of the structure. Set this member to sizeof(MONITORINFOEX) (72) before calling the GetMonitorInfo function. Doing so lets the function determine the type of structure you are passing to it.</td>
    </tr>
  </tbody>
</table>
</div>
