title: Is there an inverse function of SetProcessDPIAware with support for Windows 7? Or how to return to what was?
body: <p>I use the <code>SetProcessDPIAware()</code> function from <code>user32.dll</code> in my WinForms application. After calling <code>SetProcessDPIAware()</code>, I need to return to the previous DPI awareness for the process.</p>
  
  <p>I read the article <a href="https://msdn.microsoft.com/ru-ru/C9488338-D863-45DF-B5CB-7ED9B869A5E2" rel="nofollow noreferrer">Setting the default DPI awareness for a process</a>. <code>SetProcessDpiAwareness()</code> and <code>SetProcessDpiAwarenessContext()</code> do not work with Windows 7 or Windows Vista.</p>
  
  <p>How do I return to the previous DPI awareness for a process after calling of <code>SetProcessDPIAware()</code> for it?</p>