title: How to detect Windows 10 light/dark mode in Win32 application?
body: <p>A bit of context: <a href="https://sciter.com" rel="noreferrer">Sciter</a> (pure win32 application) is already capable to render UWP alike UIs:</p>
  
  <p>in dark mode:
  <a href="https://i.stack.imgur.com/mXJ6w.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/mXJ6w.jpg" alt="in dark mode"></a></p>
  
  <p>in light mode:
  <a href="https://i.stack.imgur.com/wNJi6.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/wNJi6.jpg" alt="in light mode"></a></p>
  
  <p>Windows 10.1803 introduces Dark/Light switch in Settings applet <a href="https://www.digitaltrends.com/computing/how-to-enable-dark-mode-in-windows-10/" rel="noreferrer">as seen here for example</a>.</p>
  
  <p>Question: how do I determine current type of that "app mode" in Win32 application? </p>