title: win32: get current DEVMODE of a monitor
body: <p>How can I get the current resolution in win32? I know I can use <code>GetMonitorInfo</code> to get the current bounding rectangle of the monitor, but how can I also get the bit-depth? Pretty much, how do I get the <code>DEVMODE</code> struct of a given monitor? </p>
  
  <p>I'm using python and pywin32, so solutions addressing those specifically are nice, but just the winapi calls will do.</p>