title: Windows Get Screen Resolution in C
body: <p>Using plain C, (not C++ / C# / Objective-C) how do I get the screen resolution in Windows?</p>
  
  <p>My compiler is MingW (not sure if relevant). All solutions I have found online are for C++ or some other C variant.</p>