title: C++ - is display off?
body: <p>I'm trying to figure out whether the display is off. Just to clarify what I mean by <em>display is off</em>; windows has the <em>Turn off the display</em> options in the power options.</p>
  
  <p>I've looked at <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms646360(v=vs.85).aspx" rel="nofollow">this MSDN page</a>, and noticed <code>SC_MONITORPOWER</code> parameter which "<em>Sets the state of the display</em> ". Is there any way to get the state of the display?</p>
  
  <h2>Notes</h2>
  
  <p>I need to support all windows version >= <code>XP</code></p>