title: How to detect the current screen resolution?
body: <p>How do I from Winapi (in C or C++) detect the current screen resolution?</p>
  
  <p>Some background:</p>
  
  <p>I want to start a new OpenGL fullscreen window, but want it open with the same horizontal and vertical size which the desktop already is set to. (Now when everyone uses LCD screens, I figured this is the best way to get the native resolution of the screen.)</p>
  
  <p>I don't desperately need to also know the desktop color depth, although that would be a nice bonus.</p>