# C1.Util.Win.Win32.MONITORINFOEX

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_Win_Win32_MONITORINFOEX" data-uid="C1.Util.Win.Win32.MONITORINFOEX" class="text-break">Win32.MONITORINFOEX Struct
</h1>
  <div class="markdown level0 summary"><p>The MONITORINFOEX structure contains information about a display monitor.
The GetMonitorInfo function stores information into a MONITORINFOEX structure or a MONITORINFO structure.
The MONITORINFOEX structure is a superset of the MONITORINFO structure. The MONITORINFOEX structure adds a string member to contain a name
for the display monitor.</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_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Win32.MONITORINFOEX</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Win32.MONITORINFOEX</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_Win_Win32_MONITORINFOEX_Flags" data-uid="C1.Util.Win.Win32.MONITORINFOEX.Flags">
          <a class="xref" href="C1.Util.Win.Win32.MONITORINFOEX.Flags.html">Flags</a>
        </td>
        <td class="markdown level1 summary"><p>The attributes of the display monitor.</p>
<p>This member can be the following value:
1 : MONITORINFOF_PRIMARY</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Win_Win32_MONITORINFOEX_cbSize" data-uid="C1.Util.Win.Win32.MONITORINFOEX.cbSize">
          <a class="xref" href="C1.Util.Win.Win32.MONITORINFOEX.cbSize.html">cbSize</a>
        </td>
        <td class="markdown level1 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>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Win_Win32_MONITORINFOEX_rcMonitor" data-uid="C1.Util.Win.Win32.MONITORINFOEX.rcMonitor">
          <a class="xref" href="C1.Util.Win.Win32.MONITORINFOEX.rcMonitor.html">rcMonitor</a>
        </td>
        <td class="markdown level1 summary"><p>A RECT structure that specifies the display monitor rectangle, expressed in virtual-screen coordinates.
Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Win_Win32_MONITORINFOEX_rcWork" data-uid="C1.Util.Win.Win32.MONITORINFOEX.rcWork">
          <a class="xref" href="C1.Util.Win.Win32.MONITORINFOEX.rcWork.html">rcWork</a>
        </td>
        <td class="markdown level1 summary"><p>A RECT structure that specifies the work area rectangle of the display monitor that can be used by applications,
expressed in virtual-screen coordinates. Windows uses this rectangle to maximize an application on the monitor.
The rest of the area in rcMonitor contains system windows such as the task bar and side bars.
Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_Win_Win32_MONITORINFOEX_szDevice" data-uid="C1.Util.Win.Win32.MONITORINFOEX.szDevice">
          <a class="xref" href="C1.Util.Win.Win32.MONITORINFOEX.szDevice.html">szDevice</a>
        </td>
        <td class="markdown level1 summary"><p>A string that specifies the device name of the monitor being used. Most applications have no use for a display monitor name,
and so can save some bytes by using a MONITORINFO structure.</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_Win_Win32_MONITORINFOEX_Init" data-uid="C1.Util.Win.Win32.MONITORINFOEX.Init">
          <a class="xref" href="C1.Util.Win.Win32.MONITORINFOEX.Init.html#C1_Util_Win_Win32_MONITORINFOEX_Init">Init()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
